Closed (fixed)
Project:
Magento
Version:
6.x-1.1-rc2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Oct 2009 at 16:21 UTC
Updated:
8 Mar 2010 at 21:31 UTC
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
Comment #1
dops commentedThe same Warning occures while executing cron-jobs.
Comment #2
qwaygon commentedThanks 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
Comment #3
qwaygon commentedComment #4
Maxime Topolov commentedI close