Archive for May, 2010

Creating a site with prestashop 1.3 Part One

May 27th, 2010

We will; be working on http://firestriker.co.uk a site for selling light my fire products

First of all download a copy of the latest version of prestashop from http://prestashop.com

Once downloaded unzip all the files

to upload to your server you will need a ftp, the one we use is filezilla which is available from http://filezilla-project.org.

Download the ftp client and install. you do not need the server version.

To setup filezilla you will need to know your ftp username and password for your server.

Start filezilla and click on File -> SiteManager and select new site.

Enter you details into the correct boxes

site name which should be your ftp server

you then have to change the login type to normal

and enter your ftp username and ftp password

once you have entered all your details click on connect and if you have everything entered correctly you should be conected to your ftp server

To be continued

prestashop featured products under categorys that have subcategorys

May 24th, 2010

thinking of displaying random products underneath the subcategory boxes, only when the category has subcategorys, of course you can do this by placing the product in the subcategory and the main category

but it does not appear in a featured box

so the code that detects if sub categorys are present is as follows

{if isset($subcategories)}

more info to follow

Hide the wishlist block from unlogged in users on prestashop

May 21st, 2010

I have always thought it is a bit pointless showing the wishlist box all the time, generally because the feature is only available to logged in users, so if you have people browsing the site it is just a empty box

so to make it visible to only customers who have a account and are logged in edit blockwishlist.tpl in you modules/wishlist directory

Just wrap the whole block with the following code

 {if logged}

{/if}

simply and then the block only appear when the user is logged in