Okay
  Public Ticket #3528569
Tiered Pricing
Closed

Comments

  •  3
    Brian started the conversation

    Is there a way to have a tiered price that is by quantity in different levels but keeps the base level at the base price?

    For example, I want products 1-10 to be $1000  each but if you go higher 11+ each one of the higher products is $500 while the 1-10 quantity is still $1000 each.   So for 10 products it's $10,000; 11 would be $10,500; 12 would be $11,000, etc.

  •  2,218
    WebWizards replied

    Hi Brian,

    Thank you for purchasing our plugin,


    We just added this feature in the last update!

    We describe how this works here:

    https://woocommerce-b2b-plugin.com/docs/b2bking-tiered-pricing-setup-auto-generated-tiered-pricing-table/#6-toc-title


    Basically, you can add this PHP code snippet to your site, which changes how tiered pricing works:

    add_filter('b2bking_tiered_pricing_use_each_additional', '__return_true');
    add_filter('b2bking_price_per_unit_text', function($text){
        return 'Price by Quantity';
    }, 10, 1);
    

    A PHP snippet can be added to functions.php, or by following our guide here: https://woocommerce-b2b-plugin.com/docs/how-to-add-a-snippet-php-or-js/

    After adding this snippet, you could configure a product like this, to achieve the pricing setup your described:

    2950105667.png



    Let me know if that works for you,


    Kind regards,

    Stefan

  •  3
    Brian replied

    will the snippet go away when you update Wordpress or Woo?  Or will it stay the n the configuration?

  •  2,218
    WebWizards replied

    We recommend that you add this snippet through the Code Snippets plugin: https://wordpress.org/plugins/code-snippets/ (this one, or any other snippets plugin).

    This way, you would not lose it when there is any wordpress or woo update. This snippet basically just tells B2BKing to use a different calculation method.


    If it helps, I can try to set it up on your site directly. I would need a backend login to the site, or to a staging clone site.

  •  3
    Brian replied

    I installed it and I don't see the options to configure the pricing step.


    Attached files:  Screenshot 2023-11-24 at 12.14.47 PM.png
      Screenshot 2023-11-24 at 12.14.36 PM.png

  •  2,218
    WebWizards replied

    Hi Brian,

    It is odd that you do not have that field there,


    I think perhaps it was deactivated in Settings. Please try going to B2BKing -> Settings -> Other -> Advanced / Components and make sure that this switch is DISABLED:

    It should look like this:

    9869830824.png

    If enabled, please make sure to turn that off in order to see the tiered price fields.


    Let me know if that can help solve it.

    If not, is it possible to share a backend login to the site or staging site? We can look into it directly to see what the problem is. Another possibility may be some kind of plugin conflict.


    Kind regards,

    Stefan

  •  3
    Brian replied

    well, that's a problem as I need the group pricing.  I have a products that need to be only in the B2B Distro Group or B2B Distro Advanced Group.

    Once they distro crosses the 10 threshold, they need to always get the $500 price not the $1000 price so I was planning on putting them in a different group (Distro Advanced Group).  Unless you have a way to look historically at all of their orders to see if they have purchased 10 or more to be at the $500 threshold for the rest of their orders.    This would be a pricing tier based on historical purchases.  

    I also cannot find in any of my plugs a way to see a customers orders by product.  In other words, how many of a particular product has the customer purchased.  Seems like a normal store function but I can't find it anywhere. 

  •  2,218
    WebWizards replied

    well, that's a problem as I need the group pricing. 

    I think there's some confusion or maybe I am misunderstanding you. I was not saying to deactivate group price.

    I was saying that we have a switch which deactivates group and tiered pricing, and to please make sure someone did NOT accidentally enable that, as it would explain why you do not see that field.

    Those switches there deactivate B2BKing features and they should normally look like this https://prnt.sc/zt3pnwPMAyLm, turned off, meaning that all B2BKing features are active.




    I also cannot find in any of my plugs a way to see a customers orders by product.  In other words, how many of a particular product has the customer purchased.

    I think the closest available option is to go to WooCommerce -> Orders and use "filter by customer" to see all orders of a particular customer:

    1368060512.png

    However, this does not show products directly, each order would need to be opened to see what products it contains.

  •  3
    Brian replied

    I understand now.  The on button was disabled.... they off button is not disabled. so I was thinking backwards. Now I have the fields but It's ignoring for the Distributors group B2B, the quantity.  When I log in as a Distro, it shows me zero stock status.  It is zero stock status for customers but not not for the Distributors, they are the only ones that can purchase the product now.  

    Attached files:  Screenshot 2023-11-25 at 11.41.37 AM.png

  •  3
    Brian replied

    I checked the directions for the stock. My screens don't match the direction screen.  I do have the box checked in the settings for separate stock.


    Attached files:  Screenshot 2023-11-26 at 10.44.27 AM.png
      Screenshot 2023-11-26 at 10.40.16 AM.png
      Screenshot 2023-11-26 at 10.39.16 AM.png

  •   WebWizards replied privately
  •  3
    Brian replied

    I did the commercial update just a minute ago.  I did not deactivate and reactivate... do I need to do that every time as I have several rules in place.  

    Other question.  I have B2B core still active, should I deactivate it and delete it?

    Attached files:  Screenshot 2023-12-01 at 11.56.37 AM.png

  •  2,218
    WebWizards replied

    Hi Brian,

    Yesterday we released an official update, 4.8.50 - if you update to that through the normal update buttons, there is no need to do anything else such as deactivate / reactivate plugins - that was only for the manual update I attached here which is no longer needed.


    Regarding this:

    3545636040.png

    This is a bit unclear, are these products for which you configured B2BKing product visibility, but they are still showing? or what do you mean here by "deactivated"?

    If you are indeed configuring product visibility, it might help to go to B2BKing -> Settings -> Other and activate "Product Visibility Cache", as it sets visibility at a deeper level.


    Regarding why that product (animated goblin topper) shows in 2 separate places: I am not entirely sure as it depends on your theme and setup, B2BKing does not have features for this, but it seems to me that you might have 2 separate "related products" areas there ("Related" and "You may also like..."). It may be needed to remove one of them.

  •  3
    Brian replied

    Do I leave the core B2B installed or should I deactivate and remove it from the plug ins as I have the pro.  Do you just need the pro or both?

  •  2,218
    WebWizards replied

    Both plugins should remain activated as the 2 work together. It should look like this with both Core and Pro active:

    2461172739.png