ATN Simple Cart


What is ATN Simple Cart?


It's a free and easy to integrate simple shopping cart script - you need to just 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).





simple shopping cart bootstrap no database




cart integration in verti template

Easy Integration, No database required


ATN Simple Cart is not using any MySQL or other type of database and no setup is required. You just need to download the files, copy them on your site (they are in a separate folder to avoid conflict with other files you may have) and include a single line of php code or add an iframe.
On our Demos & Examples tab, you may see examples of some integrations we did in free responsive templates that could be also downloaded from web.


See Demos & Examples     or     See Help & FAQ Information

Demos & Examples


simple shopping cart bootstrap no database

Demo #1 (basic bootstrap template)


This demo shows a basic integration in a bootstrap template by simply inserting a line of php code in it (please check Help & FAQ for the exact code).

Click here to open the demo


simple shopping cart bootstrap no database

Demo #2 (adding it in empty html file)


This is our most basic example, we took an empty html file and inserted a line of iframe code in it (you may check the iframe code in Help & FAQ).

Click here to open the demo


simple shopping cart bootstrap no database

Demo #3 (integration in the free Verti responsive template)


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 (you may check the iframe code in Help & FAQ).

Click here to open the demo


cart script andia template

Demo #4 (integration in the free Andia responsive template)


Andia is a html, which is free and responsive (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 (you may check the iframe code in Help & FAQ).

Click here to open the demo


free cart script onassis template

Demo #5 (integration in the free Onassis responsive template)


Onassis is one file template, which is free and responsive and can be downloaded from internet. We integrated the cart in it by adding a line of php code in it (please open the Help & FAQ tab to see the code and more information).
Click here to open the demo


free cart script pratt template

Demo #6 (integration in the free Pratt template)


Pratt is a free single file responsive template, which can be downloaded from web. We integrated the cart by adding a line of php code in it (please open the Help & FAQ tab to see the code and more information).

Click here to open the demo



Help Information & Frequently Asked Questions



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


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

<?php
include("atn-simple-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="atn-simple-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="atn-simple-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 /atn-simple-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 /atn-simple-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>



Download ATN Simple Cart



To download ATN Simple Cart, please just click on the button below:




You could see integration information on the Help & FAQ tab.

If you have any questions, you may ask them on www.atnsolutions.com/questions


Check also our advanced e-commerce systems ATN Store and ATN Mall

responsive e-commerce php scripts