osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

is there a Multiple Rows of same product mod?

This is a discussion on is there a Multiple Rows of same product mod? within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Hi, I'm looking for a extensive mod that creates a new row in shopping_cart.php when a customer buys a product. ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 03-22-2005, 09:05 PM
New Member
 
Join Date: Mar 2005
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
loba
Default is there a Multiple Rows of same product mod?

Hi,

I'm looking for a extensive mod that creates a new row in shopping_cart.php when a customer buys a product. At the moment, the system will check for similar product id and addon to that product's qty.

If there's none, is there anyone who can give me advice as to how i can go about doing this?

Currently, I'm thinking of adding a session id which acts as a temporary bastket_id so that if similar products are ordered, there will be a new row on the shopping cart when the add_cart() uses the session_id to update instead of just product_id.

any better suggestions?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 03-23-2005, 11:04 PM
New Member
 
Join Date: Mar 2005
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
loba
Default RE: is there a Multiple Rows of same product mod?

Ha nvm, i fixed it with a very "shortcut" way...

General Idea
1) declare a session counter in product_info,
2) pass counter from product_info -> application_top -> shopping_cart by adding an extra var to the tep_add_cart (),
3) concat row with $prid such that it appears as a super $prid hehe
4) system will now sort by product_id{ $option } $value | $product_row...
5)viola
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Product Listing 2 columns and 3 rows joeyliu osCMax v1.7 Discussion 3 03-16-2005 05:06 PM
One product - multiple categories MysticalMoon osCommerce 2.2 Modification Help 1 07-29-2004 11:14 PM
Restricting multiple product purchases robroymedia osCMax v1.7 Discussion 0 06-21-2004 08:55 AM
How to change product listing to Rows?? rzasa osCMax v1.7 Discussion 11 10-07-2003 09:20 AM
Product in Multiple categories? Anonymous osCommerce 2.2 Modification Help 2 12-21-2002 12:17 AM


All times are GMT -8. The time now is 12:28 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax