This is a discussion on Product Quantity Box within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Hello Everyone, I need some help please. I would like to know if someone can direct me or help me ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hello Everyone, I need some help please. I would like to know if someone can direct me or help me solve this issue. As we all know you can select an Item and go to the cart and select the quantity for that one Item, then you have to go back to the same page to select the other item. I would like to give my clients the option of the per item quantity box, before going to the cart page. I am using the MS2 MAX version with the osc template. Example Choices: Seat Color Select Box Drivers Seat $1.00 Qty:1 Passengers Seat $1.00 Qty: Racing Harness $1.00 Qty: 1 Sliders $1.00 Qty: Thank you for your assistance. |
|
#2
| |||
| |||
| This is what I am looking for: http://www.customjersey.com/product_...roducts_id=506 or http://www.vintageland.com/catalog/p...9b043ebf4b1485 Can someone please help me. Thank you auntie22 ![]() |
|
#3
| |||
| |||
| I think this is what you are looking for: http://www.oscommerce.com/community/...ty+add+to+cart |
|
#4
| |||
| |||
| I tried it and it does work. |
|
#5
| |||
| |||
| Hello, I tried this, but I cannot find the in_cart in the product_info.php page. I did replace this in my application top.php $HTTP_POST_VARS['id']))+1 $HTTP_POST_VARS['id']))+$quantity any other suggestions were I might find the in_cart in ms2 max with the osc template. Thank you, |
|
#6
| |||
| |||
| In catalog/templates/content/product_info_tpl.php Find the code below: Code: <p><?php echo stripslashes($product_info['products_description']); ?></p> Code: Qty <input type="text" name="quantity" value="1" maxlength="2" size="2"> |
|
#7
| |||
| |||
| Hi again, I did what you instructed but nothing, do I have to put: 2.search your application_top.php find this code: --------------------------------------------- $HTTP_POST_VARS['id']))+1 -------------------------------------------- replace with this one ------------------------------------------ $HTTP_POST_VARS['id']))+$quantity someplace other than where instructed. Again thank you. |
|
#8
| |||
| |||
| no, just in application top. It took some fiddling on my part to get the qty box to show up but it's working for me where I showed you to put it in the previous post. Just try putting it in some other places till it shows up. |
|
#9
| ||||
| ||||
| For OSCMAX you do have to modify the application_top.php Line 376 in my version (I think it is unmodded) ..... you'll find this line $cart->add_cart($HTTP_POST_VARS['products_id'], $cart->get_quantity(tep_get_uprid($HTTP_POST_VARS['products_id'], $HTTP_POST_VARS['id']))+$quantity, $HTTP_POST_VARS['id']); And you can see where I bolded it ... I have it working now |
|
#10
| |||
| |||
| I cannot seem to get this to work. I am getting the qty box but no matter what number i put in the box, it still only adds one product to the cart. Any assistance appreciated. |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| discount for quantity with per product | xzyyy | osCMax v2 Customization/Mods | 4 | 02-22-2007 10:24 AM |
| Help Quantity BUG... | djlane | osCMax v1.7 Installation | 1 | 07-02-2005 06:17 PM |
| Product Quantity on Product Listing Page | vinces | osCMax v1.7 Discussion | 2 | 12-10-2004 06:32 PM |
| Product Quantity bug | Arpit | osCommerce 2.2 Modification Help | 1 | 06-19-2003 06:56 PM |
| Quantity to order shown on Product detail | doug | osCommerce 2.2 Modification Help | 5 | 03-06-2003 01:51 AM |