...

View Full Version : Shopping Cart Script xml or flatfile database



smooch101
03-08-2009, 01:09 PM
Does anyone know a simple php flatfile or xml shopping cart script :)
Just so i could have a shop, i would also like to integrate it into a paypal.com.au script to pass that information to paypal
etc description price shipping

barkermn01
03-08-2009, 04:12 PM
Does anyone know a simple php flatfile or xml shopping cart script :)
Just so i could have a shop, i would also like to integrate it into a paypal.com.au script to pass that information to paypal
etc description price shipping

XML is a form of Flat file....

Please say it is not but it is you have one file with all data in what the difference is is XML has functions so you not reading the file until you find you answer php can just get if from its pre_built functions.

E.G:
[test.ini]


[cat]
var=value

To read this you have to read untill you find your var=(.*?)
Then you can stop
[test.xml]


<XML HEADER>
<cat>
<var>Value</var>
</cat>

This you can ask php to get child node var from cat and it will return with the value but i think you always best with a DB engine like a form of SQL E.G MySQL as this has a system that can fetch it, i think there are some engines changing XML to work like SQL with programs

sea4me
03-08-2009, 08:32 PM
Use this:
http://chaozz.nl/software/chaozzdb/

And then you can use a regular shopping cart program...

http://www.hotscripts.com/category/php/scripts-programs/e-commerce/shopping-carts/

It will have a list of all the shopping cart scripts....

Look for the ones that say free.

This Shopping cart script is pretty popular:
http://www.oscommerce.com/

Hope this helps!
Good Luck! :thumbsup:

sea4me
03-08-2009, 08:35 PM
Hi!

It's me again

Here would be the paypal thing:
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_html_paypal_shopping_cart

It's paypal's tutorial.:thumbsup:

smooch101
03-09-2009, 02:23 AM
Thanks for all the suggestions but i just want a simple one that calulates the items how many price etc i dont need accounts or anything complecated



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum