ctornabe Posted June 29, 2010 Share Posted June 29, 2010 I have been customizing a DG Craft theme to fit my needs and am having a problem adding a category block to my products page. I have been able to add it to the main categories pages but not on the individual product page. I would like to add it on the left column to be consistent with the categories page.Can anyone help with this?? PLEASE Link to comment Share on other sites More sharing options...
Pshopic Posted June 30, 2010 Share Posted June 30, 2010 look to header.tpl, is there {if ....} code before "left column"? if yes, change it according what you want Link to comment Share on other sites More sharing options...
ctornabe Posted June 30, 2010 Author Share Posted June 30, 2010 PrestaShopic.. thanks for your quick reply, but I cant find a "left column" in my header file. <head> <title>{$meta_title|escape:'htmlall':'UTF-8'}</title> {if isset($meta_description) AND $meta_description} <meta name="description" content="{$meta_description|escape:htmlall:'UTF-8'}" /> {/if} {if isset($meta_keywords) AND $meta_keywords} <meta name="keywords" content="{$meta_keywords|escape:htmlall:'UTF-8'}" /> {/if} <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> <meta name="generator" content="PrestaShop" /> <meta name="robots" content="{if isset($nobots)}no{/if}index,follow" /> <link rel="icon" type="image/vnd.microsoft.icon" href="{$img_ps_dir}favicon.ico" /> <link rel="shortcut icon" type="image/x-icon" href="{$img_ps_dir}favicon.ico" /> {if isset($css_files)} {foreach from=$css_files key=css_uri item=media} <link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" /> {/foreach} {/if} [removed][removed] [removed] var baseDir = '{$content_dir}'; var static_token = '{$static_token}'; var token = '{$token}'; var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals}; [removed] [removed][removed] [removed][removed] [removed][removed] [removed][removed] [removed][removed] [removed][removed] [removed][removed] {if isset($js_files)} {foreach from=$js_files item=js_uri} [removed][removed] {/foreach} {/if} {$HOOK_HEADER} </head> <body {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}> {if !$content_only} {$HOOK_TOP} <!-- Center --> {/if} Link to comment Share on other sites More sharing options...
Pshopic Posted June 30, 2010 Share Posted June 30, 2010 HiYour left column code is under "product-list.tpl" starts from line 1. {$HOOK_LEFT_COLUMN} Cut code from there and past it to the header.tpl. Also add {if} before to not show left column in homepage. It will be like that: {if $page_name!='index'} {$HOOK_LEFT_COLUMN} {/if} Hope this will help to you Link to comment Share on other sites More sharing options...
ctornabe Posted July 1, 2010 Author Share Posted July 1, 2010 Thank you.. That fixed the problem. Actually ended up just taking the code from product-list.tpl and adding it to product.tpl page and it worked. i appreciate your help Link to comment Share on other sites More sharing options...
Pshopic Posted July 1, 2010 Share Posted July 1, 2010 Never mind. If your problem is solved, can you add [soved] to topic.Have a good time Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now