Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding second discount option?


kenscott

Recommended Posts

Hi,

I currently have a discount for many customers on my site, but I sell two types of products.

we'll call them products A and products B,

 

what I would like to do is have a different discount for products B, I have already added a second discount feild to the customers table, and added the additional input to the edit customer function.

 

my problem now is implementing the the new discount price for all products on the B category.

I've been looking through the product_info.php, and can't seem to figure out how the normal discounters on added. was hoping that maybe someone might know how this is done.

I'm wondering if maybe the discount is added to the session during login, or does it just pull from the db each time a price is listed??

 

any help would be great!!!

 

thanks in advance for your time!

-Ken

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