Compare between two category product's

  • Posts: 120
  • Thank you received: 2
11 years 4 months ago #153508

Hi dear
how can Compare between products of two or more category?
now only Compare at one category.
thank you

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

  • Posts: 12953
  • Thank you received: 1778
11 years 4 months ago #153513

Hello,
The solution will probably be to also display the products of other categories.

The following user(s) said Thank You: kaya

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

  • Posts: 120
  • Thank you received: 2
11 years 4 months ago #153608

Thank you
How can do it? and display the products of other categories?

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

  • Posts: 84295
  • Thank you received: 13694
  • MODERATOR
11 years 4 months ago #153621

Hi,

Mohamed means that you would have to display a listing of all the products in that case, like the menu item "Products listing" which is setup by default when you install HikaShop for the first time.

The following user(s) said Thank You: kaya

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

  • Posts: 120
  • Thank you received: 2
11 years 4 months ago #153709

Thank you dear nicolas
I can do it and create Compare between all category.
but now i have a problem when show all products use pagination and we can't Compare a product from page 1 with a product from page 2. we have many product and can't show all in one page.
now how can fixing the Problem? or it's possible create module such as cart module and add for example 3 product to it and Compare them?
thank you

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

  • Posts: 84295
  • Thank you received: 13694
  • MODERATOR
11 years 4 months ago #153714

Hi,

There is no system to compare the products from different pages of the pagination.
There is already the possibility to have a module like a cart module to add products from different places to it and then compare the products in it.
In order to do that, you can use the Wishlist feature. If you turn on the "Display compare button in wishlist display" option of the configuration, you'll have a button to be able to compare all the products in the wishlist on the wishlist page that you can access from the button of the HikaShop Wishlist module. And there is also an option to add a "add to wishlist" button on your products details/listing pages in the Wishlist section of the configuration.

The following user(s) said Thank You: kaya

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

  • Posts: 120
  • Thank you received: 2
11 years 4 months ago #154567

Hi dear nicolas thank you
now I have a problem. I have two categories and subcategories thereof for example book category with it's subcategories and car category with it's subcategories. now my products in subcategories and when we add product in to wishlist for example one product from book subcategories add in wishlist and another product add from car subcategories in to wishlist.
now a user when compare and select products from wishlist select a book product and select a car product when redirect to compare page i want echo a message The product you have selected is not a set from a category. and return page.
now how can do it? which method i can do it and check products category before compare ?
I want compare only between car subcategories or book subcategories.
thank you

Last edit: 11 years 4 months ago by kaya.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 3 months ago #156576

Hi,

You can potentially edit the view "product / compare" and add some php code to check the product categories, and if they are not in the same category display a system message, and then redirect to the previous page for example.

It require PHP knowledges.

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

Time to create page: 0.087 seconds
Powered by Kunena Forum