Skip to main content

How to change add to cart name to donation

10 years 1 month ago #252497 by yulistud
-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.6.23

Hello,
How to change from "Add to cart" to "Donate" button text ONLY in donation category?

Thanks in advanced!

Please Log in or Create an account to join the conversation.

10 years 1 month ago #252498 by Jerome
Hi,

There is a recent thread in the same subject, but that thread is in French :
www.hikashop.com/forum/product-category-...e-selon-produit.html

The goal is to perform an override for the view "product / quantity" to change the used translation.
Because in that view you have access to the product (and his data), you can use a product custom field or check the product's categories to determine which translation you will use for the add to cart button.

www.hikashop.com/support/documentation/1...ize-the-display.html

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: yulistud

Please Log in or Create an account to join the conversation.

10 years 1 month ago #252560 by yulistud
Thank you!!!
That's what I was looking for :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.056 seconds
Powered by Kunena Forum