Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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!

Posted

You need to get the admin code (by Richard Fielder) which lets you mark customers as members.

Trust me, I'm an Accountant.

Posted

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.

  • 1 month later...
Posted

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.

  • 1 year later...
Posted

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

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...