Jump to content

exclude products from coupon code


Recommended Posts

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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! 

 

Link to comment
Share on other sites

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???).

 

Link to comment
Share on other sites

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?

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...