Skip to content

Instantly share code, notes, and snippets.

@simonlk
Created March 26, 2014 03:12
Show Gist options
  • Save simonlk/9776315 to your computer and use it in GitHub Desktop.
Save simonlk/9776315 to your computer and use it in GitHub Desktop.
WooCommerce Name Your Price Plugin add to cart by URL
This isn't code, just a tip that will hopefully get picked up by search engines for anyone that needs it (me when I have this problem next).
domain.com/cart/?add-to-cart=15998&credit_called[15998]=44
Where 15998 is the product ID
@captainhook
Copy link

captainhook commented Mar 29, 2021

This is documented in the changelogs at https://dzv365zjfbd8v.cloudfront.net/changelogs/woocommerce-name-your-price/changelog.txt:

2015.08.22 - version 2.3.2

It really should be in the actual documentation!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment