rwaller
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Downloads
Gallery
Store
Posts posted by rwaller
-
-
I have recently purchased the PHP Shopping cart using xml and php software. I have a website created and each time I add a product to the xml file, it displays horizontally on the webpage. It's ok when you only have three like the tutorial shows. But when I put more than that, it continues to go across the page without going to a new line.
Can someone tell me the best way to set the templates.php, main.css, or xml file so that my products start a new line after a certain number is added to the page.
Thanks,
RWALLER
Php, Xml Products Post Horizontal On Website
in PHP
Posted
Thanks @cygnet and Ben for your replies. I will give it a try and let you know what I come up with. Will I need to add the " $line_item_counter" variable to the render_products function, if so, I would I reset it to one once I have three products in a row?