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
I am seeing a couple of weird issues on a Shop implementation to do with promotions. The company is trying to offer a £10 off code when people sign up to the newsletter. To achieve this they have put the discount before tax for the promo code to be
8.33 - as a side note it would be good to be able to have the option to enter this sort of discount including tax as well.
1) The discount is applied multiple times If I add one sku to the cart the £10 discount is given. Multiples of that sku keep the £10 discount. If I add another SKU I am now getting a £20 discount. I would expect the promotion to apply to the cart rather than the SKUs.
2) The discount is sometimes £9.99 With some products the discount is calculated to £9.99 rather than £10. I can't work out the pattern for why this happens to some and not others.
To replicate both issues you can take a look at the shop here:
An example of a product that causes the £9.99 error is this one:
The code for the £10 off is
This is the diagnostics:
Perch Runway: 2.8.32, PHP: 5.6.26, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $, with PDO Server OS: Linux, cgi-fcgi Installed apps: content (2.8.32), assets (2.8.32), categories (2.8.32), perch_blog (5.0), perch_forms (1.8.3), perch_shop_orders (1.0.10), perch_shop_products (1.0.10), perch_shop (1.0.10), perch_members (1.5), perch_mailchimp (3.0.1), perch_twitter (3.6.2) App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_forms', 'perch_mailchimp', 'perch_twitter', 'perch_members', 'perch_shop', 'perch_blog' ); PERCH_LOGINPATH: /admin PERCH_PATH: /home/newgatewatches/public_html/admin PERCH_CORE: /home/newgatewatches/public_html/admin/core PERCH_RESFILEPATH: /home/newgatewatches/public_html/admin/resources Image manipulation: GD PHP limits: Max upload 128M, Max POST 128M, Memory: 128M, Total max file upload: 128M F1: 2edba60ed1f613d6dd804feb202456a2 Resource folder writeable: Yes DOCUMENT_ROOT: /home/newgatewatches/public_html HTTP_HOST: newgatewatches.com REQUEST_URI: /admin/core/settings/diagnostics/ SCRIPT_NAME: /admin/core/settings/diagnostics/index.php
Thanks for any help with this - I have updated to the latest Shop but am still seeing these issues
Want to reply to this thread?Login with Perch