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. ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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? |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| 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 |