• Hello. I’m creating woocommerce store..So my client asked me to display the 10% of products bought by customers on the top of the page…
    Lemme explain it clearly,
    If somebody buys a product which is worth 100$ and if somebody bought the product..10% of value will be displayed on the top of the page..which means 10 $ will be displayed on the top of the page…

    because 10% from the sales will go in charity
    so i want at the top number of how much in total from the sales went to charity
    so after every purchase automatically the number to calculate 10% from the sale and the total number of the page to increase
    lets say we have total of 5000$ of donation to charity and thats the number that is currently showing on the page
    somebody ordered the product that is 100$
    10% from that is 10$ immediately after the purchase the total number to go up to 5010$
    so the people that are purchasing can immediately see it..

    So please help me and explain me how can it be done?

    Regards,
    Arshad

Viewing 1 replies (of 1 total)
  • Plugin Support Riaan K.

    (@riaanknoetze)

    You’ll need some extensive custom coding for that as you’ll need to save that number to the database, factor in refunds and allow it to be cached/uncached. There’s no quick & easy answer and you’d likely need to get in touch with a web developer to have that custom-developed for you.

Viewing 1 replies (of 1 total)

The topic ‘Online Store Issue’ is closed to new replies.