Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Discount coupon 3.37 add on - I found bug


  • You cannot reply to this topic
6 replies to this topic

#1 peterkbm

  • Community Member
  • 10 posts
  • Real Name:peter

Posted 03 October 2011, 09:19

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.

#2 DunWeb

  • Community Sponsor
  • 10,466 posts
  • Real Name:Chris Dunn
  • Gender:Male
  • Location:Tecumseh, Ontario, Canada N8N 1X8

Posted 03 October 2011, 14:47

Peter,

It is not a bug, check the configuration settings in admin>> modules>>


Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

:|: Click Here to learn how I can help you with custom coding, add ons, security and templates :|:

:|: Need an Area Calculator, Pre-Paid Account, Virtual Pin, Auction or Layaway Add on ? Click Here :|:

#3 peterkbm

  • Community Member
  • 10 posts
  • Real Name:peter

Posted 04 October 2011, 09:00

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, 04 October 2011, 09:01.


#4 peterkbm

  • Community Member
  • 10 posts
  • Real Name:peter

Posted 04 October 2011, 09:31

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 ~

#5 mglenn310

  • Community Member
  • 49 posts
  • Real Name:matthew glenn

Posted 05 October 2011, 13:14

where did you install this file and after you install it where can you find it to add it

#6 peterkbm

  • Community Member
  • 10 posts
  • Real Name:peter

Posted 06 October 2011, 03:15

mglenn310: all the step have already write detailsly at manual (english.html for english).
I read the manual front to the end, and end to the front, left to the right, and right to the left, at least 3 times ~~

#7 peterkbm

  • Community Member
  • 10 posts
  • Real Name:peter

Posted 06 October 2011, 03:26

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