0

我正在尝试使用我的商店 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 的信息,但找不到任何有用的信息。

在此先感谢,如果我含糊其辞,请见谅。

4

1 回答 1

0

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

于 2013-04-10T20:49:25.917 回答