How to Display Sale Percentage for Variable Products using Dynamic Pricing and Discounts for WooCommerce?

Folks using VendiPro theme are used to seeing a sale percentage tag when a discount is applied to variable products. But when you apply discounts using our Dynamic Pricing and Discounts Plugin for WooCommerce, the sale tag does not seem to show the discounted percentage, even though the discount is applied to the products.

Hence to resolve this, you can add the code snippet provided below.

Code snippet to display Sale Percentage for Variable products in VendiPro theme

Add the following code snippet in the functions.php file of your website theme.

Remember, this code snippet will only work if you are using the VendiPro theme.

 

To know more about the product, check out Dynamic Pricing and Discounts Plugin for WooCommerce.

To know more about other features of the plugin, read product setting up article.

Or check out documentation section for more related articles.

    Leave a Reply