How to add % off sale text to product page
-
There is sale label (-%x Sale) on category page top of product images. I want to add “%x Sale” as text (not label) to product page. Please give code for that. I will add the code in woocommerce/templates/single-product/price.php file to see top of prices. Please check my attached file.
Attachments:
You must be
logged in to view attached files.
Hello,
First of all thanks for choosing our Theme, we are glad to be you in the WoodMart WordPress family :).
I saw the screenshot you attached. Unfortunately, we could not provide you with the code. Because the products are WooCommerce functionality and our theme doesn’t influence this.
You can try contacting WooCommerce support for further help.
Best Regards.
Hello,
Thank you for your interest. Please check again attached file and web link which is in private.
I found a way to apply this but now, Percentage is like ” -15% “, I have to convert this like ” %15% ” Please help for this.
Attachments:
You must be
logged in to view attached files.
Hello,
You are Welcome.
Unfortunately, Sorry we could not help you with this as you are asking core customization tasks which are not covered in our Theme Support. This is out of our scope.
Best Regards.