HTML Shopping carts

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
vivekjain
Forum Commoner
Posts: 76
Joined: Thu Jan 08, 2004 12:38 am

HTML Shopping carts

Post by vivekjain »

Hi,
We have developed an E-Commerce site, which has a customized shopping cart. Since the products are numerous and the display of each product needs to be different, we have all the products in HTML page and not PHP pages. The product listing is not dynamic. Also, the site is optimized for search engines, it is preferrable to use HTML. Are there any shopping carts available for purchase, wherein it takes care of HTML listing of products. Hope I am clear.
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Re: HTML Shopping carts

Post by Burrito »

vivekjain wrote: Hi,
Since the products are numerous and the display of each product needs to be different, we have all the products in HTML page and not PHP pages.
that seems counterintuitive to me: different=dynamic=php!=HTML
vivekjain wrote: Also, the site is optimized for search engines, it is preferrable to use HTML.
not true, spiders are basically just user agents and they don't care how the pages are being served up by the server, all they care about is the end result (as a regular client would), you're not gaining anything by using static HTML vs php here.
vivekjain wrote: Are there any shopping carts available for purchase, wherein it takes care of HTML listing of products. Hope I am clear.
I think you're going to have to have some kind of scripting agent to process items in the shopping cart and ultimately check out. Otherwise, it won't have any way of knowing how much, what size, for whom etc. Static HTML is just that...static. You'd be much better served using a dynamic server side language such as php, jsp, cold fusion, asp, asp.net etc to accomplish what you're after here.

try googling "HTML shopping carts" and you'll come up with a plethora of information about how you can simply "plug in your html code" and make it work. But ultimately, they will all use some kind of server side scripting to accomplish the end task.
User avatar
Skara
Forum Regular
Posts: 703
Joined: Sat Mar 12, 2005 7:13 pm
Location: US

Post by Skara »

To simplify what ^ said, html is markup; i.e. formatting. All anyone will be able to do is read about the products and look at the pictures. ;)
Post Reply