eBay的JDK从663以后就不再使用Item.ApplyShippingDiscount了
而是转而使用ShippingDiscountProfileID
那要怎么做呢
1、症状:
从3月初,ADD Item如果有使用ApplyShippingDiscount的话,就会报Warnning:
If the user created a shipping discount profile, use the ShippingDiscountProfileID instead of ItemType.ApplyShippingDiscount.
If the user created a shipping discount profile, use InternationalShippingDiscountProfileID instead of ItemType.ApplyShippingDiscount
再一次观察的时候是4月份,不会报Warnning,但是如果AD的ApplyShippingDiscount为true的话,就不能上传广告了
2、原因:
这是因为Warning据说的信息起作用了,如果不用ProfileID的话,就不能ADD。
3、困境:
但是用GetShippingDiscountProfiles来取数据的话,取回来的数据并没有profileID。
后来我看到文档中的这一句
To "rename" the first "nameless" profile after additional profiles have been created, the user must create a new profile whose characteristics match those of the first profile plus include a name, and then the user must delete the original profile.
是不是就是要使用Shipping Discount,就一定要先建立一个profile,然后才能得到profileID.
如果这样的话,那么做法:
1、要先让eBay帐号的管理人去创建profile
2、用GetShippingDiscountProfiles将profile拿下来放到一个表中去
3、修改ApplyShippingDiscount部份,将其修改成下拉框(下拉框数据从上面建的表中拿)
关于eBay的ApplyShippingDiscount处理
猜你喜欢
转载自lihuachuan.iteye.com/blog/634615
今日推荐
周排行