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

#   Button "Compare product" doesn't show "Do not compare product" when click it

##

- **[anna3xara](/forum/user/40103-anna3xara "View anna3xara's Profile")**
- [![anna3xara's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/40103-anna3xara "View anna3xara's Profile") Topic Author
- [ Offline](/forum/user/40103-anna3xara)

Less More

- Posts: 13
- Thank you received: 0
-
-

9 years 1 month ago -  9 years 1 month ago [\#280441](#280441) by [anna3xara](/forum/user/40103-anna3xara "View anna3xara's Profile")  *[Button "Compare product" doesn't show "Do not compare product" when click it](/forum/45-filters-search/892362-button-compare-product-doesnt-show-do-not-compare-product-when-click-it#280441 "-- HikaShop version -- : 3.2.0 business -- Joomla version -- : 3.8.1 -- PHP version -- : 7.0.24 -- Browser(s) name and version -- : chrome 61.0.3163.100  Hello,  When you click a product on product list to compare, not change the button to &quot;Do not compare product&quot; to remove it from compare list. It stays all the time with &quot;Compare product&quot;, as you can see in the image  I use the default listing&#95;img&#95;title.php.  Can you help me plz?  Thank you")* was created by *[anna3xara](/forum/user/40103-anna3xara "View anna3xara's Profile")*

[ ![button-compare-with-click.jpg](/forum/attachment/40873) ](/forum/attachment/40873 "...with-click.jpg")

-- HikaShop version -- : 3.2.0 business
-- Joomla version -- : 3.8.1
-- PHP version -- : 7.0.24
-- Browser(s) name and version -- : chrome 61.0.3163.100

Hello,

When you click a product on product list to compare, **not** change the button to "**Do not compare product**" to remove it from compare list.
It stays all the time with "Compare product", as you can see in the image

I use the default listing_img_title.php.

Can you help me plz?

Thank you

- [ ![button-compare-with-click.jpg](/forum/attachment/40873) ](/forum/attachment/40873 "...with-click.jpg") [ ](/forum/attachment/40873?download=1 "...with-click.jpg")

Last edit: 9 years 1 month ago by [anna3xara](/forum/user/40103-anna3xara "View anna3xara's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5MjM2Mi1idXR0b24tY29tcGFyZS1wcm9kdWN0LWRvZXNudC1zaG93LWRvLW5vdC1jb21wYXJlLXByb2R1Y3Qtd2hlbi1jbGljay1pdD90bXBsPW1hcmtkb3du) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 1 month ago [\#280493](#280493) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Button "Compare product" doesn't show "Do not compare product" when click it](/forum/45-filters-search/892362-button-compare-product-doesnt-show-do-not-compare-product-when-click-it#280493 "-- HikaShop version -- : 3.2.0 business -- Joomla version -- : 3.8.1 -- PHP version -- : 7.0.24 -- Browser(s) name and version -- : chrome 61.0.3163.100  Hello,  When you click a product on product list to compare, not change the button to &quot;Do not compare product&quot; to remove it from compare list. It stays all the time with &quot;Compare product&quot;, as you can see in the image  I use the default listing&#95;img&#95;title.php.  Can you help me plz?  Thank you")*

Hello,

I'm afraid that I don't understand what you're talking about.
In your screenshot we can see that one button has been selected ; the display is similar to a checkbox but instead of having a checkbox, the button is highlight to indicate the selection. So I don't see any problem or issue with that.
Please clarify.

Regards,

---

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

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

- **[anna3xara](/forum/user/40103-anna3xara "View anna3xara's Profile")**
- [![anna3xara's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/40103-anna3xara "View anna3xara's Profile") Topic Author
- [ Offline](/forum/user/40103-anna3xara)

Less More

- Posts: 13
- Thank you received: 0
-
-

9 years 1 month ago [\#280506](#280506) by [anna3xara](/forum/user/40103-anna3xara "View anna3xara's Profile")  Replied by *[anna3xara](/forum/user/40103-anna3xara "View anna3xara's Profile")* on topic *[Button "Compare product" doesn't show "Do not compare product" when click it](/forum/45-filters-search/892362-button-compare-product-doesnt-show-do-not-compare-product-when-click-it#280506 "-- HikaShop version -- : 3.2.0 business -- Joomla version -- : 3.8.1 -- PHP version -- : 7.0.24 -- Browser(s) name and version -- : chrome 61.0.3163.100  Hello,  When you click a product on product list to compare, not change the button to &quot;Do not compare product&quot; to remove it from compare list. It stays all the time with &quot;Compare product&quot;, as you can see in the image  I use the default listing&#95;img&#95;title.php.  Can you help me plz?  Thank you")*

Hi Jerome,

The button that is highlight is only **the LAST button** has been selected, i have been selected another one product but **you cant see it**, because
didn't change the **COMPARE** with **DO NOT COMPARE PRODUCT** like as it should.

Look the image 2, the buttons works well and you can see how many buttons have beeen selected.
[ ![image2-buttons-work-well.jpg](/forum/attachment/40891) ](/forum/attachment/40891 "...-work-well.jpg")

- [ ![image2-buttons-work-well.jpg](/forum/attachment/40891) ](/forum/attachment/40891 "...-work-well.jpg") [ ](/forum/attachment/40891?download=1 "...-work-well.jpg")

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

9 years 1 month ago [\#280513](#280513) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Button "Compare product" doesn't show "Do not compare product" when click it](/forum/45-filters-search/892362-button-compare-product-doesnt-show-do-not-compare-product-when-click-it#280513 "-- HikaShop version -- : 3.2.0 business -- Joomla version -- : 3.8.1 -- PHP version -- : 7.0.24 -- Browser(s) name and version -- : chrome 61.0.3163.100  Hello,  When you click a product on product list to compare, not change the button to &quot;Do not compare product&quot; to remove it from compare list. It stays all the time with &quot;Compare product&quot;, as you can see in the image  I use the default listing&#95;img&#95;title.php.  Can you help me plz?  Thank you")*

Hello,

Your issue is probably coming from your template which is overriding the CSS class "hika-compare", the solution will directly be to edit your template CSS code :
[ www.hikashop.com/support/documentation/1...-display.html#layout](https://www.hikashop.com/support/documentation/153-customize-the-display.html#layout)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ1LWZpbHRlcnMtc2VhcmNoLzg5MjM2Mi1idXR0b24tY29tcGFyZS1wcm9kdWN0LWRvZXNudC1zaG93LWRvLW5vdC1jb21wYXJlLXByb2R1Y3Qtd2hlbi1jbGljay1pdD90bXBsPW1hcmtkb3du) 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.070 seconds

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