Hi,

Wow, looks like a lot of work and sleepless nights have gone into this complicated integration, thank you for your wonderful hard work.

I've managed to integrate Drupal with Magento and have been testing it out. I didn't know you can add products from Drupal, however when i tried it, i get an error message saying:

Could not get state name because the remote site gave an error: Product not exists. (102).

Though adding products from Magento and syncing it with Drupal worked really well.

I'm using Magento 1.2.1.2 as i heard this module is not ready for Magento 1.3. But the Magento Drupal extension says compatible with 1.3: http://www.magentocommerce.com/extension/1020/drupal has this module 6.x-1.1rc1 have been updated to work with 1.3?

Thank you,

Comments

Maxime Topolov’s picture

Assigned: Unassigned » Maxime Topolov
Status: Active » Closed (won't fix)

Hi duvien,

Yes current API works only for Magento 1.2.X there is a small bug in Magento 1.3 API that blocks us, but issues has been reported to magento and seems that will be fixed with next version, we're working to provide a solution for persons who cannot wait for a new version from Varien.

And no it's not possible to add products from Drupal, for several reasons it would be almost impossible to create a product in Drupal and sync it to Magento.

Magento uses an EAV system to store product data and attributes, which is incompatible with straight CCK DB model. In Magento -> Drupal sync, we store all that attributes in cache tables. So I think even for future versions we'll keep only 1 way sync.

On the other hand users are syncronised from Drupal 2 Magento ONLY, that would be great if somebody adds Magento 2 Drupal sync also.

onejam’s picture

Thanks and i guess that's down to the limitations of the system not being able to handle it either way as you pointed out.

Okay, so the content-type should be made hidden from user for adding products (since it does add the product to drupal but not sync to Magento). The permission settings should take care of that i guess.

Furthermore, Drupal is only used to grab all the data from Magento to store it as CCK fields so in effect, the meaning of Drupal acting as frontend is only for site visitors to view and checkout Magento products but all products still needs to be added thru Magento admin panel.

On the other hand users are syncronised from Drupal 2 Magento ONLY, that would be great if somebody adds Magento 2 Drupal sync also.

I take it those users are only customer types but backend users for access to admin panel isn't syncronised from Drupal --> Magento?

Sorry a bit off topic but does it matter whether they are both hosted on the same or different servers?

Lastly, thanks for clearing up the Magento version compatibilities. I think the extension over at Magento extension site should be change from 1.3 to 1.2 to save any confusion or misunderstandings for other users.

Maxime Topolov’s picture

Well adding ok, but that could be managed, as you pointed out trough user permissions, and module doesn't know when installed which roles are present...

Second thing is that it is still possible to add extrafields and edit products to fill up that fields (example : some pictures, files, or something relative to drupal as taxonomy fields or views attach...)

Well for users all new users are synchronised with a role matching, I think we should add in config that users of roles that have no mapping in magento groups are not synced. Of course, no new admin users are added to magento.

Finally yes, you can host both magento & drupal on same server, but for many reasons it would be preferable to host them on separate servers...

onejam’s picture

Great, good to know we can use different servers and domains for this integration since certain server tweaks may work well with Drupal but it might not be the optimal settings for Magento. :-)