Hello guys,

my problem was that the "add to cart" link in produkt view was missing. I looked into database and saw, that the value for "field_stock_availability_value" in "content_type_product" table was null. So I reinstalled all Magento modules in drupal. While syncronising the first time after reinstallation, this php warning occures:

warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\projects\dev\www.mypage.de\htdocs\sites\all\modules\magento\magento_products\magento_products.module on line 236.

The value for "field_stock_availability_value" is null again. Have I missed somthing, or is this a bug?

Greetz
dops

Comments

dops’s picture

The same Warning occures while executing cron-jobs.

qwaygon’s picture

Thanks for the feedback, this is fixed in 1.3 version (note that 1.3 "magento" drupal module require 1.3.2 or higher version of "drupal" magento extension). Any future feedbacks will be appreciated.

p.s. Drupal + Magento Install procedure on documentation page was obsolete and now is updated to guide you step by step plain and clean install.

p.p.s note that "add to cart" link will still not appear if the item out of stock

qwaygon’s picture

Status: Active » Fixed
Maxime Topolov’s picture

Status: Fixed » Closed (fixed)

I close