close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Question about database structure and eCart discounts

Thread began 2/16/2011 6:16 am by Nathon Jones Web Design | Last modified 2/17/2011 5:54 am by Nathon Jones Web Design | 1892 views | 9 replies

Nathon Jones Web Design

"...or that all plugs for any plant are the same price, and all 9cm pots of any plant are the same price, but different to the plug price."

That's almost correct, but the price changes depending on the quantity purchased.

All plug plants are £1.15 each unless you buy 15, in which case they drop to £1.00 each, or if you buy 30 then it drops again to £0.98...and so on (see discount scales in previous post).

The discount, therefore, isn't a percentage it is a flat rate that is dependent on the quantity chosen of any particular product type.

The flat rate discount, however, isn't constant across all types of product (plug, 9cm pot, 1 litre pot).

For example, the plug plants are £1.15 each, unless you buy 15, at which time we want the price to drop to £1.00 - that's a drop of approximately 13%.

However, the 9cm pot plants are £1.75 each, unless you buy 15, at which time we want that price to drop to £1.60, which is nearer to a 14% drop.

So, basically, we want to apply a flat rate discount that is dependent on the quantity chosen of any particular product type.

I'm going to try it with some database integration and see if I can get it to work with a flat rate discount based on the product type. As you mentioned earlier, I think this will mean that I'll have to add a new column to eCart to handle the product type variable, in order to calculate the flat rate discount based on quantity ordered.

Appreciate the help, thanks.
Nath.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...