Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 HELP! Remove Coupons for Wholesale Accounts?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

savvymedias
VP-CART New User

191 Posts

Posted - March 02 2010 :  18:22:22  Show Profile  Visit savvymedias's Homepage  Reply with Quote
We need to remove the coupons from the equation for wholesale customers. I just had someone try to use a coupon for retail orders and we just cannot afford that.

There has to be a quick a way to disable them... like:

custother1 = wholesale then exit sub

around the sub in shopcustomer.asp?

Sub AddDiscountCoupon
strcoupon=getsess("coupon")
If getconfig("xAllowCoupons")<>"Yes" then exit sub


Anyone have a good idea?

savvymedias
VP-CART New User

191 Posts

Posted - March 02 2010 :  18:34:59  Show Profile  Visit savvymedias's Homepage  Reply with Quote
Or is there something that could check

coupon.couponother and customers.custother1 to make sure that they match?
Go to Top of Page

savvymedias
VP-CART New User

191 Posts

Posted - May 01 2010 :  11:23:08  Show Profile  Visit savvymedias's Homepage  Reply with Quote
We have done this successfully. Basically, if you are logged in and are a wholesale account, then the coupon field does not display at checkout.

With so many views, I assume others are interested in this as well.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00