Compare page without compare button

  • Posts: 31
  • Thank you received: 1
11 years 6 months ago #142100

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...


Attachments:

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

  • Posts: 84243
  • Thank you received: 13689
  • MODERATOR
11 years 6 months ago #142116

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.

  • Posts: 31
  • Thank you received: 1
11 years 6 months ago #143181

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.

  • Posts: 84243
  • Thank you received: 13689
  • MODERATOR
11 years 6 months ago #143234

You need to turn off the "Activate compare mode" option of the configuration.

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

  • Posts: 31
  • Thank you received: 1
11 years 6 months ago #143251

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.

  • Posts: 84243
  • Thank you received: 13689
  • MODERATOR
11 years 6 months ago #143275

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.

  • Posts: 31
  • Thank you received: 1
11 years 6 months ago #143432

Perfect!

Thank you,
Tiffany

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

Time to create page: 0.062 seconds
Powered by Kunena Forum