This page looks best with JavaScript enabled

how to get Quantity based pricing table code in your custom theme

 ·  ☕ 2 min read  ·  👽 john hashim

there are some points that you will need to offer a discount to your customers base on the number of units or quantity sold and if you’re a shop owner you know how customers love discounts so let’s get started 🙂

WooCommerce Discount Rules helps you to create any type of bulk discounts, dynamic pricing, advanced discounts, percentage discounts, user role-based discounts for your products. Offer Product quantity based discounts, cart-based discounts at a percentage or fixed amount or Buy One and Get one free (BOGO) deals or discount based on total order. Increase your sales multifold by offering dynamic pricing and discounts based on categories, products, user roles, cart items, purchase history and much more.

You can set discounts for products, product variations, categories, attributes and more. You can also create customer specific, user roles based discounts.

Discounts will be visible in the product page, product details page, cart, checkout and in email notifications.

Display the pricing discount table beautifully on the product page. Start selling more and retain customers by running promotions with the best dynamic pricing and discount plugin for WooCommerce.

Well, this is only for woo-commerce custom built themes … we are not adding or removing anything from woo-commerce but changing the layout of our code.

if you’re trying to show only the table or embed the table only without a messing up your function.php then this snippet will help

<?php do_action( 'woocommerce_product_meta_end' ); ?>

So simple …. this is the same code found in woo ==> meta.php template.. so in having this code in single product page will only show the table on depending on your layout or what your looking for

Share on

john hashim
john hashim
Web Developer