Jump to content

Load specifics packs in product.tpl


Recommended Posts

Hi!

I have a strange situation.

I need to load on product.tpl 2 special pack. I know the IDs.

I make some coding and, when i call like 

{foreach from=$buytogetherId item=buyId} 
{assign var='buyt' value=Pack::getItems($buyId, $cookie->id_lang)}
{$buyt|print_r}
{include file="$tpl_dir./product-list.tpl" products=$buyt}
{/foreach}
 
i have error:
Warning: array_key_exists(): The first argument should be either a string or an integer in /home/r52276hqto/public_html/classes/Pack.php on line 119

Warning: Illegal offset type in /home/r52276hqto/public_html/classes/Pack.php on line 149
 
HOW CAN I LOAD THIS IN PRODUCT VIEW
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...