Jump to content

New product variable to display in shopping-cart-product-line.tpl


neller

Recommended Posts

Hi All,

 

I have created a new text area in product BO, and it displays on the product.tpl.

It is for specific product details which I need to feed on to the checkout page, emails and invoice.

 

It is named content_breakdown and in product.tpl I have;

{assign var='contentBreakdown' value=$product->content_breakdown}

...

{if isset($contentBreakdown)}<p>{$contentBreakdown}</p>{/if}

This dispays the variable. But I also need to add this to shopping-cart-product-line.tpl immediatly beneath the $product.attributes, but I get an error such as 'Notice: Undefined index: contentBreakdown...'

 

So how can I declare this and use it here?

Also on emails and invoice please.

 

Thanks.

 

Link to comment
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
×
×
  • Create New...