product options qty + product qty

  • Posts: 50
  • Thank you received: 1
  • Hikashop Business
1 year 6 months ago #345143

-- url of the page with the problem -- : localhost
-- HikaShop version -- : 4.6.1 business
-- Joomla version -- : 4.2.2
-- PHP version -- : 7.4.2.6
-- Browser(s) name and version -- : Chrome

Hi,

I have a product with 5 different price breaks as below.
£ 2.50 per unit for buying at least 50
£ 2.40 per unit for buying at least 100
£ 2.35 per unit for buying at least 200
£ 2.30 per unit for buying at least 500
£ 2.25 per unit for buying at least 1000

and I have added some options also with the same price breaks as above.
£ 0.35 Minimum quantity: 50
£ 0.30 Minimum quantity: 100
£ 0.25 Minimum quantity: 250
£ 0.20 Minimum quantity: 500
£ 0.15 Minimum quantity: 1000

Is there a way to show the options price for the correct qty and Is there a way to show the updated
current price with options and not just the first price point.
I have attached a screen shot showing the incorrect result.

Thanks
Paul Kemp

Attachments:

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

  • Posts: 81379
  • Thank you received: 13037
  • MODERATOR
1 year 6 months ago #345157

Hi,

Indeed, the options system was not meant to support multiple prices by quantity for the options.
There is no easy way to do that. It will require a big overhaul of the javascript code of the option mechanism.
We'll look into adding this so that it can display the correct prices. Thanks for the feedback.

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

  • Posts: 50
  • Thank you received: 1
  • Hikashop Business
1 year 6 months ago #345168

Hi Nicolas,

Thanks for the update and hope that it is something that can be done for future versions.
There is one more question on the same subject.
We want our customers to select an option with a one off payment,
1 - New £30
2 - Repeat £15
3 - Special/free £0.0

Is there a way to add this without it being calculated when the customer enters the qty of products they need. So if the customer wants 100 bears they can then select the one off option.

Thanks
Paul Kemp

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

  • Posts: 81379
  • Thank you received: 13037
  • MODERATOR
1 year 6 months ago #345172

Hi,

You could create a custom field of the table "item" and of the type "single dropdown". As values you would enter the price in the "value" input field and the text you want to appear in the dropdown in the "title" input field.
Then, with the price calculations plugin ( www.hikashop.com/marketplace/product/148...ce-calculations.html ) you could add the formula {xxx}/{quantity} where xxx is the column name of the custom field. That way, the amount added to the unit price of the product will be divided by the quantity of the product in the cart so that when the unit price of the product is mutliplied by the quantity, it will basically always result in the same amount added to the product regardless of the quantity of the product in the cart.

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

Time to create page: 0.061 seconds
Powered by Kunena Forum