Jump to content

Show content pack in order-detail.tpl


lianix

Recommended Posts

Good evening!

I've a question regarding content pack.

 

By default the content is showed in the product page.

 

I need that costumers can see the content pack ordered in own order-detail.tpl.

 

I've tried to add the code that show this in product page to order-detail too, but it doesn't work.

 

Maybe a modify to class o controller is needed.

 

Who can help me?

 

Thank you!

Link to comment
Share on other sites

  • 2 years later...

activate in product.tpl ( theme )

 

<!--{if $packItems|@count > 0}
						<div class="short_description_pack">
						<h3>{l s='Pack content'}</h3>
							{foreach from=$packItems item=packItem}

							<div class="pack_content">
								{$packItem.pack_quantity} x <a href="{$link->getProductLink($packItem.id_product, $packItem.link_rewrite, $packItem.category)|escape:'html':'UTF-8'}">{$packItem.name|escape:'html':'UTF-8'}</a>
								<p>{$packItem.description_short}</p>
							</div>
							{/foreach}
						</div>
					{/if}-->

 

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...