Author Topic: Getting extra variables on the shop.cart pages........  (Read 1381 times)

Lansition.com

  • Beginner
  • *
  • Posts: 1
Getting extra variables on the shop.cart pages........
« on: August 22, 2008, 21:30:22 pm »
Hi guys,

I'm just trying to work out what's required to get the mf_name & some product type values (I've created on the browse page they work fine)

The procedure works in the browse page as I've modded the shop.browse (the procedure's called product_type_size) - and this displays as expected.

I've added to shop.cart page the declaration

$tpl->set('product_type_size', $product_type_size );

and also tried putting in the elseif the line that calls the routine in the shop.browse.

$product_type_size = $ps_product_type->list_product_type_size($db_browse->f("product_id"));

I then call the '<?php echo $product['product_type_size'] ?>' in the template file - but it always comes up blank.

Do i need to include anything anywhere....

many thanks in advance.

Tony.