已完成

magento import attributes

该项目成功由AlexNevsky ,以 $50 USD的价钱在 天内完成。

为像这样的项目获取免费报价
项目预算
$30 - $250 USD
完成于
1 天
全部竞标
24
项目描述

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.

完成:
需要技能

在寻找赚取金钱的机会?

  • 设定您的预算和时间框架
  • 大致描述您的建议方案
  • 为您的工作领取工资

雇用同样在该项目上竞标的威客

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