最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Can a woocommerce hook alter the UI of a website?

programmeradmin1浏览0评论

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
Add a comment  | 

1 Answer 1

Reset to default -1

This 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.

发布评论

评论列表(0)

  1. 暂无评论