[email protected]. Posted July 25 Posted July 25 I am trying to set up coupon code for specific products, which works OK until you add products that aren't included - these too then receive the discount applied which really isn't what I wanted... The instance is add any product to the basket use code PALM25 it gets rejected - add any palm tree to the basket and the whole basket is reduced by 25%! Does anybody else have experience of this? Many thanks Steven Quote
bsmither Posted July 25 Posted July 25 Please verify the exact version of CubeCart showing this behavior. Quote
bsmither Posted July 25 Posted July 25 I could not reproduce this on CC655, so I will try it on CC653. To verify the sequence: Create a promo code for 25% and have it assigned to one specific product. No other limits or settings are set. Add any other product to the basket. View the basket. Enter the promo code and click Apply. Note that CubeCart issues a warning that this code cannot be used. Click Continue Shopping. Add the eligible product to the basket. View the basket. Enter the promo code and click Apply. Note that the discount equates to 25% of the total of the price of the non-eligible product plus the price of the eligible product? Quote
[email protected]. Posted July 25 Author Posted July 25 The dates are also set to end at the end of September. The rest of the sequence is as you have outlined. Quote
bsmither Posted July 25 Posted July 25 Other than that date setting of the promo code, I could not duplicate your observation in CC653. Do you have a web address we can see? Quote
[email protected]. Posted July 25 Author Posted July 25 www.themodeltreeshop.co.uk Add any product excepting (eg https://www.themodeltreeshop.co.uk/heki-1138-silver-birch-5.5cm.html) the palm trees use code PALM25, no discount add a palm tree (https://www.themodeltreeshop.co.uk/date-palm-tree.html) and bingo... I don't know what I may have done wrong if you cannot replicate it! Quote
bsmither Posted July 25 Posted July 25 I also get a warning that the code is manufacturer-specific. But otherwise, I do see the anomaly. Do your prices include the VAT? I am a not-logged-in visitor, and there is no tax information shown on the View Basket page (as opposed to on the Checkout Basket page where it might???). Quote
[email protected]. Posted July 25 Author Posted July 25 We aren't vat registered so no taxes are levied on any orders produced. Quote
bsmither Posted July 25 Posted July 25 Wait a sec... "Create a promo code for 25% and have it assigned to one specific product." Well, on the Assigned Products tab, what have you selected for Product List Type? The default is "...applies to ONLY above products". Is that your setting? Quote
bsmither Posted July 25 Posted July 25 Do you have any plugins installed and enabled? What are they? Quote
[email protected]. Posted July 26 Author Posted July 26 Applies to only the above products is set. I use a skin from Ian at havenswift and he looks after plug ins and updates etc. I have raised a ticket with him. I have a lot of plug ins! Absolute option price matrix Category product options Crafty clicks Custom stock level reports Duplicate order emails Enhanced admin order entry Google analytics Google microdata Google merchant feed Group site documents Havenswift Hosting Skin Configuration Magic 360 PayPal Commerce Platform Price tiers Stock values Quote
bsmither Posted July 26 Posted July 26 In my opinion, none of those would affect the calculation of a discount. (Except maybe Duplicate Order Emails if it touches the discount calculations or even perhaps makes its own calculations which reverberates against the Cart class property.) In the file /includes/global.inc.php, find: $glob['safe_mode'] = false; Temporarily, change to: $glob['safe_mode'] = true; and save. (You may need to disable the file's 'read-only' state to make the edit.) Determine if that makes any difference. Setting Safe Mode to true will inhibit plugins and code snippets from running, without actually disabling them -- seeing as there are many installed. If this does make a difference, then the task is to find out which one is causing the anomaly. Quote
[email protected]. Posted July 26 Author Posted July 26 Thanks for this, I will let Ian know your thoughts as I never touch the files. Quote
[email protected]. Posted July 26 Author Posted July 26 @bsmither Skins set to default, all plugins disabled and the above files tried - looks like this may be a core CubeCart bug which I will log in github. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.