[Skip to main content](#vessel-content)

#   How can change compare products button

##

- **[kaya](/forum/user/25605-kaya "View kaya's Profile")**
- [![kaya's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/vacation.jpg)](/forum/user/25605-kaya "View kaya's Profile") Topic Author
- [ Offline](/forum/user/25605-kaya)

Less More

- Posts: 120
- Thank you received: 2
-
-
- [](http://arasjoomla.ir)
-

8 years 9 months ago -  8 years 9 months ago [\#287217](#287217) by [kaya](/forum/user/25605-kaya "View kaya's Profile")  *[How can change compare products button](/forum/26-product-category-display/893691-how-can-change-compare-products-button#287217 "-- 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")* was created by *[kaya](/forum/user/25605-kaya "View kaya's Profile")*

-- 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

Last edit: 8 years 9 months ago by [kaya](/forum/user/25605-kaya "View kaya's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTM2OTEtaG93LWNhbi1jaGFuZ2UtY29tcGFyZS1wcm9kdWN0cy1idXR0b24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[kaya](/forum/user/25605-kaya "View kaya's Profile")**
- [![kaya's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/vacation.jpg)](/forum/user/25605-kaya "View kaya's Profile") Topic Author
- [ Offline](/forum/user/25605-kaya)

Less More

- Posts: 120
- Thank you received: 2
-
-
- [](http://arasjoomla.ir)
-

8 years 9 months ago -  8 years 9 months ago [\#287221](#287221) by [kaya](/forum/user/25605-kaya "View kaya's Profile")  Replied by *[kaya](/forum/user/25605-kaya "View kaya's Profile")* on topic *[How can change compare products button](/forum/26-product-category-display/893691-how-can-change-compare-products-button#287221 "-- 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")*

we can do it with modify addToCompare function in hikashop.js file. ![:)](/media/kunena/emoticons/3.png ":)")

Last edit: 8 years 9 months ago by [kaya](/forum/user/25605-kaya "View kaya's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTM2OTEtaG93LWNhbi1jaGFuZ2UtY29tcGFyZS1wcm9kdWN0cy1idXR0b24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

8 years 9 months ago [\#287244](#287244) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How can change compare products button](/forum/26-product-category-display/893691-how-can-change-compare-products-button#287244 "-- 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")*

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,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTM2OTEtaG93LWNhbi1jaGFuZ2UtY29tcGFyZS1wcm9kdWN0cy1idXR0b24/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.061 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
