Code
Warning: Smarty error: pncAddItem: missing parameter ItemID in /home/quasito/public_html/testsite/includes/classes/Smarty/Smarty.class.php on line 1083
The block I'm using has a very simple template code:
Code
<!-- start itemview block -->
<!--[ pncGetItem Random=true assign=Item ]-->
<div style="text-align:center;">
<!--[ $Item.Name ]--><br />
<!--[ pnml name='_PNC_ITEMCOST' ]-->: <!--[ $Item.CostLong|pncShowAsPrice ]--><br />
<!--[ pncAddItem ItemID=$Item.ID Long=false ]-->
</div>
-<!-- end itemview block -->
<!--[ pncGetItem Random=true assign=Item ]-->
<div style="text-align:center;">
<!--[ $Item.Name ]--><br />
<!--[ pnml name='_PNC_ITEMCOST' ]-->: <!--[ $Item.CostLong|pncShowAsPrice ]--><br />
<!--[ pncAddItem ItemID=$Item.ID Long=false ]-->
</div>
-<!-- end itemview block -->
If I remove the "pncAddItem" tag I don't get the error, but then the block doesn't work for what it's for...adding products the users cart.
Support says it's not a pncommerce error, so I'm not sure what to do with it. I've completely removed/reinstalled PostNuke, and uploaded the newest snapshot of pncommerce without any difference.
--
born ok the first time
