Incremental Pricing

  • Posts: 10
  • Thank you received: 0
10 years 6 months ago #161022

Hi, could you please explain to me how to have incremental pricing based on quantity.

For example:
If the base price for a Product X is $50, then each additional Product X ordered is $1.
Therefore, if quantity 2 of Product X is purchased, the cart total would be $51.
If the quantity 20 of Product X is purchased, the cart total would be $69.

Thank you!

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

  • Posts: 83041
  • Thank you received: 13405
  • MODERATOR
10 years 6 months ago #161050

Hi,

You would have to setup several unit prices for your product with a minimum quantity for each. Like that:
min qty unit price
1 50
2 25.5
3 17.33333
4 13.25
...etc...

The system will then pick the correct unit price to apply based on the quantity of the product in the cart.

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

  • Posts: 10
  • Thank you received: 0
10 years 6 months ago #161160

Thank you, but unfortunately my products have unlimited quantity, so does that mean I would have to set up each price manually all the way up into the hundreds? What if someone orders 200 quantity, etc?

Is there a more automated way to do this in Options , Varients, or Characteristics?
Really what would work is if I could just add $50 per product ordered , regardless of how many they order
Thanks again

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

  • Posts: 10
  • Thank you received: 0
10 years 6 months ago #161178

In this particular store, EVERY product is $50 for the base price. So perhaps there's a quick line of code I can insert that would add $50 to each instance of a product in the shopping cart?
Then just set the product price at $1.

I do understand that if I change the code, I'll have to do it again after updates. Thank you

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

  • Posts: 83041
  • Thank you received: 13405
  • MODERATOR
10 years 6 months ago #161212

If you need to have custom pricing like that, I think that the best is to develop a small HikaShop plugin implementing the quantity price calculation override (see developer documentation on that) and have your own calculation rules for the product prices. But that requires PHP knowledge). That way, you won't have to change the code after each update.
www.hikashop.com/support/support/documen...r-documentation.html

You can find several example of such price calculation override plugin on our forum. For example:
www.hikashop.com/forum/product-category-...-it-is-possible.html
www.hikashop.com/forum/2-general-talk-ab...w-feature.html#24390

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

Time to create page: 0.038 seconds
Powered by Kunena Forum