ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Using ProductCart
  New Posts New Posts RSS Feed - Discount codes shown on invoices
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Discount codes shown on invoices

 Post Reply Post Reply
Author
Message
katharina View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25-October-2005
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote katharina Quote  Post ReplyReply Direct Link To This Post Topic: Discount codes shown on invoices
    Posted: 16-March-2009 at 2:11pm
This is a new bug and quite disturbing to us.  All invoices and order confirmations now show the discount name and code.  The discount name is fine, but the code is an issue.  We have store discounts we apply when some one orders over the phone.  Those discount codes never expire and our customers should now know what there codes are.  Only our employees will know their code.  In our case we have a "10% store discount" coupon we may apply to customers.  We also have 15%, 20%, etc.  It would be very hurtful to us, if a customer finds out what the code is and passes it along or uses it whenever they feel like it.    In this case it is essential that it will not be displayed on invoices or order confirmations.  We need a feature to hide discount code in the back office on a discount code level, or have it on a store level.  So how to we turn off the display of discount codes on our confirmation and invoices?  We need this help really bad.
Katharina

Back to Top
katharina View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25-October-2005
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote katharina Quote  Post ReplyReply Direct Link To This Post Posted: 16-March-2009 at 5:17pm
What do we need to do to only have the discount description showing on the invoices and order confirmations.  The discount code needs to be hidden from customers.  We need to protect discount codes only used by store employees on phone order from fraudulent usage by others.   I guess it would be on ordinvoice.asp, but I don't know what to change in the code.  Please help....
Back to Top
ProductCart View Drop Down
Admin Group
Admin Group

ProductCart Team

Joined: 01-October-2003
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote ProductCart Quote  Post ReplyReply Direct Link To This Post Posted: 16-March-2009 at 5:52pm
We are sorry that this feature change created an issue, but let's first clarify: this is not at all a bug, but rather a feature requested by lots of customers who wished to know exactly which discount had been used for an order.

A discount code can simply be set as "one time only" and the same customer will not be able to use it again. Other customers will not be able to use the discount if the customer filter is used (a customer can be added to that filter after the order has been placed).

The discounts can also be rendered inactive and activated at the time of usage if only used by employees.

That said, if you need to change the source code, you will need to alter the way an order is saved. The file is saveOrd.asp in the "pc" folder and the section to edit is the following:


            if intDiscountArryCnt=0 then
                pDiscountDetails=pDiscountDetails&pDiscountDesc & " ("&pTempDiscCode&") - || "& pTempDiscAmount
                intDiscountArryCnt=intDiscountArryCnt+1
            else
                pDiscountDetails=pDiscountDetails&","&pDiscountDesc & " ("&pTempDiscCode&") - || "& pTempDiscAmount
                intDiscountArryCnt=intDiscountArryCnt+1
            end if


You will need to remove:
("&pTempDiscCode&")
The ProductCart Team

Home of ProductCart shopping cart software
Back to Top
katharina View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25-October-2005
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote katharina Quote  Post ReplyReply Direct Link To This Post Posted: 16-March-2009 at 7:27pm
Thank you so much.  We liked it the way it was, because the discount description should have been enough.  It was really interfering with the scenario of "store discounts" given by employees on phone orders only.  Once sudden the customer saw the code and could use it.  It would not make sense to set them to one-time, because a customer could get them on another order again.  We use these discounts mainly for not-for-profit groups, and base them on several factors.  It may be an idea in future version to have the option of showing or not showing the code storewide.  Now we have another modification option for the wiki.
Again, thank you.
Katharina
PS I'm not bitching, just offering more insights on how some store may operate. 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.182 seconds.