$Pinfo->Products_id not set when you do back from editing a product
Trying to write a plug in to add additional info to a product. When I go to edit the product i Use the $pinfo->products_id which is set and passed in by in $p1 by the notifier ($zco_notifier->notify('NOTIFY_ADMIN_PRODUCT_COLLECT_INFO_EXTRA_INPUTS', $pInfo, $extra_product_inputs); collect_info.php line 210 ). When i hit the back button the $pinfo->Products_id is set to "".
This causes my addin to fail as it is trying to read an additional table to get the data it needs.
My question is should I be using $_GET("Pid") instad of relying on the $pinfo array or is this a bug in zen cart or is there another way that i should get the products id.
Thanks in anticipation.
Mark Brittain
http:\\innerlightcrystals.co.uk\sales\
Bookmarks