- Posts: 43
- Thank you received: 3
Compare mode
14 years 9 months ago #36753
by uteco
Compare mode was created by uteco
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
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.
14 years 9 months ago #36841
by nicolas
Replied by nicolas on topic Re: Compare mode
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.
14 years 9 months ago #37089
by uteco
Replied by uteco on topic Re: Compare mode
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.
14 years 9 months ago #37095
by nicolas
Replied by nicolas on topic Re: Compare mode
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.
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.
11 years 6 months ago - 11 years 6 months ago #200723
by uteco
Replied by uteco on topic Re: Compare mode
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!
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. Reason: completing thought
Please Log in or Create an account to join the conversation.
11 years 6 months ago #200728
by nicolas
Replied by nicolas on topic Re: Compare mode
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:
Then in each category you'll have that comparison option that you can turn off to deactivate the comparison feature for that category.
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:
Code:
<?php if(@$this->element->comparison=='no') $this->params->set('show_compare',0); ?>
Please Log in or Create an account to join the conversation.
Time to create page: 0.050 seconds