Okay
  Public Ticket #3429884
discount
Closed

Comments

  •  2
    Lasse started the conversation

    Hi,

    Love the plugin, the customer asked: How can we set på tierd prices, so it take the totalt amount of items in the cart, and then apply the discount for the user?

    example: the shoes has a tired pice of 7 shoes, and you get the discount. But it has to be this specific shoe. Can i be when you buy 7 shoes in total, regardless to model. That it then applyes the dicount defiend?

  •  2,218
    WebWizards replied

    Hi there,

    Thank you for purchasing our plugin : )


    It's possible to count the quantity using the total cart quantity of all items (rather than the quantity of that specific product).

    To do that, please add this PHP code snippet to your site:

    add_filter('b2bking_tiered_pricing_uses_total_cart_qty','__return_true');
    


    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/


    Let me know if I can help with anything, or if you have any questions,

    Kind regards,

    Stefan