开发者 |
Tips and Tricks HQ
wptipsntricks |
---|---|
更新时间 | 2015年6月30日 12:06 |
捐献地址: | 去捐款 |
PHP版本: | 4.2 及以上 |
WordPress版本: | 4.2 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
[accept_simplify_payment name="My Product" price="19.99" button_text="Buy Now"]
It supports the following attributes in the shortcode -
name:
(string) (required) Name of the product
Possible Values: 'Test Product', 'My Ebook', 'My Video' etc.
price:
(number) (required) Price of the product or item
Possible Values: '9.99', '15.49', '20' etc.
quantity:
(number) (optional) Number of products to be charged. By default it's set to 1.
Possible Values: '1', '3', '5' etc.
currency:
(string) (optional) Currency of the price specified.
Possible Values: 'USD', 'GBP' etc
Default: The one specified in Settings area.
url:
(URL) (optional) URL of the downloadable file (if applicable)
Possible Values: http://example.com/my-downloads/test-product.zip
button_text:
(string) (optional) Label of the payment button
Possible Values: 'Buy Now', 'Pay Now' etc
For detailed instructions please check the WordPress Simplify Commerce Plugin documentation page.
simplify-commerce-payments.zip
from your computersimplify-commerce-payments.zip
simplify-commerce-payments
directory on your computersimplify-commerce-payments
directory to the /wp-content/plugins/
directoryYes, you can have any number of buttons on a single page.
Yes, you can.
Yes, please use "quantity" attribute.
Yes, please use "button_text" attribute
Yes, please visit Settings > Accept Simplify Payments screen for options.