By scarecrow-rye on
I've enabled "subproducts" within "modules" but how do i make use of them? i can't seem to find any additinal menu options within the menu. any ideas?
I've enabled "subproducts" within "modules" but how do i make use of them? i can't seem to find any additinal menu options within the menu. any ideas?
Comments
Also getting subproduct errors
I'm actually getting the following error in my log with regards to subproducts (drupal 4.7.2):
warning: Invalid argument supplied for foreach() in /www/f/examplesite/htdocs/main/modules/ecommerce/subproducts/subproducts.module on line 1821.
Anyone have any idea what's going on?
No Idea, but get similar
warning: Invalid argument supplied for foreach() in mysite/htdocs/modules/ecommerce/subproducts/subproducts.inc on line 45.
(drupal 4.7.2)
Me to
Drupal 5.1
@:
admin/ecsettings/subproducts
I get:
"warning: Invalid argument supplied for foreach() in /Library/WebServer/Documents/drupal5_sandbox/sites/all/modules/ecommerce/subproducts/subproducts.module on line 1799."
See:
http://drupal.org/node/119243
'(Òvó)
Also getting subproduct errors
Me three
And I note with dismay that this question w3as first posted eight months ago and has not been answered yet.
Maybe..
Sorry, I'm a newbie at drupal, but in subproducts.module at line 1108, there can be a problem if there is only one subproduct or subproduct attribute, so I modified
foreach ($variations as $variation) {
$options = array();
foreach($variation->attributes as $attribute) {
to:
foreach ((array)$variations as $variation) {
$options = array();
foreach((array)$variation->attributes as $attribute) {
Seems to work.