【问题标题】:How do I implement my eCommerce host's API?如何实现我的电子商务主机的 API?
【发布时间】:2013-04-10 20:40:45
【问题描述】:

我正在尝试使用我的商店 API 生成产品页面,但不知道如何开始。

现在是产品页面http://www.imagedepotinc.com/Image_Depot_Store/Products。如果我可以访问代码,我会对其进行调整,直到它按照我想要的方式设置。由于我没有访问权限,他们对我的唯一选择就是从头开始构建它。

我的电子商务主机是 inksoft,他们不提供最有用的技术支持,也没有任何文档。我被告知的只是“这里有 API 文件,但我们不知道它们的作用”。

他们给我的“API”文件是一些链接的列表,如下所示:

http://www.imagedepotinc.com/GetProductCategoryList/2585

当您单击一个时,它会将您带到一个 XML 文件(XML 文件是 API 吗?):

<ProductCategoryList>
<vw_product_categories product_category_id="45904" name="Printed Apparel" path="Printed Apparel" thumburl_front="REPLACE_DOMAIN_WITH/images/publishers/892/ProductCategories/Printed_Apparel/80.gif"/>
<vw_product_categories product_category_id="8920007" parent_id="45904" name="T-Shirts" path="Printed Apparel -> T-Shirts" thumburl_front="REPLACE_DOMAIN_WITH/images/publishers/892/ProductCategories/Printed_Apparel/T-Shirts/80.gif"/>
<vw_product_categories product_category_id="45907" name="Promotional Items" path="Promotional Items" thumburl_front="REPLACE_DOMAIN_WITH/images/publishers/892/ProductCategories/Promotional_Items/80.gif"/>
<vw_product_categories product_category_id="45906" name="Digital Printed Products" path="Digital Printed Products" thumburl_front="REPLACE_DOMAIN_WITH/images/publishers/892/ProductCategories/Digital_Printed_Products/80.gif"/>
<vw_product_categories product_category_id="45939" parent_id="45906" name="Banners" path="Digital Printed Products -> Banners" thumburl_front="REPLACE_DOMAIN_WITH/images/publishers/892/ProductCategories/Digital_Printed_Products/Banners/80.gif"/>
</ProductCategoryList>

我一直在寻找有关如何实现商店 API 的信息,但找不到任何有用的信息。

在此先感谢,如果我含糊不清,请见谅。

【问题讨论】:

    标签: xml api e-commerce implementation


    【解决方案1】:

    您可以使用 zend-frameworks 或 Epiphany 创建可靠的 API

    【讨论】:

    • 谢谢。这可能有点超出我的想象,但我会做一些研究。
    猜你喜欢
    • 1970-01-01
    • 2016-07-06
    • 2011-01-14
    • 1970-01-01
    • 2010-11-05
    • 2011-02-10
    • 2011-07-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多