live price update

multimixer | work | Tuesday October 14 2014

In the default osCommerce configuration, you can see the actual price you have to pay for a product after adding it to the cart and only on the shopping cart page.  This may be confusing or annoying in case you have multiple options that affect the price or offer quantity discounts, or both.

Much better to have the price updating “live” – in real time – as people change the quantity or select options on the product information page. I already posted a while ago about how to add a quantity input field to the product information page, let’s go now a step further.

There are several add ons available in the osCommerce add ons area that promise to do a live price update, none of them worked for me under really all circumstances, so I decided to create my own approach.

The main difference to any other solutions, is, that I use exactly the same calculation ways as it is done in the shopping cart class of osCommerce. This is not the case with the existing approaches that try to recalculate the price using some javascript calculations: The calculation results are not always accurate, there are issues with different currencies etc etc

My approach calculate the price in exactly the same way as the core system of osCommerce does: The price you see on the screen on the product information page is exactly the same that goes into the checkout process. It is tested and work with any add-on that may affect the price, such as SPPC (separate pricing per customer), QPBPP (quantity price break per product), Option types, QtPro etc etc

Installation is extremely easy to do: There is only one file that require minor modifications and 1 more file to add, that’s all + of course the easy modification to add a quantity input field to your product information page

Take a look at the online example here: Live price update example

The example is using SPPC and QPBPP in order to demonstrate the ability to include the price breaks into the live update functionality, it is of course not necessary to have this installed

Let me know what you think of this extension and get in touch if you want to have it on your osCommerce store

Click +1 to recommend this to your friends when they search.
Tags: ,


follow multimixer on Twitter

Follow me on twitter. I'm not tweeting all day long and guaranteed no spam and no advertising.

If you like what you read and if you think it will help you in your online business, then please consider a donation.

There is no obligation to do so and all information provided here is free to use.

It will however help to keep this blog alive, free of advertising and full of content.

  • Wilfred Helmig 24/12/2014 at 10:59

    Hi, very interested in the live pice update module. Is this available?

    Best regards,
    Wilfred Helmig

    • multimixer 28/12/2014 at 15:33

      Hello Wilfred

      Yes, the module is available and it is working already on many stores. Please get in touch via email

  • David 17/03/2015 at 15:56

    Can yoy send me the “live price update” module please?

  • Seth 25/05/2015 at 01:28

    I would really love to get the modifications from you for live price update! Please contact me ASAP!

    Many thanks,

  • Anja 29/09/2018 at 16:55

    Hi, I tried several tools but no one worked so could you send me your tool?
    Thank you very much!
    Best regards,

    • multimixer 29/09/2018 at 17:36

      Hello Anja

      I replied to you by email, thank you for your comment