im thinking of removing the bottom description tab...
which line of code or which section of code i should edit?
say that product has some related product, can it be show even though the description tab is deleted from the bottom?
here's a print screen of how it looks like now...
Thanks !
: )
Edit catalog/view/theme/yourtheme/template/product/product.tpl and remove the following lines of code:
and,
And yes, the other tabs will still display(if they exist) even if the description tab is deleted.
Code: Select all
<a href="#tab-description"><?php echo $tab_description; ?></a>
Code: Select all
<div id="tab-description" class="tab-content"><?php echo $description; ?></div>
THANKS florinsith!!!
It worked!!!
awesome!! thanks for the super prompt response!!
It worked!!!
awesome!! thanks for the super prompt response!!
florinsith wrote:Edit catalog/view/theme/yourtheme/template/product/product.tpl and remove the following lines of code:and,Code: Select all
<a href="#tab-description"><?php echo $tab_description; ?></a>
And yes, the other tabs will still display(if they exist) even if the description tab is deleted.Code: Select all
<div id="tab-description" class="tab-content"><?php echo $description; ?></div>
I'm looking to do exactly what is posted in here, however I tried the code above and it didn't work. The second line of code that is listed to remove doesn't exist in the version of open cart I'm using. (1.5.4.1) The second line of code looks like this in the latest version of opencart:
Is there something else that needs to be changed? This would work great for what I"m trying to do.
thanks.
Code: Select all
<div id="tab-description" class="tab-content"><?php echo MijoShop::get('base')->triggerContentPlg($description); ?></div>
thanks.
Actually that worked great.
I commented out the suggested lines of code, and I moved them up into around line 31 instead. Now it looks like the image I was wanting to copy.
Cheers!
I commented out the suggested lines of code, and I moved them up into around line 31 instead. Now it looks like the image I was wanting to copy.
Cheers!
Don't know if I'm on par, as I just took a glance at this from your post, but that seems to be what you want to get rid of.frosty1_4me wrote:This would work great for what I"m trying to do.Code: Select all
<div id="tab-description" class="tab-content"><?php echo MijoShop::get('base')->triggerContentPlg($description); ?></div>
thanks.
That entire division seems to be comprised of a CSS-driven tab and displays the item description through the PHP objext call.
You can always comment it out by using <!-- --> and see if you get the deisred effect...if not, then remove the comment marks and no harm is done.
I sorted it out! The TGwig editor did not work from opencart admin panel, however I did it through FTP and I edited the file straight there and I fixed it. Best regards!
Help! I have the same issue. I have removed the two lines of code but no changes whatsoever. I edited products.twig
website is: http://www.daiclick.ro/index.php?route= ... duct_id=51
You can see that there are two descriptions, I want to remove the one in the top right side... nothing works... help!
Help! I have the same issue. I have removed the two lines of code but no changes whatsoever. I edited products.twig
website is: http://www.daiclick.ro/index.php?route= ... duct_id=51
You can see that there are two descriptions, I want to remove the one in the top right side... nothing works... help!
Who is online
Users browsing this forum: imdevlper18 and 56 guests