Jump to content

[SOLVED] Get the product height and display it in the cart


eporedieis
 Share

Recommended Posts

Hi,

 

in product page view, it must be appears in the "Data sheet" tab, if not, please check product.tpl:

{if isset($features) && $features}
 <!-- product's features -->
 <ul id="idTab2" class="bullet">
 {foreach from=$features item=feature}
		{if isset($feature.value)}
   <li><span>{$feature.name|escape:'htmlall':'UTF-8'}</span> {$feature.value|escape:'htmlall':'UTF-8'}</li>
		{/if}
 {/foreach}
 </ul>
{/if}

 

Regards

  • Like 1

Share this post


Link to post
Share on other sites

I found this but it doesn't work...

 

{if $product.features}
{foreach from=$product.features item=feature name=features}
{if $feature.id_feature == 6}
<span class="feature">{$feature.name|escape:'htmlall':'UTF-8'}: {$feature.value|escape:'htmlall':'UTF-8'}</span>
{/if}								  
{/foreach}
{/if}

Edited by eporedieis (see edit history)

Share this post


Link to post
Share on other sites

Solved!! This is the correct code:

 

{if isset($features) && $features}
{foreach from=$features item=feature name=features}
{if $feature.id_feature == 6}
<span class="feature">{$feature.name|escape:'htmlall':'UTF-8'}: {$feature.value|escape:'htmlall':'UTF-8'}</span>
{/if}								  
{/foreach}
{/if}

 

See also this topic if interested.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More