• Stars
    star
    133
  • Rank 272,600 (Top 6 %)
  • Language
    PHP
  • Created about 11 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

WooCommerce Coupon Links Build Status

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

Contributors: Luke McDonald, Brady Vercher
Requires: 4.7
Tested up to: 4.9
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.

More Repositories

1

satispress

Expose installed WordPress plugins and themes as Composer packages.
PHP
503
star
2

grunt-wp-i18n

Internationalize WordPress themes and plugins with Grunt.
JavaScript
160
star
3

gravity-forms-iframe

A Gravity Forms add-on to embed a form in an auto-resizing iframe on external sites.
PHP
150
star
4

wprestcop

Manage access to the WP REST API with rate limits and IP-based rules.
PHP
70
star
5

shiny-code

A Gutenberg block for editing and displaying code with syntax highlighting.
JavaScript
51
star
6

node-wp-i18n

Internationalize WordPress themes and plugins.
PHP
45
star
7

cpt-archives

A WordPress plugin to manage post type archive titles, descriptions, and permalink slugs from the dashboard.
PHP
44
star
8

infinite-wp-list-tables

A WordPress plugin to add infinite scroll support for WP List Tables in the admin panel.
PHP
40
star
9

wp-plugin

A library to help structure and bootstrap WordPress plugins.
PHP
40
star
10

grunt-wp-css

Format style sheets according to the WordPress CSS coding standards.
JavaScript
35
star
11

simple-image-widget

A simple WordPress image widget.
PHP
32
star
12

plugin-toggle

A WordPress plugin to quickly toggle plugin activation status from the toolbar.
PHP
30
star
13

dequeue-jquery-migrate

A WordPress plugin to remove the jquery-migrate.js script dependency.
PHP
27
star
14

structure

Examples demonstrating methods for structuring WordPress plugins.
25
star
15

wp-address-block

A Gutenberg block for displaying an address with Schema.org markup.
JavaScript
21
star
16

better-internal-link-search

A WordPress plugin to improve the internal link popup functionality with time saving enhancements and features.
PHP
14
star
17

skip-link-focus

Make "skip to content" links more accessible.
JavaScript
12
star
18

ansible-deploy

An Ansible playbook for deploying a WordPress site from a git repository.
PHP
12
star
19

wp-nav-menus

Accessible, mobile-friendly navigation menus in WordPress themes.
JavaScript
12
star
20

simple-page-sidebars

A WordPress plugin for assigning custom sidebars to individual pages.
PHP
9
star
21

esformatter-wordpress

Format JavaScript according to the WordPress Coding Standards.
JavaScript
9
star
22

wp-theme-config

Shared configuration for our WordPress themes at Cedaro.
JavaScript
8
star
23

metamedia

A WordPress plugin to register media selection meta boxes.
PHP
8
star
24

youtube-embed-parameters

A WordPress plugin to customize parameters for embedded Youtube players.
PHP
7
star
25

microsite-themes

A WordPress plugin to load custom themes based on the URL.
PHP
7
star
26

themicons

Them icons.
HTML
7
star
27

footer-credits

A WordPress plugin for making theme footer credits editable.
PHP
6
star
28

customizer-customizer

A WordPress plugin to allow selected panels and sections to be hidden in the Customizer.
PHP
6
star
29

wavethumb

An experimental plugin demonstrating how to generate and save waveforms for audio attachments using the WordPress REST API.
JavaScript
6
star
30

load-project-config

JavaScript
3
star
31

embed-jetpack-custom-css

A WordPress plugin to embed Jetpack Custom CSS in the document head to improve performance.
PHP
2
star
32

extract-selectors

Extract and group selectors from a style sheet by property or value.
JavaScript
1
star
33

example-website

An example WordPress site managed with Composer.
PHP
1
star