Can't figure out how to add a volume discount

Issues related to forms.
Post Reply
cratica
 
 
Posts: 21
Joined: Wed Jan 28, 2015 10:21 pm

Can't figure out how to add a volume discount

Post by cratica » Wed Nov 22, 2017 3:46 am

Building a website that will have just one product for $19.95. The only way to purchase is through Paypal. I have first product shipping at $9.95 with any additional qty set to add an additional $2 each. All that works fine so far.

However, I want to add a product discount is they purchase any quantity of 20 or more.

So...

$19.95 for qty of 1
$14.95/ea for qty 20 or more

How can I do that? using WB12.

thx!

User avatar
Pablo
 
Posts: 19672
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Can't figure out how to add a volume discount

Post by Pablo » Wed Nov 22, 2017 7:21 am

There is no standard solution for this, but you may be able to implement this by using PayPal variables: discount_rate, discount_rate2. You can add these in the 'Extra Variables' tab.
https://developer.paypal.com/docs/class ... variables/

cratica
 
 
Posts: 21
Joined: Wed Jan 28, 2015 10:21 pm

Re: Can't figure out how to add a volume discount

Post by cratica » Wed Nov 22, 2017 5:25 pm

Thanks. I tried all those. But none of those allow a different price based on a specific quantity. Those allow you to set a different price for a quantity of more than one only. But not at a specific qty like 20 which is what I need. So $19.95 for qty 1-19. Then $14.95 for qty of 20 or more. Anyway to do that?

User avatar
BaconFries
 
 
Posts: 4492
Joined: Thu Aug 16, 2007 7:32 pm

Re: Can't figure out how to add a volume discount

Post by BaconFries » Wed Nov 22, 2017 6:00 pm

Then this would need scripting such a javascript to do the sum and apply the discount.

cratica
 
 
Posts: 21
Joined: Wed Jan 28, 2015 10:21 pm

Re: Can't figure out how to add a volume discount

Post by cratica » Wed Nov 22, 2017 6:17 pm

Ok, bummer. thx

User avatar
BaconFries
 
 
Posts: 4492
Joined: Thu Aug 16, 2007 7:32 pm

Re: Can't figure out how to add a volume discount

Post by BaconFries » Wed Nov 22, 2017 6:58 pm

You should be able to use variables just as Pablo has suggested to apply a discount to the overall purchase this will be in the likes ie say 10%, 20%. At the moment I am on Mobile/Cell but I remember giving another member a answer to something similar do a search of the forum using PayPal Discount it should return what I am talking about. If this is not what you need then see my last answer.

User avatar
BaconFries
 
 
Posts: 4492
Joined: Thu Aug 16, 2007 7:32 pm

Re: Can't figure out how to add a volume discount

Post by BaconFries » Thu Nov 23, 2017 1:25 am

@cratica I may have a solution for this. After reading I did a search of one of my flash drives and found a old javascript I still have to test within WWB but if it works then I will post back results.

cratica
 
 
Posts: 21
Joined: Wed Jan 28, 2015 10:21 pm

Re: Can't figure out how to add a volume discount

Post by cratica » Thu Nov 23, 2017 9:39 pm

Awesome!! Hope it works! yea, there is nothing that currently allows you to set different prices based on quantity.

You can set a limit of a discount per quantity (only want to sell X number at a discounted price) But there is no way to set a new price once qty reaches certain value.

That is what I need to do. Thx!

User avatar
BaconFries
 
 
Posts: 4492
Joined: Thu Aug 16, 2007 7:32 pm

Re: Can't figure out how to add a volume discount

Post by BaconFries » Thu Nov 23, 2017 10:51 pm

The script I have works as you describe buy 1 to 20 @ $19.95 then 20+ @$14.95 this can also be changed if needed. I only tested with the variables it uses, no shipping added etc but I can't see why it won't with this added.
I will post a demo .wbs showing this working. For this to work I had to convert the PayPal button to a form then add a couple of new variables along with events. Please note that this script is not my own so I take no credit for it that belongs with the original author so I cannot assist to modify it. Hopefully this is what you need.

cratica
 
 
Posts: 21
Joined: Wed Jan 28, 2015 10:21 pm

Re: Can't figure out how to add a volume discount

Post by cratica » Thu Nov 23, 2017 11:09 pm

That sounds perfect!! Where can I get the script at? Thank you!

cratica
 
 
Posts: 21
Joined: Wed Jan 28, 2015 10:21 pm

Re: Can't figure out how to add a volume discount

Post by cratica » Sat Nov 25, 2017 5:51 pm

Sorry, is there a place the sample/script was posted? I don't see it. Thanks!

User avatar
BaconFries
 
 
Posts: 4492
Joined: Thu Aug 16, 2007 7:32 pm

Re: Can't figure out how to add a volume discount

Post by BaconFries » Sat Nov 25, 2017 7:35 pm

Sorry, is there a place the sample/script was posted? I don't see it. Thanks!
At the time of your posting I still had to upload the demo .wbs this I have now done so see the following
PPDemo before downloading please ensure that you have the latest build installed this can be found at the following Download this is the latest version even if the program says otherwise as there has been a small "hot fix" applied.

cratica
 
 
Posts: 21
Joined: Wed Jan 28, 2015 10:21 pm

Re: Can't figure out how to add a volume discount

Post by cratica » Sun Nov 26, 2017 4:14 am

Thank you!!!

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests