This is a discussion on shopping_cart within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hello, I want to do in file shopping_cart a test to do a pre-order of a product. the product with ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hello, I want to do in file shopping_cart a test to do a pre-order of a product. the product with "PRECOM" exists but my test don't works. maybe an error in my request. I don't find : $prod = mysql_query("SELECT products_model FROM products WHERE products_id = '" . $HTTP_GET_VARS['products_id'] ."'"); $prod_mod=mysql_fetch_array($prod); $nom_model=$prod_mod['products_model']; if (ereg("PRECOM",$prod_mod['products_model'])) { //echo '$prod_mod['products_model']'; echo 'reservation'; } echo 'commande'; |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Shopping_cart.php | dsimes | osCMax v2 Customization/Mods | 1 | 09-08-2005 04:13 AM |
| getting odd sql shopping_cart.php | thinkweb | osCMax v1.7 Discussion | 0 | 02-07-2005 12:30 PM |
| Send email from shopping_cart.php | neil | osCMax v1.7 Discussion | 4 | 01-29-2004 02:45 PM |
| Changing Code in shopping_cart.php | JaaMor | osCommerce 2.2 Modification Help | 1 | 11-13-2003 09:27 PM |
| Modification to shopping_cart.php box needed... | atech | osCommerce 2.2 Modification Help | 0 | 09-03-2003 05:25 PM |