Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 ASP (Windows server) versions
 Blocking Wholesale Discount from Coupon Codes?
Author « Topic »  

Graham Slaughter
Ecommerce Template Expert

820 Posts

Posted - 05/07/2020 :  13:33:30  
We have a few customers who are on a wholesale discount price. Is it possible to setup discounts (like a coupon code) that they are not able to participate in? It would be bad for us to provide them with a wholesale price and then a % discount on top of that.

- Graham Slaughter

dbdave
ECT Moderator

USA
10289 Posts

Posted - 05/07/2020 :  14:14:22  
Hi Graham, there is a parameter - Have you tried the following?

quote:
You can disable discounts for logged in customers with the wholesale attribute by adding the parameter

nowholesalediscounts=true

Graham Slaughter
Ecommerce Template Expert

820 Posts

Posted - 05/08/2020 :  05:40:07  
Thanks Dave. I knew I should have looked harder. You'd figure after over a decade I'd have known better. Thanks again.

- Graham Slaughter

Vince
Administrator

42479 Posts

Posted - 05/08/2020 :  06:27:11  

Graham Slaughter
Ecommerce Template Expert

820 Posts

Posted - 05/12/2020 :  07:43:44  
Ah, I remember now the issue I had with this parameter. maybe you guys know a work around.

My wholesale buyers get the free shipping discount. This disables that for them. I can set the wholesale account as shipping exempt, but then those buyers can get the system to overnight something at no cost to them.

How can I disable promo codes for them, but not the free shipping option? I'm stumped.

- Graham

dbdave
ECT Moderator

USA
10289 Posts

Posted - 05/12/2020 :  08:05:58  
I was thinking about this Graham, if it's just codes you want to stop them from using, you can probably come up with something that will check if they are a wholesale (logged in) customer and (using javascript) hide (or disable) the input of the coupon code field in the cart pages.
I think this could probably be done in the cart.asp page, making it so it doesn't get wiped out by updates.
This would allow free shipping, but block them from using a code.

David

Graham Slaughter
Ecommerce Template Expert

820 Posts

Posted - 05/15/2020 :  06:10:28  
That's not a bad idea. It's too bad those things cannot be separated out. It seems like a somewhat common use scenario to give people wholesale pricing / maintain regular shipping options (free options) , but also not allow them deeper $ discounts.

I'll have to fiddle with it. It would probably be just as easy to code out the promo code part of the form in the cart page.

- Graham Slaughter

https://www.suspension.com

Graham Slaughter
Ecommerce Template Expert

820 Posts

Posted - 05/15/2020 :  06:42:13  
Dude, that was a great idea.

I just modified the inccart.asp

I encapsulated the promocode / cpncode inside an IF:
if WSP="" then
'cpncodestuff
end if

Worked like a dream. Thanks for the idea!

- Graham Slaughter

dbdave
ECT Moderator

USA
10289 Posts

Posted - 05/15/2020 :  06:56:08  
Great news Graham...
I'm glad I could help in some way.

David

Edited by - dbdave on 05/15/2020 06:56:21
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000