Add an Amazon aStore to a WordPress Website A Reasonably Simple Way to Add a Shop Free and without a Plug-in

As you can see from my links I have added a shop to this website. It did not take long and it is easy to add/remove categories and items.

I searched for how to incorporate an aStore into a website and went to this article –

http://www.mydigitallife.info/2006/10/01/incorporate-and-integrate-amazon-astore-with-wordpress-page/

Before I worked through the instructions I read some of the comments, one that was useful was about custom page templates. I did not know how to create a custom page template so another search led me to this article –

http://www.expand2web.com/blog/custom-page-template-wordpress/

So, taken from both articles, the following are the steps I took to set up my aStore –

1. Go to Amazon affiliate program set up your aStore, at the end of the process you get the code (selecting – Embed my store using an inline frame)

2. I then followed the instructions from the second article and created an empty file in my theme folder called cover_page.php

This is what I put in cover_page.php

<?php

/*

Template Name: Cover Page

*/

?>

<?php get_header(); ?>

<div style=”padding-top:5px”>

<iframe src=”http://astore.amazon.co.uk/fredbloggscou-21″ width=”100%” height=”800″ frameborder=”0″ scrolling=”no”></iframe>

</div>

<?php get_footer(); ?>

Note: You have to paste in your Amazon code, I changed some settings and should change more but it works.

3. Finally go to the dashboard in WordPress, add new page. All you have to do is add a suitable title for the page and then in Attributes on the right hand side, under Template, select your custom template.

Wordpress Custom Page Template
Selecting a WordPress Custom Page Template

Leave a Reply

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