close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Disounts applied to individual products when bought in bulk

Thread began 8/27/2014 5:33 am by jon392819 | Last modified 8/28/2014 10:43 am by Jason Byrnes | 590 views | 3 replies |

jon392819

Disounts applied to individual products when bought in bulk

Jason, you very kindly helped me get my discounts working. We are applying discounts based on QTY. Break points dictate the discount. Works great. Below is the formula we used and the attached shows my next problem.
(abs([Quantity] >= 6 && [Quantity] < 12)?([Price] * [Quantity]) * 0.05:0) +.............. etc

The problem I have is when two or more variations of the one product are added to the cart. The discount is applied line by line. Is it possible to have the discount applied to the product as a whole, including the size variations etc. The screen shot shows the problem well. One product in the cart with two variations. The discount needs to be applied to the 15 fleeces and not just the first ten. Hope this makes sense.

If I didn't have any clients I think life would be so much easier :)

Sign in to reply to this post

Jason ByrnesWebAssist

Theres not a way to do that in the cart object, it would require hand coding to accomplish.

you would need to create a cart loop, look at each ID line by line and if the id matches add the quatity of the 2 together, then calculate the discount.

This kind of custom coding is beyond the scope of this support forum, we could help you implement this in a premiere support appointment:
http://www.webassist.com/premier_request.php

Sign in to reply to this post

jon392819

Understand Jason, do you think an hour would do it?

Sign in to reply to this post

Jason ByrnesWebAssist

Should be able to do this in an hour, but i can't make any promises.

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