Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Create an Affiliate Product Box (No Coding Required)

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Do you want to create an affiliate product box in WordPress?

A product box allows you to showcase your affiliate products in a more attractive and eye-catching manner. It can capture your user’s attention and increase the chances of them clicking on your affiliate links.

In this article, we will show you how to easily create an affiliate product box in WordPress.

Creating an affiliate product box in WordPress

Why Create an Affiliate Product Box in WordPress?

An affiliate product box is used by marketers on their WordPress websites to showcase and promote specific products to readers.

This box usually contains a product title, images, description, and a call to action (CTA) to promote clicks and purchases.

Affiliate product box preview

It is a popular affiliate marketing strategy that can boost sales, increase brand exposure, and save time and resources.

You can easily add an affiliate product box to a blog post to attract potential customers and earn a commission on any resulting sales.

That being said, let’s see how to easily create an affiliate product box in WordPress without using any code:

You can easily create a product affiliate box using Pretty Links. It is the best affiliate marketing tool that makes it super easy to create and manage affiliate links on your WordPress website.

First, you need to install and activate the Pretty Links plugin. For more instructions, please see our beginner’s guide on how to install a WordPress plugin.

Note: Pretty Links also has a free version. However, you will have to purchase the pro plan to use the Product Displays addon.

Upon activation, visit the Pretty Links » Add-ons page from the WordPress admin sidebar.

From here, simply install and activate the ‘Product Displays’ addon by clicking on the ‘Install Add-on’ button.

Install and activate the Product Displays addon

Once the addon has been activated, just head over to the Pretty Links » Add New page to start creating an affiliate link.

First, you will have to type the affiliate product name into the ‘Add Title’ field at the top. This title will be displayed as a heading in your product affiliate box.

After that, go ahead and type the affiliate URL into the ‘Target URL’ box.

Next, type the link slug into the ‘Pretty Link’ box. This will be the last part of the affiliate URL.

Create an affiliate link by typing the target URL

After that, switch to the ‘Product Display’ tab from the sidebar on the left.

Once you are there, you can start by choosing a theme for your product affiliate box from the ‘Theme’ dropdown menu.

Next, click on the ‘Update Image’ button to upload the product image from the WordPress media library or your computer.

Choose a theme and upload product image

After you have done that, simply type the product description into the ‘Description’ box.

Next, go ahead and set a price for the product next to the ‘Price’ option.

Add product description and price

You can also add a badge at the top of your product affiliate box. For example, if the item you are promoting is currently on sale, then you can show this to customers.

To add a badge, simply type the text for it next to the ‘Badge Text’ option.

After that, enter a CTA for the affiliate product next to the ‘Primary Button Text’ option. This will be the text displayed on the button within the product affiliate box.

The affiliate link we created will be automatically added to the CTA button.

Add a badge and CTA text

If you have written a review of the affiliate product on your blog, you can add the post’s URL to the ‘Review URL’ box. Readers who click on it will be taken to your review post.

To add a CTA for the review button, simply type some text in the ‘Review Button Text’ option.

Once you are done, click on the ‘Update’ or ‘Publish’ button at the top.

Add the Product Affiliate Box to a Page or Post

Now, you need to add the product affiliate box to a page or post on your WordPress website. For this tutorial, we will be adding the affiliate product box to a post.

First, you need to open up a new or existing post from the WordPress admin sidebar.

Next, click on the ‘Add Block’ (+) button at the top left corner to find and add the PL Product Display block to the block editor.

After that, click on the ‘Add Display’ button.

Add the PL Product Display box

This will open up a ‘Product Display’ prompt. From here, simply choose the ‘Single Link’ option from the dropdown menu.

Once you do that, you will have to search for the affiliate link you created in the search box.

Add the affiliate product box

Upon clicking on the affiliate link, the product display box will be automatically added to your post or page.

Finally, click on the ‘Update’ or ‘Publish’ button to save your changes.

Now, you can visit your website to check out the product affiliate box in action.

Product box preview

Method 2: Create an Affiliate Product Box in the Block Editor (Free)

For this method, we will show you how to easily create an affiliate product box using the block editor.

First, you need to open an existing or new post from the WordPress admin sidebar.

Once you are there, click on the Add Block ‘(+)’ button at the top-left corner to open the block menu. Next, simply look for and add the Columns block to the post.

Once you have done that, a list of column variations will be displayed. Simply click on the 50/50 variation to continue.

Add the Columns block in the block editor

This will add two side-by-side blocks to your post.

You can start by clicking on the ‘+’ button on the left side of the screen to open the block menu.

From here, simply choose the Image block and then add your affiliate product image from the WordPress media library.

Add the image block and then add product image from the media library

After that, you need to click on the ‘+’ button in the right column.

Once the block menu opens up, add the Heading block and type in the product title.

Add the Heading block and type product title

Next, click on the ‘Select Column’ icon from the block toolbar and then click on the ‘+’ button at the bottom. This will open up the block menu once again.

From here, locate and add the Paragraph block and type a product description into the box.

Add the Paragraph block to type product descriptions

Now, to complete your product affiliate box, you will have to add a CTA along with an affiliate link for the product.

To do that, you will need to exit the block editor.

Don’t forget to click on the ‘Save Draft’ button to store your settings before going back to the WordPress admin dashboard.

Create an Affiliate Link

There are many affiliate marketing tools that you can use to create and manage affiliate links on your WordPress website.

For this tutorial, we will be using Pretty Links, which is the best WordPress affiliate marketing plugin.

First, you need to install and activate the Pretty Links plugin. For more instructions, please see our beginner’s guide on how to install a WordPress plugin.

Upon activation, head to the Pretty Link » Add New page from the WordPress dashboard. Once you are there, you have to type the product name into the ‘Add Title’ field.

Next, copy and paste your affiliate product URL next to the ‘Target URL’ option.

Create pretty link

You can now enter a custom URL slug in the ‘Pretty Link’ box. Pretty Links will use this at the end of the affiliate URL that it creates for you.

Once you are done, click on the ‘Update’ button to generate your affiliate link.

You will now be redirected to the ‘Links’ page. From here, simply copy the affiliate link from the ‘Pretty Links’ column.

Copy the affiliate link

Add an Affiliate Link to the Product Box

Next, head back to the blog post where you were creating the affiliate product box.

Once you are there, just click on the right column of your Columns block to open up the block toolbar, followed by the ‘Select Columns’ button. This will open the block menu.

Next, simply add the Buttons block.

Add the buttons block in the right column

To add a link, click on the ‘Link’ icon in the ‘Buttons’ block toolbar. This will open a popup box where you must paste the affiliate link you copied from the Pretty Links page.

You can also search for the affiliate link using the search bar in the box.

Add an affiliate link

Lastly, you will have to add some text to your CTA button.

Make sure to add an exciting phrase as your CTA to encourage customers to click on the link.

Type CTA text

You can also style your affiliate product box using block settings. To do this, switch to the ‘Styles’ icon in the block panel.

From here, you can choose the background and text color of your affiliate product box using the Color Picker.

Choose a background color for the product affiliate box

Finally, click on the ‘Publish’ or ‘Update’ button to save your changes.

This is how the affiliate product box looked on our demo website.

Product affiliate box preview

Method 3: Create a Product Box For Affiliate Landing Pages Using SeedProd

If you want to create an aesthetically pleasing product box for custom affiliate landing pages, then this method is for you.

You can use SeedProd, which is the best WordPress page builder plugin on the market. It helps you create a visually appealing website without any code.

First, you need to install and activate the SeedProd plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.

Note: SeedProd also offers a free version. However, we will be using the premium version because it offers more design features.

Upon activation, you must visit the SeedProd » Settings page to enter the plugin license key.

You can find this information in your account on the SeedProd website.

Paste license key in the field

Next, head over to the SeedProd » Landing Pages section from the WordPress admin dashboard and click on the ‘Add New Landing Page’ button.

For this tutorial, we will be adding an affiliate product box to a landing page.

Click the Add New Landing Page button

You will now be taken to the ‘Choose a New Page Template’ screen.

From here, you can choose any of the pre-made templates offered by SeedProd.

After you have made your choice, you will be asked to enter a page name and choose a URL. Go ahead and click on the ‘Save and Start Editing the Page’ button after entering the details.

Enter your page details

This will launch SeedProd’s drag-and-drop page builder.

From here, find the Columns block in the left sidebar and drag it onto the design interface on the right.

Upon adding the block, you will be asked to choose a column layout. You need to simply click on the 50/50 variation to add two side-by-side blocks.

Add the Column Block in SeedProd

You can now start by dragging and dropping the Image block into the left column.

Next, click on the Image block to open up its block settings in the sidebar. From here, simply click on the ‘Use Your Own Image’ button to select the affiliate product image from the media library or upload it from your computer.

Choose an affiliate product image from the media library

After that, just drag and drop the Heading block into the right column and add the affiliate product title.

You can adjust the alignment and font size using the settings in the left column.

Add the heading block and type product title

Once you have done that, you need to drag and drop the Text block under the product title. You can add a description for the affiliate product you are promoting.

After that, click on the ‘Save’ button to store your changes.

Add product description and click Save button

Now, it is time for you to create an affiliate link.

Create an Affiliate Link

First, you need to install and activate the Pretty Links plugin. For more detailed instructions, please see our beginner’s guide on how to install a WordPress plugin.

Upon activation, go to the Pretty Link » Add New page from the admin sidebar.

Here, you can start by typing the product name in the ‘Add Title’ field to make it easy to find the affiliate link. Simply enter the name of the affiliate company or the product itself.

Next, add the affiliate link next to the ‘Target URL’ option.

After that, type a slug into the ‘Pretty Link’ box. This slug will appear at the end of your affiliate link.

Create an affiliate link

Finally, go ahead and click on the ‘Update’ button to generate the link.

You will now be redirected to the ‘Links’ page. From here, simply copy the affiliate link from the ‘Pretty Links’ column.

Copy the affiliate link

Add the Affiliate Link to the SeedProd Product Box

After copying the affiliate link, you need to open the SeedProd landing page where you are designing the affiliate product box.

Once you are there, simply drag and drop the Button block under the product description.

Drag and drop the Button block in the product box

Next, you need to click on the button to open up its block settings in the left sidebar. Here, you must copy and paste the affiliate link into the ‘Link’ box.

After that, just enter some text for the CTA into the ‘Button Text’ box.

Add the affiliate link and CTA text

To style the affiliate product box, you need to select the Columns block to open up its settings in the left column.

From here, you can choose a background color or even add a background image to your product box. You can also adjust the width and alignment of the Columns block according to your liking.

Change the affiliate product box background color in SeedProd

Once you are done, click on the ‘Save’ button to store your settings.

This is how the affiliate product box looked on our demo website.

SeedProd preview of the affiliate product box

Bonus: Create an Affiliate Program on Your Website

Other than promoting products from other companies, you can also create your own affiliate program to increase sales on your business site.

It is a cost-effective marketing strategy that allows other companies to join your program and promote your services on their websites to earn a small commission.

By starting a referral program, you can reach a wider audience, build trust among potential buyers, and ultimately boost sales on your website.

For example, if you have a WooCommerce store, then by starting an affiliate program, you provide an incentive to your customers, fans, and other marketers to promote your products for a small commission per sale.

You can easily start a referral program on your website using AffiliateWP. It is the best WordPress affiliate tracking and management software on the market that gives you complete control over your affiliate program.

AffiliateWP website

It comes with an easy setup, advanced affiliate link tracking, detailed reports, flexible payout options, and integration with popular plugins like MemberPress, Easy Digital Downloads, and WooCommerce.

For more information, you can see our complete AffiliateWP review.

The plugins make it super easy to launch an affiliate program and tap into new markets to increase brand awareness and generate leads. For detailed instructions, you can see our tutorial on how to create a referral program in WordPress.

We hope this article helped you learn how to add an affiliate product box in WordPress. You may also want to see our article on how to cloak affiliate links on your WordPress site and our comparison between Pretty Links and Thirsty Affiliates to find the right affiliate management plugin for your site.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

3 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Dennis Muthomi says

    hi, is there a way to add a rating system (like a 5-star rating) to the affiliate product box? I think it would be cool to show my visitors how I rate the products I recommend. If there’s a way to do this, I’d love to know

    • WPBeginner Support says

      For something like that we would recommend taking a look at SeedProd and that should allow you what you’re wanting :)

      Admin

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.