1. Introduction

Assume that you have woocommerce application installed on a domain say https://plugins.modulespanel.com/, then you can create url coupons like https://plugins.modulespanel.com/happy-xmas (Just click the link to see it in action) using the plugin after installing it.

Those are URLs to the woocommerce store, those links can be shared with customers. So that customer can take those links on a browser and that will add products and a coupon automatically to the cart. So it will be a lot easy for the customer to place an order without typing any coupon code and adding products to the cart manually.

2. Installation

Copy the folder mpwc-url-coupons to the wp-content/plugins folder of your wordpress. Then take the plugins link from the admin area and that will list all of the available plugins in your wordpress

Locate the ModulesPanel's URL Coupons from the listing, and it will be listed as shown below. Then just click on the link Activate, that will install the plugin.

Fig.1 Plugin Listing

Once the plugin is activated, In the the WoCommerce section of the left side menus of admin area, at the bottom there will be a link with the label ‘Mpwc URL Coupons’. Just click on that link, and that will take you to the plugin settings page.

Fig.2 Plugin Listing

3. Manage Woocommerce URL Coupons

3.1 Settings

From Settings, Hide Coupon Code Field section give you facility to hide coupon fields on Cart page and also on Checkout Page.

Fig.3 Settings

When customer takes the URL coupon, then a coupon will be applied automaticlly. So in this case, you might not be intrested to show the coupon field again in the cart.

So you can just tick the Hide on Cart Page option and then hit the save chnages button, then when the customer takes the URL coupon he won’t see the coupon field in the cart page.

If Hide on Checkout Page is checked and then saved it using the Save Changes button, the coupon field won’t be displayed on the checkout page also.

Redirect To option allows you to select one of two values. Redirect to cart page or Redirect to checkout page.

If you select Redirect to cart page, then after taking the url coupon customer will be redirected to the cart page with the discount applied along with adding the products configured.

If you select Redirect to checkout page, then after taking the url coupon customer will be redirected to the checkout page with the discount applied along with adding the products configured.

3.2 Add URL Coupon

From the Add URL coupon page, you can create a URL Coupon. First you have to select the products (one or more), which should be added to the cart When taking the URL coupon on a browser. Then enter the url coupon. If your store URL is https://myshop.com/ and you would like to create a URL coupon https://myshop.com/happy-xmas, then just type happy-xmas as the coupon URL value.

Fig.4 Add Coupon Form

Then you have to select the coupon to be applied to the cart when taking the URL coupon. In the dropdown you will be to see all of the wocommerce coupons created and then you can select the desired one. See the below picture, you can see that we selected one product and entered enjoy-music as the coupon url. When saving the below form, https://myshop.com/enjoy-music will be the URL coupon crated. So to create a URL coupon https://myshop.com/enjoy-music, we just need to enter enjoy-music

Fig.5 Filled Add Coupon Form

3.3 URL Coupons

URL Coupons tab lists all of the available URL Coupons, from this page you manage them. You can edit or delete them if required. Also can search URL Coupons .

Fig.6 Coupon Listing

If you provide part of a URL Coupon in the search box, on hitting the Search button it will list all of the URL Coupons that has the seacrhed string.

Fig.7 Coupon Search Result

4. Sharing URL Coupons with Customers

Once URL Coupons are created from the dmin side, You can just copy the URLs like http://dev.wordpress/happy-birthday-jhon from URL Coupons page of the plugin, and share the link with customer. Customer just need to click on the link and then the products will be added to the cart and also the discount coupon will be aapplied! From the customer point of view, it’s much less work for them to order products with discounts. And that should make your customers happy.