Ronnan Posted May 28, 2003 Posted May 28, 2003 Where do I decide/tick a customer as a member. I have the memeber discount contribution installed and it seems to work alright, but how to use it. I thought you should tick the customer in the Customers part in Admin but no member flag exists there? (Un)confuse me! Quote
Ian Posted May 28, 2003 Posted May 28, 2003 You need to get the admin code (by Richard Fielder) which lets you mark customers as members. Quote Trust me, I'm an Accountant.
Yikes Posted May 28, 2003 Posted May 28, 2003 Ian, Thanks for xmembers 2.2 -- smooth! What I am wondering is, if I want ALL returning customers to receive the discount on all future visits, is there a simple line I could add to checkout_process, maybe, to write their member status to "1" to the database UPON checkout (in order to prevent the discount from being applied to the first visit)? Another issue would be if people have checkout without account options installed. Since the customer would never be able to login in to retrieve their discount, it probably wouldn't matter. But, to be picky, one might just want to set the member status of customers who chose to create accounts. Thanks in advance. Quote
Guest Posted July 10, 2003 Posted July 10, 2003 Yikes, I updated the checkout_process.php file with a line // Update member status tep_db_query("update " . TABLE_CUSTOMERS . " set member_flag = 1 where customers_id = '" . $customer_id . "'"); Basically, on a process, it sets the member flag to 1. We had problems with people registering and making both their purchases before I could set the member discount flag myself. This seems to resolve that, making the flag automatic. Quote
wallspace Posted June 9, 2005 Posted June 9, 2005 Sorry to drag this old chestnut back up again but I'm having trouble getting it to do exactly what i want. Basically I want ALL my members to get 10% off all products in my shop. (as a kind of incentive to become a member) But I want them to be able to view the products with the discounted price being the one shown. Obviously if they're not a member then the full retail price will be displayed as I do have the PWA contribution installed for those who don't want to be members. I've installed the above contribution and the Admin part of it, Just added the extra lines provided by sirkyle. Instead of showing the products in the catalog with the discounted price it only works the discount out after the checkout process is complete. Can anyone help me? Thanks Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.