Presta1.5.4.1Newbies Posted July 1, 2013 Share Posted July 1, 2013 I have commented the "<!-- description and features -->" from line 527 but it is still appear in the front shop. What else should I comment in the code? Is there another file that I have to deal with it? Urlhttp://www.grandcoralaustralia.com.au/prestashop/product.tpl it my product.tpl file Link to comment Share on other sites More sharing options...
vekia Posted July 2, 2013 Share Posted July 2, 2013 just remove the: {if $product->description}<li><a id="more_info_tab_more_info" href="#idTab1">{l s='More info'}</a></li>{/if} + {if isset($product) && $product->description} <!-- full description --> <div id="idTab1" class="rte">{$product->description}</div> {/if} and make sure that you've got force compilation turned on 1 Link to comment Share on other sites More sharing options...
Presta1.5.4.1Newbies Posted July 3, 2013 Author Share Posted July 3, 2013 @Vekia So weird. It works after delete. Solely comment the code does not cause any effect to the template, isn't it? However, the yellow tab is still exist on the front office (see attached images). Do I have to totally delete the <!-- description and features --> code?. (starting to feel painful now since I am not goos at both SMATY and PHP) ;-( Moreover, once I uploaded the edited product template and changed the preferences as you suggested, my shop turns to be 500-internal server error. This is the report from error log file, " [Wed Jul 03 03:46:49 2013] [alert] [client 66.249.74.135] /var/www/vhosts/1/120622/webspace/httpdocs/grandcoralaustralia.com.au/Grandcoral/.htaccess: Option Multiviews not allowed here [Wed Jul 03 03:52:50 2013] [alert] [client 180.76.5.175] /var/www/vhosts/1/120622/webspace/httpdocs/grandcoralaustralia.com.au/Grandcoral/.htaccess: Option Multiviews not allowed here I fix it by upload the back up .htaccess file, I think this is not the right solution. I think there should be some conflict/errors within my back office file. What should I do to fix it in the right way? What I am thinking is replacing the existing shop with last two weeks back up files but I am worried that I can not 100 percent remembered what else did I change with my shop. (Apart from the active themes). Notes : what about the CCC preference, the setting that I am using is all right or not. Link to comment Share on other sites More sharing options...
vekia Posted July 3, 2013 Share Posted July 3, 2013 @Vekia So weird. It works after delete. Solely comment the code does not cause any effect to the template, isn't it? However, the yellow tab is still exist on the front office (see attached images). Do I have to totally delete the <!-- description and features --> code?. (starting to feel painful now since I am not goos at both SMATY and PHP) ;-( what comment method you use? try with thi one {* comment *} Link to comment Share on other sites More sharing options...
Presta1.5.4.1Newbies Posted July 3, 2013 Author Share Posted July 3, 2013 I used <!-- comment --> oops I forgot to attach the image. Link to comment Share on other sites More sharing options...
vekia Posted July 3, 2013 Share Posted July 3, 2013 now i understand what you mean tab disappear but you've got there gold line? you want to remove it too, right? Link to comment Share on other sites More sharing options...
Paulito Posted July 3, 2013 Share Posted July 3, 2013 Good morning Go to global.css around line 706 and comment out the line below in red /* BLOCK idTabs ******************************************************************************** */ .idTabs { list-style-type: none; margin-top: 20px; <!-- border-bottom: 8px solid #xxxxxx; --> Hope this helps Paul Link to comment Share on other sites More sharing options...
vekia Posted July 3, 2013 Share Posted July 3, 2013 Hello Perfumeskunk but your solution will also remove other gold bars, for example this one: so in my opinon it's better to remove the code form .tpl than to modify the css style that youy suggested Link to comment Share on other sites More sharing options...
Presta1.5.4.1Newbies Posted July 4, 2013 Author Share Posted July 4, 2013 now i understand what you mean tab disappear but you've got there gold line? you want to remove it too, right? Hi Vekia. Yeah I want to remove the gold line. Link to comment Share on other sites More sharing options...
vekia Posted July 4, 2013 Share Posted July 4, 2013 it's better to remove the whole tabs code or add there inline styles (if you want to remove this gold line only from tabs) open the product.tpl file example: <ul id="more_info_tabs" class="idTabs idTabsShort clearfix" style="border:none!important;"> i added there: style="border:none!important;" which mean that gold line will disappear Link to comment Share on other sites More sharing options...
ioio7777 Posted November 7, 2016 Share Posted November 7, 2016 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