Lenght + width + Conditional variants

  • Posts: 9
  • Thank you received: 0
5 years 4 months ago #301641

-- HikaShop version -- : 4.0.1
-- Joomla version -- : 3.9.1

Hi

Is it possible this scenario:

I want to sell custom banners where users can set the width and lenght.
But if user wants we can create the layout of the banner. This services will cost 10

So we have:

Product price: Lenght x Width x Price x quantity
Layout (optional): +10

My problem::

I tested with direct variants and options way. But in both the layout creation price is added [ Lenght x Width x (Price + 10) x quantity ]

Lenght: 10
Width: 5
Price: 0.0042
Quantity: 100
Sub total: 21
Layout: +10
Finnal price: 31

Im getting

Lenght: 10
Width: 5
Price: 0.0042
Quantity: 100
Sub total: 21
Layout: +10 x 100 (quantity)
Finnal price: 1021

What can i do?
Thanks in advance

Kazuo

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

  • Posts: 81633
  • Thank you received: 13085
  • MODERATOR
5 years 4 months ago #301646

Hi,

Well, it's normal that the quantity is taken into account for the options.
For example on that page: demo.hikashop.com/index.php/en/hikashop/...ct-page/with-options
If you order two computers, it's normal that the options are counted twice.

What I would recommend is to check the quantity input method setting of the product to not have it, and then instead create a characteristic with values the customer will be able to choose from for his product. Then, in the product, you can select that characteristic, and under the variants tab, you can add the different quantities as variants and enter the price for each variant.
That way you will have (Length x Width x Price of the selected quantityb) + 10

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

Time to create page: 0.056 seconds
Powered by Kunena Forum