osCmax v2.5 User Manual
Results 1 to 2 of 2

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. ...

      
  1. #1
    New Member
    Join Date
    Mar 2005
    Posts
    19
    Rep Power
    0


    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?

  2. #2
    New Member
    Join Date
    Mar 2005
    Posts
    19
    Rep Power
    0


    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

Similar Threads

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •