The [purchase_link] shortcode is used to display a purchase button for any download anywhere your site.
A default [purchase_link] is available for every Download in the Download’s settings, under Purchase Shortcode.
The shortcode accepts a few optional parameters:
[purchase_link id="94" text="Add to Cart" style="button"]
A purchase button for a specific price option:
[purchase_link id="94" text="Add to Cart" style="button" price_id="2"]
Direct Purchase Example
[purchase_link id="94" text="Buy Now" style="button" direct="true"]
Powered by BetterDocs
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.