php xml shopping cart script

XML Cart

A mobile-friendly / responsive PHP XML shopping cart script, that can be used to integrate a basic shopping cart functionality in existing sites. It doesn't use a relational database, but a XML file to store and edit the products data ...

What is DB XML Cart?



NetArt XML Cart,  free responsive shopping cart script
XML Cart is a free and simple PHP shopping cart script using XML files to store the data - to add it on a web page you just need to include a single line of php code in your php file or add an iframe if you wish to insert it in a html file. No database is used and no installation is required, the products information is defined in a XML file with your products (see Help & FAQ for the supported format). The customers will be able to add the products in their cart, check out (an email notification will be sent to the store owner) and pay with PayPal (the script generates the PayPal payment code).


How can it be used?


Information & Frequently Asked Questions

1) How to add it in a .php file?

If you downloaded xml-cart.zip and extracted the files in a sub folder /xml-cart , it's enough to add such line of php code:

<?php
 include("xml-cart/cart.php");?>

at the position in your php file where you would like the cart to show up.

2) How to add it in a .html file?

To add the cart in a .html file, you need to insert an iframe line of code in it (see below). Please note when using this option, you still need to have PHP running on your server, since it's used to process the cart, send email notifications to you and others.

The iframe code to be inserted in your html file (at the position you would like the cart to show up) is:

 <iframe src="xml-cart/cart-iframe.php" width="100%" frameborder="0" height="100%"></iframe>


Please note sometimes you may need to limit the height taken by the cart - you could do that by setting the height in pixels using the height parameter of the iframe tag. For example the line below will set it to 600px:
 <iframe src="xml-cart/cart-iframe.php" width="100%" frameborder="0" height="600"></iframe>

3) How to define my own products?

You could do that by editing the products.xml file located in the /xml-cart folder.

You may find below the content of the sample products.xml file we are using in our demos:

 <my_products>
 <product>
 <id>1</id>
 <name>Some test product</name>
 <price>49.00</price>
 <description>
 Here comes the description of the test product ...
 </description>
 <details_link>www.google.com</details_link>
 </product>
 <product>
 <id>2</id>
 <name>Another test product</name>
 <price>69.00</price>
 <description>
 This is the description of the second test product ...
 </description>
 <details_link>www.yahoo.com</details_link>
 </product>
 </my_products>

For every product you may use the following fields:

id - the unique id of the product.
name - is the name of the product
price - price of the product, it should be entered without the currency symbol
description - the product description
details_link - you may fill a value in it, if you would like to have a Details button linking to the product details page. If you leave it empty, then no Details link will show up for the product.

4) Setting the currency symbol, PayPal currency code, PayPal account and email address to be used for order notifications?

To change these values, you need to edit the configuration file - config.xml located in the /xml-cart folder.

You may check the content of the sample config.xml file below -

 <my_config>
 <configuration>
 <notification_email>your_email@mail.com</notification_email>
 <currency_symbol>$</currency_symbol>
 <currency_code>USD</currency_code>
 <paypal_account>test@paypal.com</paypal_account>
 </configuration>
 </my_config>

Online Demos



Please find below demos of the front-end and the administration panel ...

easy cart responsive script


This demo shows a basic integration in a bootstrap template by simply inserting a line of php code in it.



iframe shopping cart php script


This is our most basic example, we took an empty html file and inserted a line of iframe code in it.



verti template shopping cart


Verti is a html, which is free and responsive (it can be downloaded from web). We used the html method to integrate the cart in it, by just inserting a a line with iframe code.




Get XML Cart for Your Site

Receive instantly the download information and let us install it for you on your preferred server or hosting package, it's a free service we offer ...

The XML Cart price is paid once and after that you can use it after for as many years as you want without paying any other fees.
When purchasing XML Cart, you get also:
-the full source codes
-free technical support
-free installation on your host (if you prefer that we do it for you)
-free powered by removal

Why Choose Our PHP Scripts and Ready-Made Website Systems?

Please check below some of the advantages of the ready-made website solutions and PHP scripts we offer ...


unencrypted source code
Unencrypted Source Code

By default, we provide unencrypted source code, allowing you to modify it or add new features as needed.

free & easy installation
Free & Easy installation

Our integrated web installer ensures a quick and easy setup. If you prefer, we can handle the installation for you at no additional cost.

fast & friendly support
Fast & Friendly Support

We strive to assist our customers promptly and efficiently. Feel free to test it yourself-contact us, and we'll respond as quickly as possible.

multi-language products
Multi-Language Products

A language file makes it easy to translate the system into new languages, with ready-made translations available upon request.

white label
White Label

You're not required to include any links or 'powered by' credits to us on your site, and there’s no extra fee for this.

easy to customize
Easy to Customize

Our template-based approach simplifies the customization of site design and you can also easily adjust colors and other options from the admin panel.

combine them with other products
Combine them with Other Products

You can combine our various products to create websites with unique features and a single login for users.

customization services
Customization Services

We offer a range of customization services to tailor the software to meet your project requirements.

20 years in business
20 Years in Business

Founded in 2005, we have consistently offered and improved our ready-made website systems and software products.

optimized for speed and performance
Optimized for Speed and Performance

We focus on using simple data structures to ensure fast database queries, quick site loading, and the ability to support a large number of listings and users.

seo optimized
SEO Optimized

We prioritize SEO by ensuring fast loading times, using SEO-friendly URLs, and optimizing meta tags, among other strategies.

mobile friendly
Mobile Friendly

We design all our products and interfaces to be mobile-friendly, ensuring optimal performance on various devices, including smartphones and tablets.

combine several php scripts

Combine several scripts on one site

Combine several of our php scripts on one site to create unique websites with single login and multiple features and functionality for the users ...

WHO WE ARE


We are a software company founded in 2005, driven by a passion for creating high-quality, innovative web solutions, ready-made website systems, PHP scripts, and tools that make building complex business websites fast, efficient, and far more affordable than custom web development.
To help adapt our systems to our customers' business needs and project requirements, we offer a range of customization and custom development services at affordable prices, along with free technical support.

netart media YEARS <br/>IN BUSINESS

19

YEARS
IN BUSINESS

netart media SOFTWARE SOLUTIONS

52

SOFTWARE SOLUTIONS

netart media CUSTOMER WEBSITES

5000+

CUSTOMER WEBSITES