The WooCommerce URL Coupons is a great extension that allows you to set up a unique URL (ex. https://zen.agency/trysave20) and automatically apply product or cart discounts without the need for your customers to enter an actual coupon code. Using the page redirect option, you are able to redirect customers to a page after visiting the unique URL.
While setting up the extension, I found an issue that can arise for website owners who are running any type of caching plugin on their website. The issue breaks the coupon functionality when the caching plugin caches the unique URL you’ve chosen. We happen to use W3 Total Cache, and luckily, there is an easy fix by following the 2 steps outline below:
Create a unique prefix to be used for all your URL couponsFor this demonstration, let’s use “coupon/”. So, instead of my unique URL being https://zen.agency/trysave20, it will carry the coupon/ prefix and be called https://zen.agency/coupon/trysave20
Modify W3 Total Cache to NOT cache any requests with the coupon/ prefixThis setting can be found under Performance>Page Cache. Scroll to the bottom of the page and you will see “Never cache the following pages”. Just add coupon/ to the text box.
Established in 2008, Zen Agency has a rich history of helping clients create impactful solutions and strategies that drive stellar ROI. Based in the heart of Wyoming, Pennsylvania, our team specializes in a wide variety of services including e-commerce, web design, and conversion optimization. We set our approach to achieving their desired results because we…
In the grind of running an online retail operation, many small details get ignored. But often enough, these small details can make or break your online store. With this in mind, it’s time to stop overlooking the small things, because they can have a pretty bug effect on your success. This post lists a few…
Building an ecommerce store from the ground-up is an exciting, but challenging, experience. You have to worry about sourcing products, having enough capital to stock inventory, being able to properly market your business, successfully fulfilling orders, among many other things. This is why having sufficient capital is paramount when building a new store– you don’t…
In today’s fast-paced digital world, eCommerce is no longer a one-size-fits-all solution. Businesses that aim to stand out in a competitive marketplace need more than just a basic online store. They require customized features, seamless integrations, and a user experience that reflects their brand’s unique identity. This is where expert WooCommerce developers come into play….
For your E-Commerce store to become wildly successful, you’ll need a strong platform. The platform is the backbone of your store. If your platform lacks certain features and is not as powerful as it needs to be, your store will always underperform. Your store needs to be flexible and functional enough to meet the demands…
As your eCommerce business grows, so do your needs for a more advanced, scalable, and optimized WooCommerce store. Whether you’re building your online store from the ground up, enhancing its features, or optimizing performance, choosing the right WooCommerce development agency is crucial to your success. A professional and experienced agency can help you create a…
We have an outside-the-box type of mindset and take an innovative approach to all of our client’s needs. We take the guesswork out of your Cost Per Acquisition (CPA) and Return On Investment (ROI) by delivering measurable results that we let steer the next moves of our marketing strategies.
Zen Agency is a full-service agency offering the most creative branding, clean code web development, and measurable marketing services to help your company reach the pinnacle of success. Proudly serving Wilkes Barre – Scranton web design clients, Pennsylvania web design clients, and businesses worldwide.
Our Locations
155 Wyoming Ave Wyoming, PA 18644 USA
1236 Cordova St Building, Suite 201 Billings, MT 59101 USA