Magento Themes and Magento Extensions

Magento import complex category

Share
Posted on November 22nd, 2012 | Posted by admin

Magento import complex category

$new_category = $inv->call($sess,”catalog_category.create”, array($par, array(“name”=>$cd['name'],”is_active”=>$cd['is_active'],”available_sort_by”

=>array(‘price’),”default_sort_by”=>”price”,”include_in_menu”=>1,”position”=>$cd['position'],

”level”=>$cd['level'],”parent_id”=>$cd['parent_id'],”created_at”=>$cd['created_at'],”updated_at”

=>$cd['updated_at'],”url_key”=>$cd['url_key'],”description”=>$cd['description'],”image”

=>$cd['image'],”meta_title”=>$cd['meta_title'],”meta_keywords”=>$cd['meta_keywords'],”meta_description”=>$cd['meta_description'],”display_mode”=>$cd['display_mode']) ));

How to import configurable products from CSV File into Magento System

Share
Posted on November 5th, 2012 | Posted by admin

Unlikely the default Magento import module, this fully customizable bulk import module allows you to import configurable products through CSV feed.
Module features:

  • Import from CSV feed
  • Create CSV for import
  • Import configurable products and their associated simple products.
  • Import images / multiple images / gallery images from remote server.
  • Supports cron job
  • Copy the file Productwithconfigurablesandcategories.php located in
    Productwithconfigurablesandcategories.zip (file attached to this post) to the folder /app/code/core/Mage/Catalog/Model/Convert/Adapter/.

Magento: Parsing Schema: can’t import schema from

Share
Posted on October 13th, 2012 | Posted by admin

I had developed script to connect to Magento server to pull some products by sending values to filter. All of a sudden, last Tuesday it stopped working. I had implemented the searching products from Magento via AJAX so the client was not able to see the error messages to. It seemed it very strange for me too.

Later when I try to connect to the Magento server from outside that AJAX script, then I found the following fatal error message:

Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing Schema: can’t import schema from ’http://schemas.xmlsoap.org/soap/encoding/’

Magento normally contains the line following line in its WSDL:

  1. <import namespace=”http://schemas.xmlsoap.org/soap/encoding/” schemalocation=”http://schemas.xmlsoap.org/soap/encoding/”>
  2. </import>

Magento: Category Import Script?

Share
Posted on June 2nd, 2011 | Posted by admin

Currently, there is no way to import categories unless you write your own script or sql. I may have a project coming up soon that will require importing a lot of categories, so I may have to build a better script (I’ve built a couple crappy ones already) for importing them. But, before I do that, I’d like to get some feedback.

First – CSV setup. What I’m assuming the best global way to import is from a CSV (correct me if I’m wrong). In that case, what do you think the best format of the CSV should be? My initial thoughts would be 2 columns. First one for the category name, second (if used) is for which category name the category is nested under. (I suppose there could be other columns as well for Enabled or Disabled, meta, image, etc.)

Second – Anything else that would be useful for a category import script?

I can’t guarentee that I’ll be able to have the time to do this – but we’ll see. The better and level of feedback I get, the more motivation I’ll probably have!

Magento: Product Import Script : Update 1

Share
Posted on June 2nd, 2011 | Posted by admin

There’s a lot of people checking my blog regularly, but not a lot of people signed up to my Twitter account to get updates on the progress, so I figured it would be a good idea to give updates occasionally on the blog. (If you want the BEST updates on the progress,subscribe to my Twitter).

Tonight I was able to successfully import custom attributes, of many types, even dropdowns. So, the good news is that in the script, you’ll be able to just include whatever columns you want for any custom attributes that you’ve created – and consider them imported!

The trickiest part was/is the dropdown attributes. These aren’t just a simple value that I can place into the database. The values for these have been pre-populated. So, first I need to check the database for the column, figure out if it is a user-defined attribute, then figure out if it is a dropdown, then search the database for the specific value that was given in the column. If it is off at all, or not found at all then I need to create error handling and logging for this issue and figure out what to do. That part isn’t complete yet. So – at this point, if the value isn’t found – an ugly PHP error is issued. But, I’ll get to that next.

After that is complete – I just need to figure out a way to handle all sorts of default values (if you choose not to include a lot of columns) so that the product is sure to get all the values it needs to function properly. Once that is done – and some overall loose ends are tied up – I think I will be ready for some beta testing (for any of you out there interested in helping test it out).

Page 1 of 212»