Imekamilishwa

magento import attributes

Mradi huu ulikamilishwa vyema na AlexNevsky kwa gharama ya $50 USD kwa siku moja.

Pokea ombi la bure kwa mradi kama huu
Bajeti ya Mradi
$30 - $250 USD
Imekamilishwa kwa
Siku 1
Jumla ya Zabuni
24
Maelezo ya Mradi

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.

Imekamilishwa na:
Ujuzi Unaohitajika

Unapania kutengeneza pesa?

  • Weka bajeti yako na muda
  • Onyesha ombi lako
  • Lipwa kwa kazi yako

Ajiri Wafanyakazi huru watakaoweka zabuni kwenye mradi huu

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