Gift Certificates and Discount Codes |
Post Reply |
Author | |
whizzinpc
Newbie Joined: 17-January-2006 Location: California Status: Offline Points: 20 |
Post Options
Thanks(0)
Posted: 07-April-2011 at 6:45pm |
I found that In ProductCart v4 and above, customers can use an electronic coupon (discount code) and a Gift Certificate at the same time.
Is there a way to disable this? We don't want the customer the ability to use both. We don't sell gift certificates normally. This is a one time deal. |
|
whizzinpc
Newbie Joined: 17-January-2006 Location: California Status: Offline Points: 20 |
Post Options
Thanks(0)
|
I think I figured it out. Correct me if i'm wrong.
Line 1741 in opc_orderverify I changed the following. BEFORE if (clng(intPcSeparate)=0 and clng(intCodeCnt)>0 and clng(intPcAuto)=0) or (pDiscountShowCode<>"" and clng(intPcSeparate)=0 and clng(intPcAuto)=1) or (clng(pcv_HaveSeparateCode)=0 and pDiscountShowCode<>"") then AFTER if (clng(intPcSeparate)=0 and clng(intCodeCnt)>0 and clng(intPcAuto)=0) or (pDiscountShowCode<>"" and clng(intPcSeparate)=0 and clng(intPcAuto)=1) or (clng(pcv_HaveSeparateCode)=0 and pDiscountShowCode<>"") or (pTempGC<>"") then I basically added or (pTempGC<>"") It seems to be working fine. |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |