Closed (fixed)
Project:
Magento
Version:
6.x-1.1-rc2
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
8 Jul 2009 at 16:50 UTC
Updated:
10 Dec 2009 at 14:50 UTC
Hi all.
I've installed Magento module on Drupal and got no "Add to Cart" in my products.
What am I missing? Is there anything that I must enable?
Which information do you need?
I'm using Drupal 6.13 and Magento 1.3.2.1 and products sync is working fine.
Comments
Comment #1
davividal commentedComment #2
themaverick commentedmy fault was to add some products zu magento but i set the productcount in stock at 0. you have to edit the productcount to more than 0 to get this add to cart button.
Comment #3
Maxime Topolov commentedI close since proble seems solved
Comment #4
idebill commentedI'm having a couple of related issues.
1. I have this same problem as above (no add to cart link) for products that are set to "Manage Inventory" = "No" in Magento. My store has vendors to fulfill orders so I am not tracking inventory. I need the "add to cart" link to be visible even when magento is not managing inventory for the product.
2. If I manually set the "Stock Availablity" to "In Stock" for the product in Drupal, the "add to cart" text shows up, but is grayed out and cannot be clicked. I suspect this is a javascript issue, but I'm not sure.
A little help please?
Magento Software version 1.3.2.3
Magento Drupal module version 6.x-1.1-rc2
Comment #5
Maxime Topolov commentedOk your issue it's kinda feature request. I'll try to implement this one next time.
Comment #6
idebill commentedThanks!
Comment #7
dops commentedHello everybody,
so I glad that I´m not the onlyone with that problem. I´ve got the productcount at 1000 and the stock svailablity on in stock, but the add to card link is not displayed. Are there any solutions by now?
Greets
dops
Comment #8
dops commentedI took a look at the database. The value for my product in the field "field_stock_availability_value " is null. Could there be any problems during syncronisation?
Greets
dops
Comment #9
zlika commentedI had the same problem.
It seems to be a Drupal extension module problem on Magento.
To solve this, I had to add some code in the "Api.php" file on Magento install path "app/code/community/Drupal/ApiExtend/Model/Catalog".
In the method named "productsList", you should add the following line:
->joinTable('cataloginventory_stock_item', 'product_id=entity_id', array('is_in_stock'=>'is_in_stock'), null, 'left');just after
->addAttributeToSelect('short_description')Hope it will help you ...
Comment #10
ekarelin commentedThanks Zlika,
seems like it helps. We will test this changes and commit Magento extension.
Comment #11
Maxime Topolov commented