cedaro/woocommerce-coupon-links 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

cedaro/woocommerce-coupon-links

最新稳定版本:v2.2.1

Composer 安装命令:

composer require cedaro/woocommerce-coupon-links

包简介

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

关键字:

README 文档

README

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

Contributors: Luke McDonald, Brady Vercher
Requires: 6.0
Tested up to: 6.6
License: GPL-2.0+

Usage

First, you will need to set up a coupon 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

  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.

统计信息

  • 总下载量: 64.96k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 137
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 137
  • Watchers: 18
  • Forks: 24
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固