VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: Guillermo_vm on January 12, 2014, 05:46:50 AM

Title: VM custom field with stock control issue
Post by: Guillermo_vm on January 12, 2014, 05:46:50 AM
Hello,

i've been working hard to acomplish a parent's products detail "SIZE " with-out succed, i've got 2 issues :

The scenarious is a parent's product with n childs;
the product's parent has a category's parent called "SHOES" which has childs:
SIZE as a custom field with stock control, color as a string and marca as a string.

i assumed that a customer could navigate throught the product's parent and select between diferent SIZES and the product's stock should change with it; but firefox rendered out:

1) Warning: Invalid argument supplied for foreach() in /home/content/92/11281492/html/plugins/vmcustom/stockable/stockable.php on line 226

2) Warning: Invalid argument supplied for foreach() in /home/content/92/11281492/html/templates/gk_esport/html/com_virtuemart/productdetails/default.php on line 432

i would appreciate some help.

Best regards

Guillermo A. Vargas

Joomla! 2.5.17
Virtuemart 2.0.26d