Compare mode

  • Posts: 43
  • Thank you received: 3
12 years 10 months ago #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 "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 or Create an account to join the conversation.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
12 years 10 months ago #36841

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 or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 3
12 years 10 months ago #37089

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 or Create an account to join the conversation.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
12 years 10 months ago #37095

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 or Create an account to join the conversation.

  • Posts: 43
  • Thank you received: 3
9 years 6 months ago #200723

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: 9 years 6 months ago by uteco. Reason: completing thought

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

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
9 years 6 months ago #200728

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>Custom fields and then edit the file "listing" of the view "product" for your frontend template via the menu Display>Views and add such line at the beginning:

<?php if(@$this->element->comparison=='no') $this->params->set('show_compare',0); ?>
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 or Create an account to join the conversation.

Time to create page: 0.069 seconds
Powered by Kunena Forum