close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Discount on Qty Based on Unique Item

Thread began 9/21/2015 1:40 pm by mycalidesigns | Last modified 10/20/2015 4:19 pm by Ray Borduin | 2104 views | 13 replies |

mycalidesigns

Discount on Qty Based on Unique Item

I need help creating a discount on based qty entered or updated on cart. And I only want to target certain items with a type of category. I have tried following instructions that are in forum but i don't think that would work for me.

Sign in to reply to this post

Ray BorduinWebAssist

Can you give me more specifics about the discount. I feel like you want specific instructions on how to implement it, so I need a really specific description of what you are trying to do.

Sign in to reply to this post
Did this help? Tips are appreciated...

mycalidesigns

Sample page

Thanks for your prompt response, here is the link of beta page I'm working with (private area). Please don't go through checkout process i just have the add to card and update functions working.

You will notice when you add the product to cart it will bring up some add-on options.

Now if i add an item that is not an add-on option I would like the discount to show only on products not add-on items.

The discounts will be given on qty 25, 50,75, 100 so if the client adds or updates a qty of a specific product if they reach the qty stated a discount will be applied.

Sign in to reply to this post

Ray BorduinWebAssist

Is it a standard % based discount, or a new fixed price based on the quantity?

There are basically two ways to do this. You can either update the cart to store all of the information to do the discounting and do complex calculations in the cart to figure out the correct price... or you can use a recordset to store quantity discounts and calculate and update the price column as it is in the eCart.

The technique I suggest usually depends on the complexity and consistency of the discounts. If products have different discounts, different breakpoints for discounts, different number of breakpoints, etc. then the Recordset method is easier because it is more flexible. If you are doing regular % based discounts based on fixed break points, then doing a calculation in the cart is easier so you don't have to create recordsets and update the shopping cart from it manually on the cart page when someone updates a quantity.

Sign in to reply to this post
Did this help? Tips are appreciated...

mycalidesigns

Ray,

I am using recordset discount, how should i approach this?

Sign in to reply to this post

Ray BorduinWebAssist

You would add the recordset to the page with the add to cart button that filters based on the product and quantity and use the filtered recordset to set the price.

The easiest fix is to then not allow quantity update on the add to cart page so that they would have to remove and add again from the add to cart page to change quantity.

In order to allow quantity update you would have to manually code a loop when the cart is updated that would check the database and update the quantity when necessary. We could help with this in a premier ticket if you have trouble with the hand coding.

Sign in to reply to this post
Did this help? Tips are appreciated...

mycalidesigns

will do.

Sign in to reply to this post

mycalidesigns

Jay,

I just found out from my client that the discount will be a global discount for all products. what would be the way to approach this. And i still don't want the discount applied to any of the add-on item. Please advise.

Sign in to reply to this post

Ray BorduinWebAssist

Is it % based? What are the specifics?

Sign in to reply to this post
Did this help? Tips are appreciated...

mycalidesigns

Yes its percentage based

Sign in to reply to this post
loading

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