我尝试在Before worldwilde中设置位置后排除某个国家/地区。 我没有错误消息,但是当我检查我的产品时,排除中的国家/地区始终可见。你知道吗?
谢谢
我的代码:
internationalShipping1.ShippingService = ShippingServiceCodeType.FR_OtherInternational.ToString();
internationalShipping1.ShippingServiceCost = new AmountType { Value = 0, currencyID = CurrencyCodeType.EUR };
internationalShipping1.ShippingServicePriority = 1;
internationalShipping1.ShipToLocation = new StringCollection(new[] { "Worldwide" });
ShippingDetailsType sd = new ShippingDetailsType();
sd.InternationalShippingServiceOption = new InternationalShippingServiceOptionsTypeCollection(new[] { internationalShipping1 });
item.ShippingDetails = sd;
item.ShippingDetails.ExcludeShipToLocation = new StringCollection();
item.ShippingDetails.ExcludeShipToLocation.Add("TN");
item.ShippingDetails.ExcludeShipToLocation.Add("FJ");
item.ShippingDetails.ExcludeShipToLocation.Add("JE");
答案 0 :(得分:0)
J' ai essaye ceci:` ShippingDetailsType sd = new ShippingDetailsType();
// Shipping type and shipping service options
InternationalShippingServiceOptionsType internationalShipping1 = new InternationalShippingServiceOptionsType();
internationalShipping1.ShippingService = ShippingServiceCodeType.FR_OtherInternational.ToString();
internationalShipping1.ShippingServiceCost = new AmountType { Value = 0, currencyID = CurrencyCodeType.EUR };
internationalShipping1.ShippingInsuranceCost = new AmountType {
internationalShipping1.ShippingServicePriority = 1;
internationalShipping1.ShipToLocation = new StringCollection(new[] { "Worldwide" });
ShippingDetailsType sd = new ShippingDetailsType();
sd.InternationalShippingServiceOption = new InternationalShippingServiceOptionsTypeCollection(new[] { internationalShipping1 });
sd.ExcludeShipToLocation = new StringCollection();
sd.ExcludeShipToLocation.Add("CN");
sd.ExcludeShipToLocation.Add("US");
sd.ExcludeShipToLocation.Add("AU");`
Mais toujours rien -_- 真的不明白为什么?? !!
答案 1 :(得分:0)
已经解决了
N'oublier pas de mettrer dans votre parametre Ebay
Préférencesdelivraison >> Exclure des lieux de livraison dans vos annonces >>的是
Il faut juste qu'ilsoitàOUI C'estreès重要