How can change compare products button
8 years 9 months ago - 8 years 9 months ago #287217
by kaya
How can change compare products button was created by kaya
-- HikaShop version -- : 3.2.2
-- Joomla version -- : 3.8.x
Hi Dear
When user add an product in compare list then display compare products button top of the product list page and when user scroll bottom of page can not see compare products button and it's not user friendly because when user select an product top of page and scroll down and select another product can not see compare button or any notification now I want display compare products button in the fix position and display name and image of product in a box and user always see selected product in compare list.
How can do it?
Thank you
-- Joomla version -- : 3.8.x
Hi Dear
When user add an product in compare list then display compare products button top of the product list page and when user scroll bottom of page can not see compare products button and it's not user friendly because when user select an product top of page and scroll down and select another product can not see compare button or any notification now I want display compare products button in the fix position and display name and image of product in a box and user always see selected product in compare list.
How can do it?
Thank you
Last edit: 8 years 9 months ago by kaya.
Please Log in or Create an account to join the conversation.
8 years 9 months ago - 8 years 9 months ago #287221
by kaya
Replied by kaya on topic How can change compare products button
we can do it with modify addToCompare function in hikashop.js file.
Last edit: 8 years 9 months ago by kaya.
Please Log in or Create an account to join the conversation.
8 years 9 months ago #287244
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic How can change compare products button
Hello,
Please note that "hikashop.js" is one HikaShop core file.
So that file will be update/restore by the next update.
If you want to override a JS function, you can still use an extra JS file which will be re-define the function with your customized content.
Regards,
Please note that "hikashop.js" is one HikaShop core file.
So that file will be update/restore by the next update.
If you want to override a JS function, you can still use an extra JS file which will be re-define the function with your customized content.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Time to create page: 0.045 seconds