Zen Cart Logo
Forums / Discounts/Coupons, Gift Certificates, Newsletters, Ads / Order Total in Admin adds the Discount Coupon instead of Subtracting

Order Total in Admin adds the Discount Coupon instead of Subtracting

Views: 4,101

Results 1 to 6 of 6
25 Nov 2020, 23:56
#1
sammirah avatar

sammirah

Zen Follower

Join Date:
Apr 2012
Location:
Los Angeles, CA
Posts:
185
Plugin Contributions:
2

Order Total in Admin adds the Discount Coupon instead of Subtracting

https://www.atmospherebooks.com
ZC version 1.5.5f
PHP version: 5.6.35

The orders calculate correctly and give the correct amount at check out, but the confirmation email sent to the customer list the tax twice and calculates the tax twice. I tried using developers toolkit to see if I could find the double listing to no avail, I really need to fix this. Below is an example of what the emails look like. The actual total price should be $86.22

From:  Atmosphere Books & Gifts [[email protected]] 
To:  [[email protected]] 
Sent:  11/25/2020 15:07:23 
Subject:  [NEW ORDER] Order Confirmation No: 158 
 
 
 
 

Order Confirmation from Atmosphere Books & Gifts

 In-Store Shopper

 Thanks for shopping with us today!
 The following are the details of your order.
 ------------------------------------------------------
 Order Number: 158
 Date Ordered: Wednesday 25 November, 2020
 Detailed Invoice: https://atmospherebooks.com/webstore/index.php?main_page=account_history_info&order_id=158

 Products
 ------------------------------------------------------
 1 x Eth Cepher (9780692998045) = $95.00
 ------------------------------------------------------
[B] Sub-Total: $95.00
 Store Pickup (Walk In): $1.50
 Discount Coupon: 6298e8cfdf : -$19.30
 Tax: $9.02
 Tax: $9.02
 Total: $95.24[/B]

 Delivery Address
 ------------------------------------------------------
 In-Store, Phone, & Pick-Up Customer
 In-Store Shopper
 4233 S Victoria Avenue
 View Park, CA 90008
 United States

 Billing Address
 ------------------------------------------------------
 In-Store, Phone, & Pick-Up Customer
 In-Store Shopper
 4233 S Victoria Avenue
 View Park, CA 90008
 United States

 Payment Method
 ------------------------------------------------------
 Cash on Pickup


 -----
 This email address was given to us by you or by one of our customers. If you feel that you have received this email in error, please send an email to [email protected] 


 -----
 Copyright (c) 2020 Atmosphere Books & Gifts. Powered by Zen Cart

 Office Use Only: 
 From: 
 Email: 
 Login Name: In-Store Shopper
 Login Email: [email protected]
 Telephone: 323-351-0354
 IP Address: 172.250.38.202 - 172.250.38.202
 Host Address: cpe-172-250-38-202.socal.res.rr.com
 Date and Time: Wed Nov 25 2020 15:07:23 PST 
 
26 Nov 2020, 00:04
#2
sammirah avatar

sammirah

Zen Follower

Join Date:
Apr 2012
Location:
Los Angeles, CA
Posts:
185
Plugin Contributions:
2

Re: Order Total in Admin adds the Discount Coupon instead of Subtracting

https://www.atmospherebooks.com
ZC version 1.5.5f
PHP version: 5.6.35

When a customer makes a purchase using a discount coupon it is calculated correctly during checkout, however it shows the price with the discount added to the total instead of subtracted in the Admin Order Total. It also adds the discounted amount on the Invoice even though it shows as a Discount Coupon w/-the coupon value. I have included a sample of the invoice below. The actual price should be $86.22

Invoice No. 158 

Date Ordered: Wednesday 25 November, 2020 
Payment Method: Cash on Pickup 
 
 

Products Model Tax Price (ex) Price (inc) Total (ex) Total (inc) 
1 x Eth Cepher  9780692998045 0% $95.00 $95.00 $95.00 $95.00 

Sub-Total: $95.00 
Store Pickup (Walk In): $1.50 
Discount Coupon: 6298e8cfdf : -$19.30 
Sales tax: $9.02 
Total: 124.82 
Reward Points earned: 76 
 
 

Date Added Status Comments 
11/25/2020 15:07:23 Pending --none--  
 
  
Thank you for your purchase!
 
26 Nov 2020, 00:29
#3
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,760
Plugin Contributions:
9

Re: Order Total in Admin adds the Discount Coupon instead of Subtracting

Both your problems are probably caused by a mod that has been added to the site or included with the template.

Can you give us more information on the makeup of your site?

30 Nov 2020, 22:45
#4
sammirah avatar

sammirah

Zen Follower

Join Date:
Apr 2012
Location:
Los Angeles, CA
Posts:
185
Plugin Contributions:
2

Re: Order Total in Admin adds the Discount Coupon instead of Subtracting

So here is some what I have (at least all I can remember):
Zen Cart

Zen Cart 1.5.5f

Database Patch Level: 1.5.5

v1.5.5 [2016-05-15 04:23:23] (Version Update 1.5.4->1.5.5)
v1.5.4 [2015-01-11 09:26:14] (Version Update 1.5.3->1.5.4)
v1.5.3 [2014-07-31 10:57:15] (Version Update 1.5.2->1.5.3)
v1.5.2 [2014-07-31 10:57:15] (Version Update 1.5.1->1.5.2)
v1.5.1 [2013-12-10 12:42:15] (New Installation)
v1.5.1 [2013-12-10 12:42:15] (New Installation)

Modules Include:

Template In Use: Responsive Avonlee Contempo Template

Payment Modules:
Attachment 19299

Order Total Modules:
Attachment 19298

Shipping Modules:
Attachment 19300

30 Nov 2020, 23:17
#5
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: Order Total in Admin adds the Discount Coupon instead of Subtracting

I blame Reward Points.

03 Dec 2020, 02:09
#6
sammirah avatar

sammirah

Zen Follower

Join Date:
Apr 2012
Location:
Los Angeles, CA
Posts:
185
Plugin Contributions:
2

Re: Order Total in Admin adds the Discount Coupon instead of Subtracting

swguy:

I blame Reward Points.

Will please elaborate? Is there something in particular, I should be looking for to change or fix in the Rewards Points module?