Zen Cart Logo
Forums / General Questions / API? Displaying a zen cart product listing in another php app

API? Displaying a zen cart product listing in another php app

Locked

Views: 984

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
22 Nov 2007, 5:54 PM
#1
cooperwd avatar

cooperwd

New Zenner

Join Date:
Nov 2007
Posts:
19
Plugin Contributions:
0

API? Displaying a zen cart product listing in another php app

Hi there!

I'm building a site that has a zen cart installation at a subdomain, but the main domain will be some other app -- possible Drupal, possibly a PHP framework.

I would like the site at the main domain to show product listings from the zen cart installation -- featured products, new products, current specials, stuff like that. My first inclination was to just cobble something together -- connect to the database, and create an array from the featured, products, etc tables.

But then I thought "hell there's an API -- maybe there's a better way?" For example, maybe there's an API call that gets a product listing that is aware of inventory, aware of a site being down for maintenance, etc.

Any advice (general or specific) that you can provide would be greatly appreciated!

All the best!
Dave

22 Nov 2007, 6:35 PM
#2
poolprorich avatar

poolprorich

Zen Follower

Join Date:
Aug 2007
Location:
Tampa FL.
Posts:
143
Plugin Contributions:
0

Re: API? Displaying a zen cart product listing in another php app

hello,
Can you use the rss feeder and display to your main domain as this would update itself i would think

22 Nov 2007, 6:45 PM
#3
cooperwd avatar

cooperwd

New Zenner

Join Date:
Nov 2007
Posts:
19
Plugin Contributions:
0

Re: API? Displaying a zen cart product listing in another php app

Ha! That's too funny. Didn't even occur to me to look for an rss feed. Some web developer I am :)

Thanks so much Rich -- you just saved me countless hours of php screwing around.