Amazon affiliate links

WooCommerce product shortcode

If you are using WooCommerce plugin you can create affiliate products using your Amazon affiliate links and then use the [product] shortcode to link them in your blog posts.

<product id="83">
WooCommerce product page shortcode

Alternatively use the [product_page] shortcode to link them in your blog posts. This will show all the information you have added for this product as well as reviews and related products. It’s suitable for bigger and more expensive products that your whole blog post focuses on.

Shortcode demo

Woo Album #1

$9.00

Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.

Buy from Amazon

Product description

Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.

Reviews

There are no reviews yet.

Be the first to review “Woo Album #1”

<product_page id="83">
Card shortcode

If you do not wish to install WooCommerce on your WordPress site but still would like to link to affiliate products with the similar “card”-like look, then you can use the [card] shortcode that comes with Chap.

Shortcode demo
Amazon product
Short description for the Amazon product you’re linking to.
€59.99
Buy from Amazon
<card>
  <cardheader center aligned>Amazon product</cardheader>
  <cardimage src="//placehold.it/300x160.png">
  <cardtext>Short description for the Amazon product you’re linking to.</cardtext>
  <cardheader>€59.99</cardheader>
  <button large positive marginless right labeled icon url="https://amazon.com" icon="external">Buy from Amazon</button>
</card>

Leave a comment

Your email address will not be published. Required fields are marked *