Browse | Submit A New Snippet

Snippets by category: Shopping Carts

Snippet ID Title Creator
Snippets
1PipePriceAnon
this class works as a pipe:
the number is pushed at the top
it flows down through any operation added
and then out in its final value

u can choose to add reductions of price if a quantity is reached
or add costs to it if there are special taxes
and so on...
69Basket class for e-commerce purposehsaavedr
This class provides methods for add, remove, update and remove all items from a basket. The basket works with a session cookie, saving the product ID and quantity in an array for simple accesing it. There's an example in this category... called "Basket example using basket class"
70Basket example using basket classhsaavedr
This example shows how to work with the class "basket"
148XCartmorphy
A shopping cart which work with xml instead databases...
254lazy shoppiny cartlazyfoobar
Entire shopping cart which does not rely on cookies. It uses a MySQL database for storing product data, as well as shopping cart data. Right now it's a rough and dirty, but functional shopping cart.
411UPS Shipping Calculatortflinton
Simple program that will calculate a UPS shipping rate for any of UPS's shipping types.
413Fedex Shipping Calculatortflinton
Calculate Shipping Rates for any of Fedex's Shipping Types including Express types and Ground types
449"Customers who like this also like ..." list makerrunix
This code will help you to make those "Customers who bought this also bought" lists, based on the times that 2 items have been seen together.



1271Marketing Intelligence Masterufstudent_2000

The Marketing Intelligence Master is free, easily installed and simple to use. It includes a shopping cart, product/customer management system, content management system, promotions/discount management system and many more features; which will help you sell and market products to your customers. The shopping cart allows you to accept credit cards, automatically computes sales tax, and processes real time shipping rates from UPS. Individuals and businesses can use the MIM to build professional looking websites, create newsletters, track customer purchases, connect with leading merchant gateways and access detailed reports on customers, sales and products. The MIM has produced great results for retailers and has created a pleasurable shopping experience for their customers.
712aaronUPS - XML UPS Rates and Services Classcorwin
Hi. This is the first time I've worked with XML, but I've done a fair amount of shopping cart work. I was looking for a way to get UPS rates for various packages in an order placed online, and couldn't find any that supported international orders..... So I wrote one. Hope you all like it. It is basicly very usable, (but read the disclaimer!) it just lacks a list of country codes, etc. I'll update it later and add those, but who knows if I will get around to it, so I might as well upload version .1 now.

Enjoy!
785Calculate Priority Mail Shipping Costindysams
You must know the Zone to send it to (see my other snippet, Get Priority Mail Zone from Zip Code).
786Get Priority Mail Zone from Zip Codeindysams

This is actually an mIRC script, but it makes a PHP file.

You can either email me your zip code (indy@isb.iwarp.com) and I will make it for you and send it to you, or if you have knowledge of mIRC, you can follow the instructions below.

1. Goto http://postcalc.usps.gov/zonecharts/ and enter in the first three digits of your area code, and press Get Zone Chart. Then save the resulting page locally as an HTML file.

2. Open mIRC (www.mirc.com if you don't have it), load the attached remote script, and type: /mail_convert pathtosavedchartfromstep1.html

3. It will output zones.inc.php in the folder with the HTML file.
792pfpro.class - verisign payflowpro classchikki
A class for use with the verisign pfpro extension.

Ability to fully manage credit card transactions online using Verisign pfpro.

Includes, sale, authorize, capture, credit and more. Support for AVS (Address Verification)
1207Quick Carttreewood
Quick Cart is a freeware, simple and multilingual Shopping Cart. It is based on flat files (NO SQL required). There is full administration of categories, products, contents and orders.
991Simple Cartflashin
Just a simple cart, does work with mysql. It's just a start, it may help someone :)
1255 an e-Commerce Mall Portal: Php-MultiShoptropic
Based on PhpNuke and osCommerce, Php-MultiShop is an application to realize an e-commerce mall system. It can be used as a portal for any type of content (such as news, forums, events, etc.) and one or many independent shops. Every store can have its own Internet domain, and all the features and the personalization of a typical shopping cart system. Each shop can be administered in full autonomy by its own administrator:
http://php-multishop.com
1227PhPepperShopfontajos
This German-only webshop is optimized to be as dynamic as possible (change one thing -> immediate effect on the whole shop). Features: Webinterface to administrate the shop, search engine (google like), SSL/TLS support, several VATs, payment institute interface, categories/subcategories, product picture (jpg/png/gif), automatic thumbnail creation with zoom capabilities, weight (shipping costs), weblink, variations, grouping of variations, options, textfields, shipping cost management, several types of payment supported, CRM, creditcard support, layout management, diagnostics, automatic installation, backup management, huge documentation, and much more. For further information visit us on http://www.phpeppershop.com/.
1296Paypal Pro PHP 1.1 - for Paypal Website Payments Prohuntersinclair
Paypal Website Payments Pro is a new, easy way of accepting credit cards. No gateway or merchant account needed. This script allows you to easily connect to the Paypal Pro servers and process credit cards without the headaches of dealing with the complicated integration. Start accepting online payments as soon as possible.

We have done the work for you:

- No complicated SDK and integration with Paypal APIs.
- Customizable for your own website (we have made it very easy to modify only 1 or 2 config files to completely change the look and feel for your site)
- Built in UPS and Flat rate shipping calculator
- Built in Mini shopping cart (easy to use) - In case you do not already have one
- Payment options by credit card (visa, mc, amex, disc) or by paypal express
- Automatic Email order confirmation to both you and customer
- Very clear installation instructions
- Drop in and ready to go in minutes
- Online Demo available to see it in action at http://www.zenatdesign.com/PaypalProDemo
- Forum Board to get your questions answered

Cost: $49.95
Check it out at:
http://www.zenatdesign.com/PaypalProDemo
1347I need help to solve this problemtabu_a
I am trying to make an ecommerce site and in addtobasket file I put following code to read the Quantities of the product but it keep sending this warning. I used same code 2 years back on PHP3 at that time it works but now its saying

Warning: Variable passed to each() is not an array or object

1396Advanced Ajax Search for Oscommerce with Extra Fieldswarrior
You are able to filter products by extra fields with this Oscommerce MS2.2 contribution. It can be used also in CREloaded, OscMAX (OSCdox). New box can be placed in left/right column or in content part of the store. First of all you are choosing category and first extra fields values for products from this category will appear. After this you can choose value of current extra field and next extra field values will appear. After you click on search button and do not choose all extra fields then appropriate products for selected values will be filtered. Unlimited count of extra fields and its value supported. It works fast and effective with newest Ajax.

Please click here to see demo.

Requirements:
Oscommerce MS2.2
PHP 4*, 5*
Mysql 4*
1397T-shirt Customizer For Oscommercewarrior
Contribution for Oscommerce (MS 2.2, CREloaded, MaxOSC) based T-shirts stores. Customers are able to customize logo (uploadable or from store collection), text on the t-shirt with this contribution. Customized T-shirts are saved and admin can find it in the orders at admin part. There is an ability to manage logos with its categories, fonts for site administrator.

Please visit http://www.advancewebsoft.com/demo/tshirt/ to see demo.

Requirements:
Oscommerce MS2.2
PHP 4*, 5*
Imagemagick
GD
Mysql 4*
1408Excel Populate for Oscommerce, CREloaded, Zen-Cart warrior
Script help you manage (add, edit, delete) products, products attributes, categories, manufacturers via Excel file.
1437iBilling Clientibillingclient
The iBilling Client Library is an integration solution (API) for Intrannuity’s iBilling subscription and recurring billing platform. The library enables developers to rapidly add subscription and recurring billing, credit card and ACH payment processing, and account management to their software.  The library provides for minimal developer effort and maximum security.
The billing platform utilized by the library provides a free web portal management system (UI built on top of the library) and a set of OLAP based reports that can be integrated into 3rd party software via Web-Services (includes billing breakdown, billing cycle entry/exit, revenue forecasting, etc). All major platforms (Java /.NET / PHP /Ruby / ColdFusion / SOAP) are supported. Code samples with detailed documentation are provided for every supported language and include the most common use cases.