A start on Integration of Magento

Permalink 5 users found helpful
People who are interested in getting Magento products into Concrete5 I can give them a sample code to start with and build blocks for it.

<?php
//set debug on
ini_set("display_errors", 1);
error_reporting(E_ALL);
$host = 'YOURMAGENTOHOST';
$client = new SoapClient('http:// ' . $host  . '/index.php/api/index/index/wsdl/');
//url in SoapClient can also be /api/?wsdl of /api/soap/?wsdl or with index.php/api/?wsdl or index.php/api/soap/?wsdl.
// Can be added in Magento-Admin -> Web Services
$apiuser = 'APIUSER';
$apikey = 'APIKEY';
// Category list
foreach ($result_category['children'] as $child) {
  echo "<pre>".$child['name']." (id:".$child['category_id'].") </pre>\n";
}
//Productlist


anyone with basic php5 and concrete5 skills can build a new blocktype with this information. Hopefully I can start with a full integration of magento into concrete5.

Good luck with building.

 
ideasponge replied on at Permalink Reply
ideasponge
if you completed this, the c5 community would practically worship you.
marcandre replied on at Permalink Reply
marcandre
... so true !

But it is a very good and helpful example already
TheRealSean replied on at Permalink Reply
TheRealSean
Has anyone managed to get a magento block working? I don't want to go to Wordpress, to build a site :(

Or has anyone added a full magento implementation into their site.
Tomarnst replied on at Permalink Reply
Yes, very needed...

We like to know also more on this.
Arequal replied on at Permalink Reply
Arequal
Hello
I have developed and sent to the Concrete5's PRB an Add-on which does that. It works with Magento and Virtuemart. I am waiting for approval. Its features are:


Concrete5 native block
Built on AJAX technology. Fast, smart and without page reload
Products are displayed in a new tab/window
Configurable items (Concrete5 view):
Number of rows: You can set how much rows of categories or products want to display
Number of columns: Idem as previous item, but related to columns. NOTE: If you can not display all categories stored in the virtual store (the dataserver), please, increase this and last values
Virtual store URL
Timeout for loading data from the data server
Progress spinner dissapears when time expires
Show/Hide breadcrumb
On over background category and item color
On over text category and item color
Smart breadcrumb (autocollapsable)
Tested in Concrete5 5.5.2.1 and Concrete5 5.6.0.2 (Disable Overrides cache before install this package)



Virtuemart data server plugin
Serves categories and products via XML
Tested in Virtuemart 2.0.6 , 2.0.8c, 2.0.10, 2.0.12f, 2.0.14, 2.0.16 on Joomla 2.5.4 using jQuery 1.7.1
IP block range configurable
Products must be associated to one or more categories. Orphan products will not be displayed
If catId is not set in the URL, system will display root category
Loads data from Magento Web Services. No plugins for Magento are needed
fjhadd replied on at Permalink Reply
fjhadd
Hi,
When this add-on will be released?

Thanks
Arequal replied on at Permalink Reply
Arequal
Hi!
It was sent to the Marketplace Team a couple of weeks ago. It is under testing, and it is passing all the checkpoints successfully. I guess it will take a couple of weeks more, but it depends on the Marketplace PRB's workload.
In the meanwhile, I am writing new features for this extension: Default images for categories and products, Prestashop driver, etc
I will submit a post when it will be released.

Thanks for your interest
Arequal replied on at Permalink Reply
Arequal
Hi again
It has been approved and released a few hours ago.
http://www.concrete5.org/marketplace/addons/virtual-store-showcase/...

I'm ready to publish Version 2, with Prestashop integration and many other features
shenn replied on at Permalink Reply
Hi Arequal,

What a great job you did! I looked at the video and i'm impressed with the current features.

One thing I noticed was that the Magento connection was pretty slow. Even when your magento installation was local. Perhaps it's possible to cache categories and productlists with the internal caching library of concrete5.

Keep up the good work!
Arequal replied on at Permalink Reply
Arequal
Thank you.

Magento is a great software, but is huge, so is very slow. Making it runs faster by using cache is one of the next features i would like to do, but it depends on the success of the package.

Thank you again for your support.
harrisli replied on at Permalink Reply
harrisli
The given are indeed the best configurations. I also like to know when it will released?
Arequal replied on at Permalink Reply
Arequal
manup replied on at Permalink Reply
manup
manup replied on at Permalink Reply
manup
Mage5 is not yet popular yet, but you can try this Packagehttp://www.mage5.com/

See its Demo Video:http://youtu.be/pF4gJcZNrmE

I hope you are looking for this kind of solution ?