blank_screen Posted September 9, 2014 Share Posted September 9, 2014 Hello, I'd like to add one more tab to the bottom of my product page. It's going to be Ingredients tab and I'd like to have the ability to edit the text in it from my back office. I was thinking maybe I could use one of the text edit block modules. I tried both Custom CMS information module and Home text editor module, but none worked. They just doesnt show up on the product page even when I copy/paste the whole code as it is to the product.tpl file. I tried to transplant both modules to the product page but back office didn't allow me to do this. Is there a way of doing this thing? Attached is the code, it might be quicker for someone to look into it. Thanks for any help! {if $product->description} <!-- More info --> <div class="col-tabs"> <div class="item-1 elem"> <h4>{l s='How To Use'}</h4>{/if} {if isset($product) && $product->description} <!-- full description --> <div class="contenu-1 contenu">{$product->description}</div> </div> <!--end More info --> {/if} {if isset($features) && $features} <!-- Data sheet --> <div class="item-2 elem"> <h4>{l s='Data Sheet'}</h4> <table class="table-data-sheet contenu-2 contenu"> {foreach from=$features item=feature} <tr class="{cycle values="odd,even"}"> {if isset($feature.value)} <td>{$feature.name|escape:'html':'UTF-8'}</td> <td>{$feature.value|escape:'html':'UTF-8'}</td> {/if} </tr> {/foreach} </table> </div> <!--end Data sheet --> {/if} <!-- below is the cms info block I pasted into the product.tpl file --> {if $infos|@count > 0} <!-- MODULE Block cmsinfo --> <div id="cmsinfo_block"> {foreach from=$infos item=info} <div class="col-xs-6">{$info.text}</div> {/foreach} </div> <!-- /MODULE Block cmsinfo --> {/if} 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