I was wondering if there is a way to make a woocommerce hook that alters the UI of a website. For example, if a user wants to purchase an item it should provide the option of paying with "website points" instead of visa by adding a "purchase using points" button or something similar.
I was wondering if there is a way to make a woocommerce hook that alters the UI of a website. For example, if a user wants to purchase an item it should provide the option of paying with "website points" instead of visa by adding a "purchase using points" button or something similar.
Share Improve this question asked Jul 15, 2019 at 12:55 Kamal SalahKamal Salah 1 3- You say "alter the UI", but unless this "purchase using points" button is entirely decorative, then you're actually asking a whole lot more than adding a button to the UI, you're talking about adding a completely separate currency system. – Jacob Peattie Commented Jul 15, 2019 at 12:56
- Okay so how can I add a separate currency system with for example 100 points being equivalent to 1 dollar and having the option to pay with either points or dollars? @JacobPeattie – Kamal Salah Commented Jul 15, 2019 at 13:24
- That’s far to big a topic for this site, especially if you’re struggling with adding a button. I’d suggest looking into existing solutions. – Jacob Peattie Commented Jul 15, 2019 at 13:55
1 Answer
Reset to default -1This isn't a simple UI change, as pointed out above. If you wanted to develop something I think you would start by creating your own payment gateway. For example, a buyer could choose to pay for an item by credit card, Paypal or Points.
You can find out more about creating your own gateway HERE.
Also, there are a couple plugin options that seem pretty close to what you are asking. Take a look at THIS or THIS.