Skip to main content

Compare page without compare button

More
12 years 8 months ago #142100 by dannec
Can we have a comparison page without having a compare button on each product in the store? I am unable to find the code in the files...


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

More
12 years 8 months ago #142116 by nicolas
Yes. Create a new menu item of the type "comparison page" and in the options of the menu, select the products you want for the comparison page.
Then, when you click on the menu item, you'll get directly to the comparison page of these products.

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

More
12 years 7 months ago #143181 by dannec
That is what I have done. I have a link in the menu that directs the customer to a comparison page with 4 versions of our product. Where I am lost is how to remove the boxes from the store items. I am sure I am just missing something...

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

More
12 years 7 months ago #143234 by nicolas
You need to turn off the "Activate compare mode" option of the configuration.

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

More
12 years 7 months ago #143251 by dannec
When I set Activate compare mode to no... I then get a Message-Product not found on the page when the menu item is selected.

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

More
12 years 7 months ago #143275 by nicolas
That's not normal.

Change the line:
if(empty($this->elements) || !$this->params->get('show_compare')){
to:
if(empty($this->elements)){

in the file "compare" of the view "product" via the menu display>views and that should fix that.

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

More
12 years 7 months ago #143432 by dannec
Perfect!

Thank you,
Tiffany

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

Time to create page: 0.184 seconds
Powered by Kunena Forum