WP Manifestindependent plugin directory
manifest / ecommerce / woocommerce-coupon-links

WooCommerce Coupon Links

A WordPress plugin to automatically apply WooCommerce coupon codes to the cart via a URL.

by Cedaro · github.com/cedaro/woocommerce-coupon-links · website

136stars
78kcomposer installs
24forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/cedaro/woocommerce-coupon-links/archive/refs/heads/develop.zip

Also on Packagist as cedaro/woocommerce-coupon-links:

composer require cedaro/woocommerce-coupon-links

Declares an update source (cedaro/woocommerce-coupon-links), so updates arrive through the plugin's own updater.

From the readme

WooCommerce Coupon Links Automatically apply WooCommerce coupon codes to the cart via a URL. Requires: 6.0 Usage First, you will need to set up a coupon in WooCommerce. The coupon can then be applied by adding a couponcode query argument to the cart URL. https://audiotheme.com/cart/?couponcode=highfive If the cart is empty, the coupon will still be applied and visible once the user adds a product. Probably more useful than just applying a coupon code to the URL, is appending the coupon code argument to the end of a product's "Add to Cart" URL. https://audiotheme.com/view/promenade/?add-to-cart=2804&couponcode=highfive In the above example, a product with the id of 2804 will be added to the cart with the highfive coupon applied. Installation ## 1. Download the latest release from GitHub. 2. Go to the Plugins → Add New screen in your WordPress admin panel and click the Upload button at the top next to the "Add Plugins" title. 3. Upload the zipped archive. 4. Click the Activate Plugin link after installation completes.

Read the full README on GitHub →