PHPackages                             cedaro/woocommerce-coupon-links - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. cedaro/woocommerce-coupon-links

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

cedaro/woocommerce-coupon-links
===============================

A WordPress plugin to automatically apply a WooCommerce coupon code to the cart with a URL.

v2.2.1(1y ago)13770.4k—9.1%24[1 issues](https://github.com/cedaro/woocommerce-coupon-links/issues)GPL-2.0-or-laterPHPCI failing

Since Feb 19Pushed 1y ago18 watchersCompare

[ Source](https://github.com/cedaro/woocommerce-coupon-links)[ Packagist](https://packagist.org/packages/cedaro/woocommerce-coupon-links)[ Docs](https://github.com/cedaro/woocommerce-coupon-links)[ RSS](/packages/cedaro-woocommerce-coupon-links/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (3)Versions (10)Used By (0)

WooCommerce Coupon Links [![Build Status](https://camo.githubusercontent.com/023d0225acbe4a775afb5e5ff02d2fd5812637cc1f9c8952a45d3f213c07fad4/68747470733a2f2f7472617669732d63692e6f72672f63656461726f2f776f6f636f6d6d657263652d636f75706f6e2d6c696e6b732e7376673f6272616e63683d646576656c6f70)](https://travis-ci.org/cedaro/woocommerce-coupon-links)
=======================================================================================================================================================================================================================================================================================================================================================

[](#woocommerce-coupon-links-)

Automatically apply WooCommerce coupon codes to the cart via a URL.

**Contributors:** [Luke McDonald](https://github.com/thelukemcdonald), [Brady Vercher](https://twitter.com/bradyvercher)
**Requires:** 6.0
**Tested up to:** 6.6
**License:** [GPL-2.0+](https://www.gnu.org/licenses/gpl-2.0.html)

Usage
-----

[](#usage)

First, you will need to [set up a coupon](https://docs.woocommerce.com/document/coupon-management/) in WooCommerce. The coupon can then be applied by adding a `coupon_code` query argument to the cart URL.

`https://audiotheme.com/cart/?coupon_code=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&coupon_code=highfive`

In the above example, a product with the id of `2804` will be added to the cart with the `highfive` coupon applied.

Installation
------------

[](#installation)

1. Download the [latest release](https://github.com/cedaro/woocommerce-coupon-links/archive/master.zip) 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.

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity48

Moderate usage in the ecosystem

Community19

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 92.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~586 days

Recently: every ~821 days

Total

7

Last Release

586d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8e6e3b868bf75a4204de91fdc45d15b02a6874b6f88706d06cacfea1857fa0e5?d=identicon)[bradyvercher](/maintainers/bradyvercher)

---

Top Contributors

[![bradyvercher](https://avatars.githubusercontent.com/u/1302030?v=4)](https://github.com/bradyvercher "bradyvercher (50 commits)")[![lukemcdonald](https://avatars.githubusercontent.com/u/299173?v=4)](https://github.com/lukemcdonald "lukemcdonald (3 commits)")[![hjoelr](https://avatars.githubusercontent.com/u/221971?v=4)](https://github.com/hjoelr "hjoelr (1 commits)")

---

Tags

couponswoocommercewoocommerce-coupon-codeswordpresswordpress-pluginwordpress

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cedaro-woocommerce-coupon-links/health.svg)

```
[![Health](https://phpackages.com/badges/cedaro-woocommerce-coupon-links/health.svg)](https://phpackages.com/packages/cedaro-woocommerce-coupon-links)
```

###  Alternatives

[roots/bedrock

WordPress boilerplate with Composer, easier configuration, and an improved folder structure

6.5k441.8k2](/packages/roots-bedrock)[cedaro/gravity-forms-iframe

Embed a Gravity Form on any site using an iframe.

1563.0k](/packages/cedaro-gravity-forms-iframe)[iceicetimmy/acf-post-type-selector

Post type selector for Advanced Custom Fields.

559.0k](/packages/iceicetimmy-acf-post-type-selector)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
