Volusion API通用产品出口,产品形象缺失 [英] Volusion API generic product export, product image missing
问题描述
我使用Vollusion API来获取产品信息,使用下面的URL来导出数据。
i am using Vollusion Api To get Product information, using the below URL to export data.
<一个href=\"http://www.example.com/net/WebService.aspx?Login=mylogin&EncryptedPassword=mypaasword&EDI%5fName=Generic\" rel=\"nofollow\">http://www.example.com/net/WebService.aspx?Login=mylogin&EncryptedPassword=mypaasword&EDI_Name=Generic\\Products&SELECT_Columns=*,pe.PhotoURL_Large,pe.PhotoURL_Small,pe.PhotoURL_Large.
http://www.example.com/net/WebService.aspx?Login=mylogin&EncryptedPassword=mypaasword&EDI_Name=Generic\Products&SELECT_Columns=*,pe.PhotoURL_Large,pe.PhotoURL_Small,pe.PhotoURL_Large.
此URL出口其他产品信息的XML文件,而不是产品形象。
This URL Exports other product information to XML file, but not the product Image.
Plzzz帮助,如果有任何人知道这件事。
Plzzz help if any one know about it.
推荐答案
之所以没有图像数据返回是因为你很可能没有插入PhotoURL_Small和/或PhotoURL_Large领域在管理方面的任何URL数据你的店为您的产品。 PhotoURL_Small和/或PhotoURL_Large字段只从这些字段中的数据填充。没有内置的Volusion方法有图像的URL出现在生成的 API调用管理输出在XML中。
The reason why there is no image data returned is because you most likely do not have any url data inserted into the PhotoURL_Small and/or PhotoURL_Large field in the admin area of your store for your products. PhotoURL_Small and/or PhotoURL_Large fields are only populated from data in these fields. There is no built in Volusion method to have the image URL's appear within the XML output from a admin generated API call.
有是在XML输出返回到图像URL的方式,但它需要一个不同的API方法,并没有任何与内置的Volusion API管理页面,所有这一切都超出了眼下的问题的范围。
There is a way to return the image url in the XML output but it requires a different API approach and has nothing to do with the built in Volusion API admin page, all of which is beyond the scope of the question at hand.
修改
为什么不运行管理部分一个简单的SQL查询?首页>清单>导入/导出
Why not run a simple SQL query from the admin section? Home > Inventory > Import / Export
假设2吨图像大小。如果你想要一个更小或更大尺寸的变化。
Assuming a "2t" image size. Change if you want a smaller or larger size.
SELECT
Products_Joined.ProductCode,
'Config_FullStoreURLConfig_ProductPhotosFolder/' + replace(Products_Joined.ProductCode,'/','-fslash-') + '-2T.jpg' AS Image_URL
FROM Products_Joined
这篇关于Volusion API通用产品出口,产品形象缺失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!