How to add sale percentage on top right corner in a product

Home Forums WordPress Themes How to add sale percentage on top right corner in a product

This topic contains 1 reply, has 2 voices, and was last updated by  supporter 3 months, 2 weeks ago.

Website URL: 167b42f5-1648-476e-993b-0ea68a6e5ece
Theme: James - Responsive WooCommerce Shoes Theme
Purchase Code: Supplied
Support date: 2017-03-10expired

  • Author
    Posts
  • #28158

    Theodoros Kalfas
    Participant

    Goodevening…

    As you can see in the image I would like in the Sales Products instead of the word ‘SALE’ to write for example ‘SALE 20%’
    This 20% will be the percentage of 79 and 57.
    I mean that if the price was 80 and the sales price 40 then the percentage will be 50%

    Is there any ‘hack’ way to add this? To automatically find this percentage for each Sale Product?
    If no, where exactly in your theme do you have this ‘SALE’ word in order to add the code from my own?

    Attachments:
    You must be logged in to view attached files.
  • #28207

    supporter
    Moderator

    Hi.

    Please provide us your login details in private reply that we can help.

    Thanks.

You must be logged in to reply to this topic.

Browser our premium, beautiful WooCommerce WordPress themes for your online store