Extract Products by Category
Posted: Fri Oct 31, 2008 2:45 pm
Is there a way to use the Ablecommerce API to build the code we need to extract the items for the various categories that need to be displayed on the new FMA site. For instance, our Program and Event site would call the page on the store site to extract the all bookstore items tagged with keyword COIL for instance and pass back a result set, which the FMA site would read and present to the user.
We currently use this coldfusion code to pull our products in our old store from a db to be displayed randomly
<cfquery name="GetRandomItem" datasource="FCData">
SELECT Name, Product_ID, Sm_Image
FROM Products
WHERE Product_ID = #ListGetRandom(RecordList)#
</cfquery>
We currently use this coldfusion code to pull our products in our old store from a db to be displayed randomly
<cfquery name="GetRandomItem" datasource="FCData">
SELECT Name, Product_ID, Sm_Image
FROM Products
WHERE Product_ID = #ListGetRandom(RecordList)#
</cfquery>