Loop within a loop
-
Hi all,
Ok, I am currently trying to setup an ecommerce store with the wp-ecommerce plugin and since I didn’t get a decent response there I have come here to find a solution.
Recently wp-ecommerce changed the way you fetch posts from using their own function to now using wp’s get_posts() which has totally ruined my custom products loop.
Basically what I’m trying to do is display a list of products inside certain wordpress pages. It used to work fine but since wp-ecommerce changed my page just goes into an infinite loop!
Here is my code in a simplified format:
[Code moderated as per the Forum Rules. Please use the pastebin]
I really can’t see why this wouldn’t work so any advice would be much appreciated!
Thanks,
- The topic ‘Loop within a loop’ is closed to new replies.