Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

member discount Mod question


teksigns

Recommended Posts

i have the member discount mod installed ......

 

however if i give a certain customer a discount of 50%

 

and i place the item on sale ......

 

the customer buy it and gets there 50% off

of the special . now the product is cheaper

than my cost .....

 

 

i want to stop customers with a discount

from being able to add specials items to there cart.

 

and prompt them with a message to contact us for ordering

items that are on sale .

 

 

i use this to tell if they have a discount

 

 

$query = tep_db_query("select customer_discount from " . TABLE_CUSTOMERS . " where customers_id = '" . $customer_id . "'");

$query_result = tep_db_fetch_array($query);

if ($query_result['customer_discount'] > 0) {

tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));

}

 

 

now what else do i need to check if a product is on sale

and not to allow in cart .

 

and where do i put it ......

 

 

thanks for any help !

Link to comment
Share on other sites

use customer status

 

you can set a discount for each group of customers. this discount apply on each product basis, and the advantage is that for each product you can set the max allowed discount depending of the margin you have for this product.

 

you can also set a global discount (same member discount) but will not be limited by the max allowed discount on a product basis

 

many others options are avalaible too

Link to comment
Share on other sites

i would love to do that ....

 

 

but my cart is so heavly modded with just things i changed

here and there .....

 

 

i would not even know how to start compairing files

and making changes........

 

 

 

i just need the one piece of script

to keep my customers with discount from being able

to add products on sale to there cart.

 

 

 

i have there rest of my site already working

with discounts and showing the different prices .

Link to comment
Share on other sites

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...