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

#   Compare mode

##

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

Less More

- Posts: 43
- Thank you received: 3
-
-

14 years 9 months ago [\#36753](#36753) by [uteco](/forum/user/5467-uteco "View uteco's Profile")  *[Compare mode](/forum/4-how-to/36753-compare-mode#36753 "It is normal in a larger shop to have products in a category that CANT be compared by nature. It is ugly to have this option universal and so someone can compare products which have nothing in common in a specificatin manner.  example:  Categories: toys, books, CDs  in catefory toys are: airplanes, remote controlled cars, dolls  you cant compare the specification of a doll and a car  solution: add the posibility to activate &quot;compare&quot; on a category level or even better on a per product level.  if you have for example &quot;printer toners&quot; in a category but only similar to eachother characteristics can be compared like three toners for the same printer but from different manufactures e.g. with maybe different capacities. All other toners can not be compared and should thatfore not have this option active!  thank you")* was created by *[uteco](/forum/user/5467-uteco "View uteco's Profile")*

It is normal in a larger shop to have products in a category that CANT be compared by nature. It is ugly to have this option universal and so someone can compare products which have nothing in common in a specificatin manner.

example:

Categories: toys, books, CDs

in catefory toys are: airplanes, remote controlled cars, dolls

you cant compare the specification of a doll and a car

solution: add the posibility to activate "compare" on a category level or even better on a per product level.

if you have for example "printer toners" in a category but only similar to eachother characteristics can be compared like three toners for the same printer but from different manufactures e.g. with maybe different capacities. All other toners can not be compared and should thatfore not have this option active!

thank you

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86358
- Thank you received: 14293
-
-

14 years 9 months ago [\#36841](#36841) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Compare mode](/forum/4-how-to/36753-compare-mode#36841 "It is normal in a larger shop to have products in a category that CANT be compared by nature. It is ugly to have this option universal and so someone can compare products which have nothing in common in a specificatin manner.  example:  Categories: toys, books, CDs  in catefory toys are: airplanes, remote controlled cars, dolls  you cant compare the specification of a doll and a car  solution: add the posibility to activate &quot;compare&quot; on a category level or even better on a per product level.  if you have for example &quot;printer toners&quot; in a category but only similar to eachother characteristics can be compared like three toners for the same printer but from different manufactures e.g. with maybe different capacities. All other toners can not be compared and should thatfore not have this option active!  thank you")*

If you display your products on normal category based listings you will only see the products in the same categories displayed at the same time. Thus, users won't be able to compare products from different categories.

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

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

Less More

- Posts: 43
- Thank you received: 3
-
-

14 years 9 months ago [\#37089](#37089) by [uteco](/forum/user/5467-uteco "View uteco's Profile")  Replied by *[uteco](/forum/user/5467-uteco "View uteco's Profile")* on topic *[Re: Compare mode](/forum/4-how-to/36753-compare-mode#37089 "It is normal in a larger shop to have products in a category that CANT be compared by nature. It is ugly to have this option universal and so someone can compare products which have nothing in common in a specificatin manner.  example:  Categories: toys, books, CDs  in catefory toys are: airplanes, remote controlled cars, dolls  you cant compare the specification of a doll and a car  solution: add the posibility to activate &quot;compare&quot; on a category level or even better on a per product level.  if you have for example &quot;printer toners&quot; in a category but only similar to eachother characteristics can be compared like three toners for the same printer but from different manufactures e.g. with maybe different capacities. All other toners can not be compared and should thatfore not have this option active!  thank you")*

What I wanted to say is that it is possible that some category does not need/have any compare needs/possibilities. In that case it would look ugly to have the capability to compare some products which will show nothing to compare. The activation of "compare" mode works only for all the shop or not at all. To have data for ALL products is almost impossible! :S

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86358
- Thank you received: 14293
-
-

14 years 9 months ago [\#37095](#37095) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Compare mode](/forum/4-how-to/36753-compare-mode#37095 "It is normal in a larger shop to have products in a category that CANT be compared by nature. It is ugly to have this option universal and so someone can compare products which have nothing in common in a specificatin manner.  example:  Categories: toys, books, CDs  in catefory toys are: airplanes, remote controlled cars, dolls  you cant compare the specification of a doll and a car  solution: add the posibility to activate &quot;compare&quot; on a category level or even better on a per product level.  if you have for example &quot;printer toners&quot; in a category but only similar to eachother characteristics can be compared like three toners for the same printer but from different manufactures e.g. with maybe different capacities. All other toners can not be compared and should thatfore not have this option active!  thank you")*

Indeed it's not possible to select for which category you would like to see it or not.
You would have to do a small modification to the view file of the compare feature and maybe with the help of a custom category field in order to set that up more dynamically.

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

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

Less More

- Posts: 43
- Thank you received: 3
-
-

11 years 6 months ago -  11 years 6 months ago [\#200723](#200723) by [uteco](/forum/user/5467-uteco "View uteco's Profile")  Replied by *[uteco](/forum/user/5467-uteco "View uteco's Profile")* on topic *[Re: Compare mode](/forum/4-how-to/36753-compare-mode#200723 "It is normal in a larger shop to have products in a category that CANT be compared by nature. It is ugly to have this option universal and so someone can compare products which have nothing in common in a specificatin manner.  example:  Categories: toys, books, CDs  in catefory toys are: airplanes, remote controlled cars, dolls  you cant compare the specification of a doll and a car  solution: add the posibility to activate &quot;compare&quot; on a category level or even better on a per product level.  if you have for example &quot;printer toners&quot; in a category but only similar to eachother characteristics can be compared like three toners for the same printer but from different manufactures e.g. with maybe different capacities. All other toners can not be compared and should thatfore not have this option active!  thank you")*

Same problem here, I need some categories with compare feature but others not. Isnt there a way to select it on a category base and not only globally ?
It looks very unprofessional if you have a category of products which have nothing to compare, but the compare button will be there. So if someone clicks on them, it will return only the images with no info, making it look like it is incomplete!

Last edit: 11 years 6 months ago by [uteco](/forum/user/5467-uteco "View uteco's Profile"). Reason: completing thought

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86358
- Thank you received: 14293
-
-

11 years 6 months ago [\#200728](#200728) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Compare mode](/forum/4-how-to/36753-compare-mode#200728 "It is normal in a larger shop to have products in a category that CANT be compared by nature. It is ugly to have this option universal and so someone can compare products which have nothing in common in a specificatin manner.  example:  Categories: toys, books, CDs  in catefory toys are: airplanes, remote controlled cars, dolls  you cant compare the specification of a doll and a car  solution: add the posibility to activate &quot;compare&quot; on a category level or even better on a per product level.  if you have for example &quot;printer toners&quot; in a category but only similar to eachother characteristics can be compared like three toners for the same printer but from different manufactures e.g. with maybe different capacities. All other toners can not be compared and should thatfore not have this option active!  thank you")*

There is no option for that.
But the code to do it should be really easy.
Create a custom field of the table "category" called "comparison" with the values "yes" and "no" via the menu Display&gt;Custom fields and then edit the file "listing" of the view "product" for your frontend template via the menu Display&gt;Views and add such line at the beginning: Code:

&lt;?php if(@$this-&gt;element-&gt;comparison=='no') $this-&gt;params-&gt;set('show_compare',0); ?&gt;

Then in each category you'll have that comparison option that you can turn off to deactivate the comparison feature for that category.

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

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