Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

discount calculation for two sets of quantities


domaky

Recommended Posts

Hello all,

 

I am working on a web site for a winery. They would like to give a 5% discount for any 6-pack order (of the same wine) and 10% off for any 12 pack (of the same wine).

 

I went through the archives, found this thread

 

http://www.oscommerce.com/forums/index.php?showtopic=65619&st=0&

 

which discusses a similar problem and installed the price-break contribution. That went all very smoothly.

 

Now, I got stuck with how to turn the discount from a fixed amount into a discount that gets calculated by percentage.

 

And also the discount is only for those 6 (or 12) bottles. Any bottles outside of the discount range are not discounted. The winery would like to encourage people to get 6-packs and 12-packs because the shipping is much easier that way.

 

So if, for example, somebody orders 20 bottles they get

 

10% discount for 12 bottles

5 % discount for 6 bottles

and 2 bottles do not get a discount at all.

 

Any and all input is, as always, very much appreciated :-)

 

Greetings,

 

:: domaky

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