Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Total discount via session


KlutteVisual

Recommended Posts

Hi guys!

 

 

I hope someone can give me some pointers about my little problem...

 

We want to give different customers an overall discount of everything in our shop, without having them to sign up and without showing all the other customers that there is a group of people who get a special discount.

 

We want to do this by just setting a simple variable in the session, ex. http://www.myshop/index.php?specialdiscount=true this way we can distribute this code with our newsletter etc. to different customers.

 

The session is working and on the product info page, it displays both the old price and the discount price. My problem begins from here...

 

I want to check for the session variable from the shopping_cart.php so the prices are correct and all the way to the checkout_succes.php. Im having trouble finding out how to change the prices in the cart, I guess i thought that if the price was changed on the product_info.php it would stick all the way...

 

Can anybody help?

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.

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