Jump to content
Sign in to follow this  
chap

A little something for Ian's Discount for Members mod

Recommended Posts

Hi,

 

I don't know if this has been made available by someone else, if so :oops: , if not- then here goes:

 

To allow people that just sign up to have access to the discount for members (meaning: you as the administrator does not have to manually flag a customer as a "member") add this line to /catalog/create_account_process.php:

 

Replace (line 2 hundred something):

'customers_default_address_id' => 1);

 

With:

 

// begin edit to auto flag for discount for DISCOUNT FOR MEMBERS

'customers_default_address_id' => 1,

'member_flag' => 1);

// end edit to auto flag for DISCOUNT FOR MEMBERS

 

 

Bye!


Eagerly awaiting 2.2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×