It feels great to write a post announcing a new product or promotion for your store. However, it can be disappointing when your hard work in doing so doesn’t translate into sales. Fortunately, there’s a simple way to let WooCommerce automatically apply coupons for your readers, and even pre-fill their carts to reduce friction when purchasing your new product(s). This can help turn those blog readers into purchasers!
The only thing you’ll need to complete this tutorial is the URL coupons extension for WooCommerce, which is $49. We’ll assume you already have your products set up and ready to purchase .
Step 1: Write your announcement post
The first step is to write the post (or create a page) to announce your store’s new products, a sale, or whatever you’d like to offer a coupon for reading. When your readers visit the URL of this blog post or page, they’ll automatically have the coupon applied and you can add products to the cart as well.
This can be really handy when you announce a product, as customers can just jump straight to the checkout with their purchases and a discount in hand. When you use a URL coupon, customers won’t even need to enter a coupon code – the discount is automatically applied because they’ve visited this URL.
Note that if you don’t add any products to the cart with the coupon, then the discount will not be applied – something must be in the cart for this to be added.
I’ve written my post and included my new products within the post using the recent products shortcode:
[recent_products per_page="2" columns="2" orderby="date" order="desc"]
You could also use the
[products sku="wp-coffee-tee"] to display a single product (here are more product shortcodes). The ID or SKU attribute can be used to identify the product if you’d like to include it in your post, though this isn’t required for the tutorial to work.
The final step you’ll want to take is to include a notice somewhere in the post that you’ve automatically applied a coupon and added these new products to the cart just to say “Thanks for reading”. You could also include a link to your cart page (usually
mystore.com/cart/) to make it very easy for customers to go buy your new products.
Now the customers can click to visit the cart, and items have already been added along with the coupon: