{"id":88,"date":"2017-09-22T14:01:35","date_gmt":"2017-09-22T14:01:35","guid":{"rendered":"https:\/\/wpinvoicing.com\/docs\/?p=88"},"modified":"2020-02-12T11:15:03","modified_gmt":"2020-02-12T11:15:03","slug":"core-shortcodes","status":"publish","type":"docs","link":"https:\/\/wpgetpaid.com\/docs\/core-plugin\/core-shortcodes\/","title":{"rendered":"Core Shortcodes"},"content":{"rendered":"<h3><a id=\"wpinv_checkout\"><\/a>Checkout Page<\/h3>\n<h4>Shortcode: <span style=\"color: #ff0000;\">[wpinv_checkout]<\/span><\/h4>\n<p>This shortcode is used to show the checkout page, you must also set the page under WPI &gt; Settings &gt; General &gt; Page Settings &gt; Checkout Page.<\/p>\n<h5>Parameters:<\/h5>\n<ul>\n<li><strong>none<\/strong><\/li>\n<\/ul>\n<p>Example: <\/p>\n<pre><code>[wpinv_checkout]<\/code><\/pre>\n<h3><a id=\"wpinv_history\"><\/a>Invoice History<\/h3>\n<h4>Shortcode: <span style=\"color: #ff0000;\">[wpinv_history]<\/span><\/h4>\n<p>This shortcode is used to show the\u00a0invoice history page, you must also set the page under WPI &gt; Settings &gt; General &gt; Page Settings &gt; Invoice History Page.<\/p>\n<h5>Parameters:<\/h5>\n<ul>\n<li><strong>none<\/strong><\/li>\n<\/ul>\n<p>Example: <\/p>\n<pre><code>[wpinv_history]<\/code><\/pre>\n<h3><a id=\"wpinv_receipt\"><\/a>Success Page<\/h3>\n<h4>Shortcode: <span style=\"color: #ff0000;\">[wpinv_receipt]<\/span><\/h4>\n<p>This is the page buyers are sent to after completing their payments,\u00a0you must also set the page under WPI &gt; Settings &gt; General &gt; Page Settings &gt; Success Page.<\/p>\n<h5>Parameters:<\/h5>\n<ul>\n<li><strong>none<\/strong><\/li>\n<\/ul>\n<p>Example: <\/p>\n<pre><code>[wpinv_receipt]<\/code><\/pre>\n<h3><a id=\"wpinv_buy\"><\/a>Buy button<\/h3>\n<h4>Shortcode: <span style=\"color: #ff0000;\">[wpinv_buy]<\/span><\/h4>\n<p>Parameters:<\/p>\n<ul>\n<li><strong>items<\/strong>\u00a0&#8211;\u00a0Used like: item_id, or if quantity needed: item_id|quantity \u00a0or multiple items like: item_id|quantity,item_id|quantity<\/li>\n<li><strong>label<\/strong>\u00a0&#8211;\u00a0The button label, if blank will be\u00a0&#8216;Buy Now&#8217;.<\/li>\n<li><strong>post_id<\/strong> &#8211; Not required, used by third party addons.<\/li>\n<\/ul>\n<p>Example: <\/p>\n<pre><code>[wpinv_buy items=123]<\/code><\/pre>\n<pre><code>[wpinv_buy items=123 label=\"Buy Me\"]<\/code><\/pre>\n<pre><code>[wpinv_buy\u00a0items=\"123|2\"]<\/code><\/pre>\n<pre><code>[wpinv_buy\u00a0items=\"123|2\" label=\"Buy Me\"]<\/code><\/pre>\n","protected":false},"featured_media":0,"parent":239,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","doc_tag":[],"amp_validity":null,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wpgetpaid.com\/docs\/wp-json\/wp\/v2\/docs\/88"}],"collection":[{"href":"https:\/\/wpgetpaid.com\/docs\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/wpgetpaid.com\/docs\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgetpaid.com\/docs\/wp-json\/wp\/v2\/comments?post=88"}],"version-history":[{"count":0,"href":"https:\/\/wpgetpaid.com\/docs\/wp-json\/wp\/v2\/docs\/88\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/wpgetpaid.com\/docs\/wp-json\/wp\/v2\/docs\/239"}],"wp:attachment":[{"href":"https:\/\/wpgetpaid.com\/docs\/wp-json\/wp\/v2\/media?parent=88"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/wpgetpaid.com\/docs\/wp-json\/wp\/v2\/doc_tag?post=88"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}