Setting up Coupon Shortcodes with WooCommerce
In the next WooCommerce WordPress plugin add-on guide, we will show you how to install and implement the Discount Shortcodes add-on, which allows you to add shortcodes to your website that will add discounts to your products or shopping cart more easily.
Step 1) On the Dashboard, head to ‘WooCommerce’ and click on ‘Add-ons’ from the dropdown.
Step 2) From the Add-ons section, click on ‘Free’ to bring up the list of free add-ons, and then click on ‘Discount Shortcodes’ from the list provided.
Step 3) This will direct you to the WordPress.org plugin page for ‘Discount Shortcodes’. Give the details a read-through before clicking ‘Download’, which will send a copy of the plugin to your Downloads folder in the form of a .zip file.
Step 4) Back on your website Dashboard, scroll down your sidebar and click ‘Plugins’, and then ‘Add New’. From the next page, hit ‘Upload’ and then ‘Choose File’, and find the .zip file for your new plugin and click on ‘Install Now’.
Step 5) Now that the plugin has installed, click on ‘Activate Plugin’ to complete the process.
Step 6) Click on ‘WooCommerce’ and then ‘Checkout’ from the settings page. The first option you will see is ‘Enable the use of coupons’. Click on that to enable coupons, and then start creating your own coupon shortcodes to add to your product pages.