rotating images

General ShopSite user discussion

rotating images

Postby jweiss » Mon Dec 14, 2009 7:41 pm

On a site that I'm working on there's a featured product section on the front page. It shows one image at a time, with links below to load the other products. Now the client wants the products to rotate automatically. In a straight PHP page I could do this without a problem, just out put the product info into a JavaScript array and then loop through it on a timer. But on ShopSite, I haven't a clue as to how to go about getting all the products into the array.

Here's a link to the site: http://tinyurl.com/y8rd5l7

Any help would be greatly appreciated.

Thanks,
Jeremy
jweiss
 
Posts: 3
Joined: Wed Sep 17, 2008 1:57 pm
Location: Panama City Beach

Postby Jim » Mon Dec 14, 2009 8:45 pm

just use the [-- loop products --] [--product--] [--end_loop products --] to put the data for the products into your array.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah


Return to User Forum

Who is online

Users browsing this forum: No registered users and 96 guests