Product price, with width and length variants

  • Posts: 88
  • Thank you received: 14
  • Hikashop Business
11 years 2 months ago #163080

-- HikaShop version -- :2.3.1
-- Joomla version -- : 3.3.0
-- PHP version -- : 5.3.28

I'm working on a new store where products are price according to the length and width.
One option would be to use variants, but the width and length combinations are many and the list is very long
I think the best solution would be two fields single dropdown, width and length, and once selected that will select a price. In this case, I tested width 2 custom fields table item single dropdown frontend ok, but i don’t what it is the next step to modify product price. I am installed HikaShopCustom Quantity plugin https://hikashop.com/forum/content-creation/866537-diff-prices-of-several-height-width-combinations.html but when I select dropdown value, price not working.
do not know if this is the best solution or should try other options

Attached a image with a sample table with width, length and price
Thank you
Javier


Javier Ballester
Attachments:

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

  • Posts: 84300
  • Thank you received: 13697
  • MODERATOR
11 years 2 months ago #163131

Hi,

As long as the plugin is installed and enabled, and that your custom item fields are called as explained on that other thread, the system will calculate the price of the product in the cart like that:
price in the cart = price of the product * width * length
So I don't think that it will be a solution either in your case since the price increase doesn't seem to be linear with the width*length.

Options allows you to set a price for each value of each dropdown so that the selected ones add up with the price of the product.
But in your case the price increase is not independent for each dropdown. So I don't think it will work to reproduce this price matrix.

The only option I see here is to use two characteristics and enter the price for each combination.

The following user(s) said Thank You: Jabatec

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

  • Posts: 88
  • Thank you received: 14
  • Hikashop Business
11 years 2 months ago #163299

Hi Nicolas, thank you for your answer

i think that your solution , it would be the best solution
but, I have a problem when i work with 2 dropdown variations and one of the variation don't exist

for example
Variation Dropdown a: 70, 80
Variation Dropdown b: 5, 6 , 7

6 Combinations
70 x 5, x6, x7
80 x 5, x6, x7

and what happen when for example a product with the combination 70 x 7 don't exist ?
dropdown continue working, so user can select this combination,
even if the combination is not published
I have had read in other post that relation, refresh, with 2 dropdows don't exist by excess load on the code.

thank you for your answers
Javier


Javier Ballester
Last edit: 10 years 3 months ago by Jabatec.

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

  • Posts: 84300
  • Thank you received: 13697
  • MODERATOR
11 years 2 months ago #163307

Hi,

When you select a combination which doesn't exists, the system will remove the add to cart button. So you won't be able to purchase a variant which is unpublished.
An alternative is to change the "characteristic display method" option to "list" or "table". In that case, the display won't allow the customer to select a variant which doesn't exist or is unpublished.

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

Time to create page: 0.068 seconds
Powered by Kunena Forum