How to Display Two Products on One Page?

  • Posts: 6
  • Thank you received: 1
  • Hikashop Business
1 year 5 months ago #352810

-- HikaShop version -- : 4.7.4
-- Joomla version -- : 4.3.2
-- PHP version -- : 8.0

The website I'm building will sell custom-made footbeds (insoles).

I'm looking at the best options for displaying the products. While the products are grouped by type of footbed, since this is a custom order product, an office would order the same set of footbeds in left and right. The client wants both left and right to appear on the product listing at the same time.

Each (left, right) has a separate set of parameters for fit, and will need to be filled out separately and independently.

How do I make BOTH left and right products appear on the same page? The first thing that comes to mind is via modules for left and right. Both left and right footbeds have individual parameters (characteristics in some cases, options in others). If that's possible, how do I link to it and have both left/right products for the same footbed appear?

I mocked up what my goal for display would be. This does not include product photos/proper headings, etc. I'm open to suggestions for any way I can possibly display this information. It seems to me it would be much easier to have ONE product page for ONE set of footbeds (both left and right) and be able to separate the options/characteristics into left and right.

Attachments:

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

  • Posts: 83007
  • Thank you received: 13400
  • MODERATOR
1 year 5 months ago #352820

Hi,

I don't see a way to do exactly that without heavy development work (like at least 1 or 2 weeks of full time work if I were to do it).
The problem is that that characteristics / options system has been made for the product page, and it supposes there is only one product on the page. So the charactersitics / options system of each product would conflict if they were just taken from the product page and slapped on the listing. Plus, the data necessary to make them work is not loaded on the products listing page.
So it would require some development work to load the necessary data ( 400 lines of code ) and rewriting the javascript of both systems to work on the listing ( 800 lines of code). For reference, a good coder will write something like 100 lines of code in a day.

So, what that means is that have to the exact result you're talking about in your message is not possible at a reasonnable cost.
So I can offer 2 alternatives:
- I already talked about having custom item fields for your selectors: www.hikashop.com/forum/product-category-...on-product-page.html
If you use only custom item fields (with the price calculation plugin to calculate the price dynamically), and thus no characteristics and no options, you will be able to achieve something that looks exactly like you want since custom item fields can be displayed directly on listings.
- If you want to keep using options / characteristics, and since they can't be displayed directly on the listing, we've made a "popup mode" setting in the "products options" tab of products listing menu items. If activated, the "choose options" button will open the product details page inside a popup (without the template around it of course) so that charactersitics / options selection and the add to cart can happen in the popup.

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

  • Posts: 6
  • Thank you received: 1
  • Hikashop Business
1 year 5 months ago #352863

Thank you so much for your answer -- and I was afraid this would be the case. While I'm considering the popup option, can you tell me if there's a way to simply prompt the user to fill out the second footbed information on a second page? That might be a more feasible workaround that I can tell my client.

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

  • Posts: 83007
  • Thank you received: 13400
  • MODERATOR
1 year 5 months ago #352867

Hi,

Well, you could always have a button to access another product page using a custom product field. But I feel it will be hard for the user to figure it out.
A better solution would be to make a copy of the cart notification plugin in HikaShop so that after and add to cart, it would display a popup message with either:
- for the first product a button to access the second product page, and a button to access the checkout
- for the second product a button to access the checkout
I think that would require only a few hours of development work.

The following user(s) said Thank You: lkhightower

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

Time to create page: 0.063 seconds
Powered by Kunena Forum