Selesai

magento import attributes

Projek ini berjaya disempurnakan oleh AlexNevsky untuk $50 USD dalam hari.

Dapatkan sebut harga percuma untuk projek seperti ini
Bajet Projek
$30 - $250 USD
Diselesaikan Dalam
1 hari
Jumlah Bida
24
Penerangan Projek

I have 2 extensions called "Magento Fast Product Import" (e-commerce team) and advanced product options (mageworx). Now my supplier provides me with a csv file for automatic updating all the product options.

The fast product import guide recommends the follwing code:

{'type':'drop_down','is_require':1,'sku':'custom option','sort_order':'100','title':'Default Title','values':{'1':{'sku':'value sku','sort_order':1,'title':'Default Title','price':100},'2':{'sku':'value sku2','sort_order':2,'title':'Default Title 2','price':200}}}

My cvs looks like this:

sku;attribute;att value;;attb sku;cost;qty;

3;Flavor;"Chocolate Mint";;1004L;[url removed, login to view];82

3;Flavor;"Rocky Road";;1004K;[url removed, login to view];6

So I tried the following:

3;{'type':'drop_down','is_require':1,'sku':'custom option','sort_order':'100','title':'Flavor','values':{'1':{'qty':'82','cost':'[url removed, login to view]','sku':'1004L','sort_order':1,'title':'Chocolate Mint','cost':[url removed, login to view]},'2':{'qty':'6','cost':'[url removed, login to view]','sku':'1004K','sort_order':2,'title':'Rocky Road','cost':[url removed, login to view]}}}

This works except the added quantity and cost which was not part of the sample. The extension company said this is because of the advanced product option extension, since cost and qty wouldnt normally be there.

So my problem number 1 is qty and cost need to be also updated. Problem number 2 is: I would have to manually enter all the feed data into the above code. This is more work then adding it directly into magento. So I need this to be re-programmed that my current feed will update all the attributes.

Diselesaikan oleh:
Kemahiran Diperlukan

Mencari untuk memperoleh sedikit wang?

  • Tetapkan bajet anda dan tempoh masa
  • Rangkakan cadangan anda
  • Dibayar untuk kerja anda

Upah Freelancer yang juga membida projek ini

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online