Does anyone know how to move the Product Features content to the detailed product description tab? Either features individually or whole groups of features?
I don't need this done for every product on my site, but a good portion of them. Therefore, I don't want to alter my default product template in any way. I'd rather alter one of the other “old style” templates as then use it where necessary.
The layout needs to look like this: (attached)
If you want your grid of product features to be above the description in a tab then it would be done wherever the tabs template is used.
You could make a custom template by copying one to a new name and then copying the tabsbox template to a new name as well and then use the new template/tabsbox together as a custom layout on the products you setup to use it on.
It seems that the actual layout of product tabs is found inside the folder product_tabs in directory skins/my_skin/customer/blocks.
I created a new folder in that same directory called product_tabs_2 and set the correct tab information to show how I want it to.
Problem is I cannot figure out how to call up the new folder product_tabs_2 on my new product template.
Do I need to overwrite something in the product template or add new code?
Any help would be much appreciated! Thanks!
Edit the function named 'fn_get_product_tabs_blocks' in core/fn.cms.php.
You'll find the path set for yor 'product_tabs' there.
[quote name='tbirnseth' timestamp='1321643410' post='126255']
Edit the function named 'fn_get_product_tabs_blocks' in core/fn.cms.php.
You'll find the path set for yor 'product_tabs' there.
[/quote]
This will cause ALL products to call up the new tabs arrangement, which is not what I want.
I created a new product template and I'm trying to call up the newly arranged product tabs for this template only.
Then you'd have to create a new tab in your directory and use it in your layout configuration.
All tabs are read from that location.
Can't you copy description.tpl:
{* $Id: description.tpl 11191 2010-11-11 11:56:01Z klerik $ *}
{** block-description:description **}
{$product.full_description|default:$product.short_description|unescape}
to description2.tpl
{* $Id: description.tpl 11191 2010-11-11 11:56:01Z klerik $ *}
{** block-description:description2 **}
{include file="views/products/components/product_features.tpl}
{$product.full_description|default:$product.short_description|unescape}
And then change your layout to use description2?
I just tried this, but by adding “description2” to the products_tab folder, description2 gets added to every single product.
This file needs to somehow be separated from the other tab files, and then called up only on my new product template (a clone of default_template.tpl).
[quote name='Chef_Joe' timestamp='1321648085' post='126266']
I just tried this, but by adding “description2” to the products_tab folder, description2 gets added to every single product.
This file needs to somehow be separated from the other tab files, and then called up only on my new product template (a clone of default_template.tpl).
[/quote]
Anyone have any ideas?
Seems like you are asking for the cart to do something it is not designed to do (specify which tabs to use in a tabsblock).
You could probably do a mod or customization, but it would take time, research and testing. Maybe someone else can offer up a solution for you off the top of their head.