This project is a plugin and a template that sells and mints non-fungible tokens using WordPress & WooCommerce, the NFTs are generated from the WC product downloads files, the plugins automatically mints the NFTs to the buyer address, the NFTs are minted on polygon network once the payment is captured by the store using any WC compatible method, the user gets the order details with the tx details and link to the polygon scan.
This plugin changes 3 main things:
Wordpress Plugins required only WooCommerce, EthPress if you want to login with your wallet, not needed but recommended
I have created a custom plugin for WordPress which allows anyone to buy and mint NFTs directly from a WordPress install and pay for it using any supported gateway in WooCommerce .
This was made using and extending the WordPress & WoooCommerce Core, the theme used is the official from WooCommerce https://woocommerce.com/storefront/ with minor style changes and an user icon added at the top to make the navigation to the user account easier.
The project idea came to my after some research about the hackathon sponsors, so I decided to build this on Polygon using the NFTPort.xyz API for mint and get the NFTs data, and the Moralis.io APIs to connect to the user from the front end and to make the transfer of the NFTs directly from the website UI .