0

I am working on a website for my job. I need to come up with a way between magento, and preferably with the unirgy umarketplace for vendors to be able to bulk update their items.

Is there a plug in that I can use for this, or is there some way to do this through coding in unirgy? I have experience creating websites, but this was a little bit new to me, with doing bulk updating. Any help that can be given to me on this issue would be greatly appreciated.

Thank you!

  • 1
    Hi Caitlin, did you approach Unirgy about this? Since the module is paid and the code quite extensive the chance of getting a good answer is quite small – Sander Mangel Feb 5 '15 at 19:25
1

if you speak about inventory import it's possible with batch add-on. if you mean products import/update in vendor portal such functionality is not available. you can do import/updates for your vendors from admin area using magento import/export tool or you can consider rapidflow, though it's still don't have integration with vendor portal, i.e. only admin can use it

1

I haven't worked with uMarketPlace but one approach that comes to mind would be to identify how uMarketPlace assigns products to vendors. If it's by category or by some product attribute then all you'd need to do is assign the values to the product during import. If it's another table containing the relationships then you'll need to write a routine to add the data there. First you'd need to create an extension for your product importer (there are several examples out there on how to do this to get you started) and just add in the necessary column(s).

Example:

If this is your import file then you could parse it into a normal import routine and programmatically assign the values that link it to the vendor. The vendor My Account section would just need an uploader and parser which should be easy enough to create.

sku | product_name | price | in_stock 
1234| test product | 1.00  | Yes

Parse the csv file into an array then iterate through it to create the products.

$product=Mage::getModel('catalog/product');
$product->setSku($sku);
$product->setName($product_name);
$product->setPrice($price);
// Add all of the minimum required fields to make your product visible and enabled. etc etc 

// Now add the field(s) that link the product to the Vendor.  If it links them through another table then you'll have to add the relationship there.

$product->save();

You'll need to add sanitizing and validation routines on the upload and error trapping to let the vendor know when there's an error.

It's not a small task but not too difficult to pull off if you figure out how the products are assigned to the vendors. The rest of the code to create your extension, add an uploader, parse the file, sanitize your data and to create your products is out there so you shouldn't have to reinvent the wheel to complete this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.