Question regarding variants and options

  • Posts: 38
  • Thank you received: 1
5 years 4 months ago #301416

Hello,

I was curious to know if the following scenario is possible with HikaShop.

I plan to setup an e-commerce website for a "2 for 1 Pizza restaurant", as such when visitors are on the product page they will in almost all cases have 2 pizza's which they can modify, meaning the visitors have the possibility to add/remove options and variants to 2 products (2 pizzas) at the same time.

is the following scenario possible?

Pizza product page:

-PizzaA
--Option1 mushroom 2.99
--Option2 cheese 3.99
--Option3 pepperoni 4.99

-PizzaB
--Option1 mushroom 2.99
--Option2 cheese 3.99
--Option3 pepperoni 4.99

When the user selects an option from PizzaA and PizzaB only the most expensive option is calculated. So if the user selects PizzaA Option1 2.99 and PizzaB Option3 4.99 then the cart show's 4.99 in total (ajax calculated live). Ideally the options will be checkmarks (i.e. Pepperoni, mushrooms, cheese, etc..)

Is this possible with Hikashop?

Last edit: 5 years 4 months ago by Saren_p.

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

  • Posts: 81509
  • Thank you received: 13064
  • MODERATOR
5 years 4 months ago #301427

Hi,

There is no option to do exactly that without any coding.
Options can allow you to have dropdowns which can add or remove value to the main product price (and it is applied dynamically in ajax too). However, each option is independent from the others:
www.hikashop.com/support/documentation/i...ct-form.html#options
demo.hikashop.com/index.php/en/hikashop/...ct-page/with-options
That's however the closest to what you're describing.

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

  • Posts: 38
  • Thank you received: 1
5 years 4 months ago #301445

Thank you, nicolas.

Would Variants be a more suitable design choice instead of Options? Are Variants ajax calculated as well?

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

  • Posts: 81509
  • Thank you received: 13064
  • MODERATOR
5 years 4 months ago #301460

Hi,

Ah yes, that's a good idea. Variants would allow you to set the price for each combination of choices.
And the price would be refreshed dynamically too when you change the selection so it's really a good match. I had forgot about it when thinking about your problem.

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

  • Posts: 38
  • Thank you received: 1
5 years 4 months ago #301507

I guess what I want to know is, even with the use of Variants (instead of Options) can Hikashop automatically calculate the most expensive of the 2 products? Or does that also require a level of coding?

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

  • Posts: 81509
  • Thank you received: 13064
  • MODERATOR
5 years 4 months ago #301532

Hi,

There is no calculation involved.
With variants, you'll be able to enter the price for each combination of choices in the backend. So based on what you select in the characteristics, it will select a specific variant and the system will just display the corresponding price.
For example on our demo website:
demo.hikashop.com/index.php/en/hikashop/...with-characteristics
You can see that we set the price for each combination in the backend:
monosnap.com/file/ojwkDEZzzKKeSdhjJWEILj5FayI6qh
And so when you change the size/color, it just picks the price of the corresponding combination.
So using that system, no code will be required.

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

Time to create page: 0.135 seconds
Powered by Kunena Forum