Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Discount coupon 3.37 add on - I found bug


peterkbm

Recommended Posts

http://addons.oscommerce.com/info/4269

After I install this discount coupon 3.37FR, I found calculation bug with exclusion products.

 

I'm wonder why no body alert about this issue:

 

 

For example, product E is the product exception (so far I have try products exception & manufacture exception) from coupon discount.

 

coupon value: $50

 

products A: $20

products E: $300

 

So, the coupon only can be apply $20, and not $50.

Total should be: $300

 

But system give Total of $270.

 

 

Need help on how to solve this bug.

Link to comment
Share on other sites

These are my admin >> modules setting:

 

 

Enable discount coupon?

true

 

Sort Order

UNIQUE

 

Display discount with minus (-) sign?

true

 

Display subtotal with applied discount?

false

 

Display tax in discount line?

None

 

Exclude product specials?

true

 

Random Code Length

32

 

Display discount total lines for each tax group?

false

 

Allow negative order total?

false

 

Use the language file to format display string?

false

 

Display Format for Order Total Line

([coupon_desc]) Discount Coupon applied

 

Debug Mode

false

Edited by peterkbm
Link to comment
Share on other sites

I have trying various setting and condition for lots of time already.

 

I have sure my exception function is work. For example, i try PURCHASE ONLY exception products and apply coupon, system not allowed and give me message:

The minimum number of products required for this coupon is 1.0000 Some or all of the products in your cart are excluded.

 

and the coupon cannot be applied.

 

 

I also try different sort order for order total module at admin >> modules.

 

 

These are final setting at my admin >> modules for discount coupon:

 

 

Enable discount coupon?

true

 

Sort Order

4

 

Display discount with minus (-) sign?

true

 

Display subtotal with applied discount?

false

 

Display tax in discount line?

None

 

Exclude product specials?

true

 

Random Code Length

32

 

Display discount total lines for each tax group?

false

 

Allow negative order total?

false

 

Use the language file to format display string?

false

 

Display Format for Order Total Line

([coupon_desc]) Discount Coupon applied

 

Debug Mode

false

 

 

Anyone can help?

 

Thanks for the free coupon plugin, and also thanks a bunch in advance ~

Link to comment
Share on other sites

another thing is I think is bug also, almost same situation:

 

let say

coupon $50

product A: $15

courier fees (belows $300, should have $8 of courier fees): $8

 

So, the total should be:

* total = $0 + $8 = $8

 

but system give me total: || $0 + $8 - $50|| = $0

 

 

means the coupon calculation also deduct the mininum courier fees, meanwhile the coupon system is

 

set to not have negative total (Allow negative order total? =false),

 

and the sort order of coupon is higher than shipment.:

 

this is the order_total module page sort order:

 

 

COUPON 1

sub total 2

shipment 3

Grand total 4

 

 

try this sort order also same bug result:

 

sub total 1

COUPON 2

shipment 3

Grand total 4

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...