cancel
Showing results for 
Search instead for 
Did you mean: 

Can i add unique third party customer membership numbers and use as Discount Code to enact % off?

SOLVED

Can i add unique third party customer membership numbers and use as Discount Code to enact % off?

We are offering set % discount to a third party membership group (500,000 odd members) who have 10 characters alphanumeric membership number that we would like for them to enter when logged into our site as a Discount Code in My Cart to enact the percentage of the shopping cart. We do not have access to the membership numbers but have been advised its a mix of letters and numbers.

Is this possible to set up so that any combination of letters/numbers ( as long as there are 10 characters) will enact the % discount? Or is there a plugin available?

1 REPLY

Re: Can i add unique third party customer membership numbers and use as Discount Code to enact % off

Hi there, I don't think I've come across an extension that would provide this functionality. It's quite a unique piece of functionality. 

 

I think you're going to need some custom code to do this. If it's not important to manage a list of valid codes and simply any 10digit code will work then I'd look to create a custom extension that adds a new condition that can be used in shopping cart price rule conditions. This condition would check the code meets those guidelines.  The shopping cart price rule can then apply the necessary percentage discount. 

 

Here are a couple of links that might help you when creating that solution:

 

https://stackoverflow.com/questions/13364615/creating-a-custom-condition-for-a-shopping-cart-price-r...

http://inchoo.net/magento/magento-shopping-cart-promotion-rule-for-product-with-custom-options/

----
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution" as appropriate. Thanks!