VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 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-ASP 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-ASP 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-ASP 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