Public Ticket #3468419

Dynamic Pricing

Closed
Comments
4 Tickets
Richard Everton started the conversation 3 years ago on September 16, 2023 at 5:23am

Can't get this simple discount to work ... buy 1 -5 bottles of a product and get 10% and buy 6 or more and get of the same product and get 35%


3931307836.png


2,762
KingsPlugins replied 3 years ago on September 16, 2023 at 12:08pm

Hi Richard,

To configure a 10% discount for 1-5 items, and 35% for 6+, the simplest way is probably to use tiered pricing.


You can follow these steps:

1. Activate the % setting here in B2BKing -> Settings -> Tiered -> Enter % Instead of Prices

2495373192.png


2. Create a tiered price rule where you select the product or category:

2598484284.png


This also displays a table with quantities and discounts:

5193128810.png


Kind regards,

Stefan

4 Tickets
Richard Everton replied 3 years ago on September 16, 2023 at 12:18pm

is the dynamic rule feature not working then?

I also tried on the demo site and also tried it with cart spend but that didn’t work either?


cheers


R

4 Tickets
Richard Everton replied 3 years ago on September 16, 2023 at 12:23pm

I don’t want to offer the same quantity offer to all customers… I need to be able to offer different groups of customers a different quantity discount so tiered pricing would not work as it offers it to everyone doesn’t it?

Cheers

2,762
KingsPlugins replied 3 years ago on September 16, 2023 at 1:30pm

Regarding tiered pricing, you can also configure different tiered price rules for different groups:

3713514798.png

It is not the same for everyone.



Regarding discount rules: those can also be used. There's probably some kind of configuration issue. I would need a screenshot of each rule's configuration to be able to say what the problem is.

You can configure 2 rules, like this:

1 rule for 1-5 quantity:

2693639019.png

1 rule for 6+

2038537953.png


The price of the product on my test site is 100.

With 1 item in cart, the price becomes 90 because of the 1-5 rule:

7239390237.png

With 6 items in cart, the price becomes 65:

9877776546.png


2,762
KingsPlugins replied 3 years ago on September 16, 2023 at 2:10pm

In that order, the discount should be applied based on the 35% discount rule.

I'm not sure what the issue is.  I tested with that same rule on my local test site but that seems to work for me.

I configured the rule:

3392403153.png

-> in cart I can see the category discount:

8345341864.png





Are you sure the products in your order are part of the categories selected in the rule there?



We can check it directly on your site if you'd like. For that, would you be able to share a backend login to the site or a staging clone site?

4 Tickets
Richard Everton replied 3 years ago on September 16, 2023 at 2:43pm

[email protected]

Password - TestingB2BKing


I have checked the products and they are in the italy category.


When i tried to set the rule just by product I started typing cortef into the search but no products at all come up but I exported the B2Bking price list and they are all on the system ok?


No idea why it isn't working? I also tried to set up the rules on your demo site and it did not work on there either?

4 Tickets
Richard Everton replied 3 years ago on September 17, 2023 at 10:12am

Hi Stefan

Did you find out why this was not working by any chance?

Assuming this does work then I am happy to convert my recent purchase into a 12 month support for $99 or whatever the price was and for you hold the balance as a credit in my account?

2,762
KingsPlugins replied 3 years ago on September 20, 2023 at 1:18am

Thank you, that works, however I am not able to access the site backend to check rules and configuration.


I would need the user to have admin backend permissions, so I can troubleshoot and work on the issue. Can you look into that please?

4 Tickets
Richard Everton replied 3 years ago on September 20, 2023 at 7:07am

Hi

One issue is that the search does not work in product or variation.. whether you search by the product name or the number allocated by B2BKing. I can see that when I select all products the Cortefresca Pinot Grigio White is there (B2BKing number 4241). I am totally confused as to why the discount does not work.. I also tried it with tier pricing as you suggested but that did not work either.

3504823803.png

9319301859.png
7329774252.png
7687017197.png


2,762
KingsPlugins replied 3 years ago on September 25, 2023 at 3:58am

Hi again,

(1) Regarding products search:

It's possible to enable that in settings, I enabled it now in B2BKing -> Settings -> Other -> Dynamic rules: replace product dropdown.

Now you can search for each product by name:

5378478032.png


(2) When testing discounts, I see that if I add more than 5 items to cart, the category discounts are applied:

6804520358.png

I placed that order to test, and I see the prices in cart are the same as the final prices:

2834971485.png


That rule is not configured well, because since it's for each category, if multiple categories are in cart, each discount is applied and the total is 0.


3) I modified your rules in order to try and achieve this:

buy 1 -5 bottles of a product and get 10% and buy 6 or more and get of the same product and get 35%


Now I see that we have a 10% discount for 1-5 items in the Italy category, + a 35% discount when there are 6+ items in cart.

I took a quick video to show what I'm seeing: https://www.loom.com/share/0a1304d53e9e4e0f83c1a9d5d82ee07e?sid=244aae39-a5ad-4e73-83ea-8f8b3e931b5f


4 Tickets
Richard Everton replied 3 years ago on September 25, 2023 at 5:09am

Hi Stefan

I have just changed the rule to product cortefresca ppinot grigio only and for guest users and the discount does not show. It should say 35% for the 6 bottles and 10% for the single bottle?


9365320950.png


4 Tickets
Richard Everton replied 3 years ago on September 25, 2023 at 5:13am

Just looked at your video and I see that you are placing an order as a customer whereas I am placing an order on the back end manually which is how a lot of our wholesale customers orders will be placed as they message them to us rather than going online?

4 Tickets
Richard Everton replied 3 years ago on September 25, 2023 at 5:23am

So I have just run a test and it is exactly that.. the discount works if entered via the front end as a customer but when entered manually by admin on the back end it does not work?

2,762
KingsPlugins replied 3 years ago on September 25, 2023 at 6:20am

Hi again,

Our plugin can apply group prices and *some* dynamic rules on the backend, but not all rules. In this case, that rule is based on the quantity in cart. Since here the cart is not being used, the conditions do not work.


In this case, I'd suggest to place the order as the customer via the frontend: this way all rules and conditions would work normally.

It can be done by logging in with this free plugin: https://wordpress.org/plugins/login-as-user/

It will add a button as follows:

screenshot-1.jpg?rev=2122265



4 Tickets
Richard Everton replied 3 years ago on September 25, 2023 at 6:48am

Thanks for explaining this.

Please can you sort the support subscription out for me now as per the message last week? Many thanks.

Cheers

Richard


7456323677.png


4 Tickets
Richard Everton replied 3 years ago on September 28, 2023 at 6:09am

Hi Stefan

We are very close to going live with our new site so this is very urgent please.

I am having an issue with the price displayed for a guest user. Here is an example of a product that is just on the website for any guest/browser to see. The price is correct (it is the regular price in the product in woocommerce) but I cannot get the price to say including VAT?

6442450317.png


When I am logged in as myself (B2B user) the prices are displayed as per the settings - B2B Users to see their price and the B2C regular Retail price

6750246797.png


This is the product in the backend and you can see the price is set up as £8.99 for regular price (which is the RRP price including VAT) and £7.49 for the B2B price (excluding VAT).


When I set the settings to show VAT inclusive or exclusive, it changed the retail price to show 8.99 ex vat for for non logged in customers (guests) as opposed to including VAT. It appears that the plugin is treating the regular price as vat exclusive which it is not? That should say Incl VAT

5325359346.png










4 Tickets
Richard Everton replied 3 years ago on September 28, 2023 at 10:26am

Also am I able to get the special prices and discounts to show as the special low price automatically when a customer logs into their account?

2871623070.png



Can I get this discount to automatically say £6.49 on the item line of the cart and also so it says 6.49 as their wholesale price on the order page above


7088463656.png





2,762
KingsPlugins replied 3 years ago on September 29, 2023 at 6:42am

Hi Richard,


(1)

I am confused about the pricing setup.

For the product https://evertons.co.uk/product/cortefresca-pinot-grigio/

Are you looking to enter B2C prices as including VAT, and the B2B price as excluding VAT?

2047192582.png

So in the above screenshot 8.99 is the value inc. vat for B2C, and 7.49 is the value ex. vat for B2B?

Logged out users should see 8.99 inc. vat?

Logged in B2B should see retail: 8.99 inc vat, wholesale: 7.49 ex VAT.


Please confirm if the above are correct, as I'd need to adjust the site tax settings.


(2) 

Can I get this discount to automatically say £6.49 on the item line of the cart and also so it says 6.49 as their wholesale price on the order page above

7088463656.png


For discount rules to be applied directly to the price, you must enable this checkbox in your rules:

9280881016.png


2,762
KingsPlugins replied 3 years ago on September 29, 2023 at 6:45am

To transfer a license between 2 sites, it would be needed to:

(1) Step 1

Click on "Deactivate" here, so the license is removed from the current website:


7638755502.png


(2) Step 2

Go to the new website, login to the backend, go to B2BKing -> Settings -> License and activate the key (which was deactivated during step 1) on the new website.


We cannot do it directly from our end, because it needs to be activated on the new website, in the website's own database.

Sign In