Current location: Hot Scripts Forums » General Community » Script Requests » Need help in modifying this shopping cart script


Need help in modifying this shopping cart script

Reply
  #1 (permalink)  
Old 04-25-08, 07:20 PM
tundewoods tundewoods is offline
New Member
 
Join Date: Sep 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Need help in modifying this shopping cart script

Hi Guys,I need help in modifying an existing shopping cart script that was originally a tutorial on coding a simple shopping cart.

The link to the actual shopping cart tutorial is below
http://www.thewatchmakerproject.com/...-shopping-cart.

I actually want to modify the current shopping cart script to suit a simple photogallery web project with the link below
http://wbrlhosting.com/xphotos/photos.php?photoid=10

The original shopping cart script makes use of a single database table that has all the products stored in them.However i want to extend the functionality to suit my requirements which involves having size and color options.

For this purpose i have created 2 extra tables, One for Sizes and the Other for Color.The Size table has side id,size and corresponding price.

I therefore need help in modifying the actual script codes below

I presume the above session is created using the id URL vairable

$cart = $_SESSION['cart'];
if ($cart) {
$cart .= ','.$_GET['id'];
} else {
$cart = $_GET['id'];
}
$_SESSION['cart'] = $cart;


I would like to modify it to also recognize both option ids for both size and color.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Submit button....can it send info to my email w/out the use of php???? lisa33 HTML/XHTML/XML 7 10-17-06 12:46 PM
use html to open application absvinyl HTML/XHTML/XML 5 09-18-06 03:04 PM
Which Shopping Cart Script? Pope Pius X2 Script Requests 5 07-12-06 11:44 PM
Shopping script requested Anas User Script Requests 1 07-11-06 02:27 AM
PHP Shopping Cart Script for Webmasters ephppro General Advertisements 1 10-29-05 05:02 AM


All times are GMT -5. The time now is 10:07 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.