close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Quantity discount based on items in single category

Thread began 8/29/2010 9:23 pm by hmyrick308645 | Last modified 9/02/2010 9:30 am by Jason Byrnes | 539 views | 3 replies |

hmyrick308645

Quantity discount based on items in single category

I need to offer a quantity discount for items in a single category. I added a "Category" column to the cart. Then I went to bind the category to the new column.

The problem comes in when I attempt to retrieve the item category by modifying the products recordset (or creating a separate recordset to retrieve the category). Because some of the items are in more than one category, I get all the item's categories, not just the discount category.

Is there a way to solve this?

Sign in to reply to this post

Jason ByrnesWebAssist

where the products belong to multiple categories, it is going to problematic to set the discount based on the category.




a simpler approach would be to mark the items as discounted directly in the products table.

you will need to create a discounted column in the products table and set it to 0 for items that should not be discounted and 1 for items that should be discounted.

use this column in the add to cart button instead.

Sign in to reply to this post

hmyrick308645

says. apilber

Thanks Jason. That worked well.

Sign in to reply to this post

Jason ByrnesWebAssist

Great, glad to hear you have it working.

Sign in to reply to this post

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