close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Applying charges - only for products in a particular category?

Thread began 8/03/2015 2:10 pm by Nathon Jones Web Design | Last modified 8/06/2015 5:04 pm by Nathon Jones Web Design | 939 views | 13 replies

Nathon Jones Web Design

Applying charges - only for products in a particular category?

I want to apply a 5% surcharge to items from a particular category but the surcharge should only apply to those products, NOT to products in the cart that are not from that category.

I've created a category cart column and have bound that to the category field in my product table when adding to cart. When the product category is "2" I need the surcharge applied.

Can you help me with the calculation because nothing in the list of available options in the calculations section does this. Do I need a custom calculation?

Where it's complicated is, for example, we have the following scenario...

Basket Contents

Product Category Quantity Price Total
Whisky Bottle 1 1 1 £45.00 £45.00
Whisky Cask 1 2 1 £900.00 £900.00
Whisky Cask 2 2 1 £1100.00 £1100.00

The 5% surcharge should only be applied to the £2000.00 (£900 + £1100).

I'm sure this is simple but I've been going round and round with it all day and nothing I try does it.
Thank you.
NJ

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