For the B2B customers, I want that the customer buy by multiple of quantities (for example 6) so it will be 6, 12, 18 ... This step quantity is fixed for each product.
But if the customer really want less than the fixed quantity for a certain product, I want to allow 1,2,3,4 or 5 but with an higher price.
So and the end, the customer for a product that we want to sell buy 6 can order : 1,2,3,4,5,6,12,18,24,30....
How can we do that ?
The button add to cart as also to accept those quantities of course.
Our plugin can also set a "required multiple" quantity. Indeed it can be set to "6" and it will force the quantity to go from 6 to 12, 18, etc.
However, it is not really possible to make it stop applying for 1, 2, 3, 4, 5. The plugin does not have this feature.
If you would like, actually you can configure a "required multiple" rule like this one:
This rule will force the "6" quantity multiple in Cart only for quantities higher than 5, but it only works in cart, and it works only after refreshing the page. On the product page it will not work for the quantity to go from 1, to 2, 3, 4, 5, 6, 12, etc. That kind of feature making the quantity move smoothly is not currently possible.
required multiple could be a first solution but the for us, the quantity imposed is different for each product . I have (or can put) the quantity information (step) on each product (b2bking field if you add it or ACF custom field).
So with 1 rule, I can have a solution for all the products. Couldn't you allow in your code with a flag as option, to allow to go under the first step but with an increasing (%) of the price. It could be a custom development if you think it will never help someone else.
With the second proposition, the "Tiered Pricing", couldn't it be possible with a custom add to cart widget to allow 1,2,3,4,5, 6, 12,18,24,... and the price will be adapted with the information in the tiered prices. So like this the prices are fixed following the quantity but the widget don't allow to put any value..
With the second proposition, the "Tiered Pricing", couldn't it be possible with a custom add to cart widget to allow 1,2,3,4,5, 6, 12,18,24,... and the price will be adapted with the information in the tiered prices. So like this the prices are fixed following the quantity but the widget don't allow to put any value..
The tiered pricing feature can already set the pricing as you need it.
The problem is just this quantity step.
Couldn't you allow in your code with a flag as option, to allow to go under the first step but with an increasing (%) of the price. It could be a custom development if you think it will never help someone else.
It is quite complex unfortunately. Setting a "step" such as 6 is a feature of the browser that all browsers have (the step is just set in HTML). Adding additional options besides the normal step requires us to add our own custom javascript.
It can be done but we do not do custom code projects or customizations directly unfortunately - I'd suggest trying to get a quote from a customization company like wpkraken.io , codeable.io etc.
Hello,
For the B2B customers, I want that the customer buy by multiple of quantities (for example 6) so it will be 6, 12, 18 ... This step quantity is fixed for each product.
But if the customer really want less than the fixed quantity for a certain product, I want to allow 1,2,3,4 or 5 but with an higher price.
So and the end, the customer for a product that we want to sell buy 6 can order : 1,2,3,4,5,6,12,18,24,30....
How can we do that ?
The button add to cart as also to accept those quantities of course.
Thanks in advance,
Hi Frédéric,
First of all, please note that it is possible to configure "Tiered Pricing": https://woocommerce-b2b-plugin.com/docs/b2bking-tiered-pricing-setup-auto-generated-tiered-pricing-table/ - basically you can use this feature to configure different prices for 1, 2, 3, 4, 5, 6-12, 12-20, etc.
Our plugin can also set a "required multiple" quantity. Indeed it can be set to "6" and it will force the quantity to go from 6 to 12, 18, etc.
However, it is not really possible to make it stop applying for 1, 2, 3, 4, 5. The plugin does not have this feature.
If you would like, actually you can configure a "required multiple" rule like this one:
This rule will force the "6" quantity multiple in Cart only for quantities higher than 5, but it only works in cart, and it works only after refreshing the page. On the product page it will not work for the quantity to go from 1, to 2, 3, 4, 5, 6, 12, etc. That kind of feature making the quantity move smoothly is not currently possible.
Kind regards,
Stefan
Hello,
Thanks for your answer.
required multiple could be a first solution but the for us, the quantity imposed is different for each product . I have (or can put) the quantity information (step) on each product (b2bking field if you add it or ACF custom field).
So with 1 rule, I can have a solution for all the products. Couldn't you allow in your code with a flag as option, to allow to go under the first step but with an increasing (%) of the price. It could be a custom development if you think it will never help someone else.
With the second proposition, the "Tiered Pricing", couldn't it be possible with a custom add to cart widget to allow 1,2,3,4,5, 6, 12,18,24,... and the price will be adapted with the information in the tiered prices. So like this the prices are fixed following the quantity but the widget don't allow to put any value..
Thanks,
With the second proposition, the "Tiered Pricing", couldn't it be possible with a custom add to cart widget to allow 1,2,3,4,5, 6, 12,18,24,... and the price will be adapted with the information in the tiered prices. So like this the prices are fixed following the quantity but the widget don't allow to put any value..
The tiered pricing feature can already set the pricing as you need it.
The problem is just this quantity step.
Couldn't you allow in your code with a flag as option, to allow to go under the first step but with an increasing (%) of the price. It could be a custom development if you think it will never help someone else.
It is quite complex unfortunately. Setting a "step" such as 6 is a feature of the browser that all browsers have (the step is just set in HTML). Adding additional options besides the normal step requires us to add our own custom javascript.
It can be done but we do not do custom code projects or customizations directly unfortunately - I'd suggest trying to get a quote from a customization company like wpkraken.io , codeable.io etc.
Kind regards,
Stefan
The quantity step is more important than to allow less than the first quantity step.
So I prefer to first solve how to put a quantity step for each product ? If I can select an ACF field in case of a fixe value it's solved.
The step is different for each product whatever the category. So I can't put a quantity step fixed for a category.
As you write it's just an HTML code, I can put a custom code where I will replace your fixe value the the ACF field.
Thanks in advance,
So I prefer to first solve how to put a quantity step for each product ? If I can select an ACF field in case of a fixe value it's solved.
To set a quantity step, you can create a dynamic rule:
In the latest plugin version it can also be set for each product when editing the product:
https://woocommerce-b2b-plugin.com/docs/quantity-rules-min-max-step-on-product-page/