We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
Promotion voucher being applied twice to cart
I think I am experiencing the same problem as Mike here:
It appears to happen when a customer applies a voucher to a cart and then subsquently adds another item to the cart.
Interestingly, if you make the Maximum discount the same or less than as the discount amount the voucher doesn't get applied twice. If the limit is any other amount (or blank) then the discount is applied twice.
Screenshot below shows the discount that should be applying £10 to the cart total.
I am also getting the rounding issue with the voucher when applied pre-tax (VAT in my case). Entering £8.33333333 for a £10 voucher sometimes calculates at 9.99.
Perch Runway: 3.0.8, PHP: 7.0.15, MySQL: mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $, with PDO Server OS: Darwin, apache2handler Installed apps: content (3.0.8), assets (3.0.8), categories (3.0.8), perch_forms (1.9.1), perch_shop_orders (1.2.2), perch_shop_products (1.2.2), perch_shop (1.2.2), perch_members (1.6.2), perch_mailchimp (3.1) App runtimes: <?php $apps_list = [ 'perch_mailchimp', 'perch_members', 'perch_shop', ]; PERCH_LOGINPATH: /perch PERCH_PATH: /Users/ellimondo/Dropbox/Sites/ellipress/dev.ellipress.co.uk/perch PERCH_CORE: /Users/ellimondo/Dropbox/Sites/ellipress/dev.ellipress.co.uk/perch/core PERCH_RESFILEPATH: /Users/ellimondo/Dropbox/Sites/ellipress/dev.ellipress.co.uk/perch/resources Image manipulation: GD PHP limits: Max upload 32M, Max POST 32M, Memory: 128M, Total max file upload: 32M F1: 0c66c2e1f82f9e0b7617b2cb8270f2c7 Resource folder writeable: Yes HTTP_HOST: dev.ellipress.co.uk DOCUMENT_ROOT: /Users/ellimondo/Dropbox/Sites/ellipress/dev.ellipress.co.uk REQUEST_URI: /perch/core/settings/diagnostics/ SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
Want to reply to this thread?Login with Perch