Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

apache510

Pioneers
  • Posts

    35
  • Joined

  • Last visited

Everything posted by apache510

  1. Ignore the above two post from me. The problem is with my test server. It works perfectly with my live site. Not sure why the difference.
  2. Here is a bit more code where I think the problem is. <? $arr = explode(" ", $order->delivery['name'], 2); $myFirstName = $arr[0]; $myLastName = $arr[1]; $myFirstName = ucfirst(strtolower($myFirstName)); if(strlen($myFirstName) < 3 ){ $myFirstName = substr($order->customer['name'], 0, strrpos( $order->customer['name'], ' ') ); } ?> <input type="hidden" name="form.deliveryFirstName" value="<?php echo $myFirstName; ?>" id="tNameFirstTo"> <input type="hidden" name="form.deliveryLastName" value="<?php echo $myLastName; ?>" id="tNameLastTo"> <input type="hidden" name="form.deliveryCompanyName" value="<?php echo $order->delivery['company']; ?>" id="tCompanyTo"> <input type="hidden" name="form.deliveryAddressOne" value="<?php echo $order->delivery['street_address']; ?>" id="tAddress1To"> <input type="hidden" name="form.deliveryAddressTwo" value="<?php echo $order->delivery['suburb']; ?>" id="tAddress2To"> <input type="hidden" name="form.deliveryCity" value="<?php echo $order->delivery['city']; ?>" id="tCityTo">
  3. Tried it but still no first or last name sent to the form. Here is what I have in that area: $arr = explode(" ", $order->delivery['name'], 2); $myFirstName = $arr[0]; $myLastName = $arr[1]; $myFirstName = ucfirst(strtolower($myFirstName)); if(strlen($myFirstName) < 3 ){ $myFirstName = substr($order->customer['name'], 0, strrpos( $order->customer['name'], ' ') ); } everything else is exported to the USPS form correctly.
  4. I downloaded the update and everything works except the first and last name in the delivery address is not being populated. At least I have all the other information going through. Anyone have a fix for this?
  5. I addes the 3.7 changes as well. Everything works except the flags do not appear on the map. So the two problems may not be related. I had to tweak the a few files to add in the location of my files on the website (visitors_georss.php).
  6. Ok, the new update fixed the problem and everything is up and working again - except one thing - the pins on the map. At one time, many months ago, the pins were displayed on the map correctly. Now the map comes up and no pins. Is this a function that is permently gone? Is there a fix for this? Have I done something wrong? Does anyone still have this function working? If it is permantly gone, why still have the option of showing a map of the world?
  7. THANKS!!! I registered with them and got the new API key. Now where do I put it? I did a quick search throught the files but it is not obvious where the key goes.
  8. I am running whos online 3.6.6 everythings works except that it is not storing any of the Geo data into the database (country_code country_name region_name city latitude longitude). When I go into whos online in the the admin panel everthing seems to be ok but of course the Geo data fields are blank. If I use PHPMyAdmin to manually enter data into the Geo data fields, they are correctly displayed in the admin whos online panel. Can anyone tell me where the code to store the Geo data is located or why it is not being stored?
  9. did you ever figure out the problem? I have checked and I do have all the files installed.
  10. Solved the problem. Apparently the contribution was missing a line of code. I inserted the following: $multiplex = $_POST["multiplex"]; Right be for the line: if ($multiplex !='') { So it looks like this: <?php $multiplex = $_POST["multiplex"]; if ($multiplex !='') { Now it works perfectly!!!
  11. Solved the problem. Apparently the contribution was missing a line of code. I inserted the following: $multiplex = $_POST["multiplex"]; Right be for the line: if ($multiplex !='') { So it looks like this: <?php $multiplex = $_POST["multiplex"]; if ($multiplex !='') { Now it works perfectly!!!
  12. I can not get this contribution to work correctly. I have narrowed the problem down to one file, the admin/stats_sales_csv.php file. The section that I can not get to work is the following section: <form action="<?php echo $PHP_SELF; ?>" method="post" name="reportit"> <table border="0" width="60%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading" width="500" nowrap><?php echo HEADING_TITLE; ?></td> <td class="main" align="right"> </td> </tr> <tr> <td class="main" align="left" colspan='2'><BR><BR><?php echo TEXT_FACTOR . ":";?> <select name = "multiplex"> <option value="10" <?php if ($multiplex == 10) echo "selected";?>>10</option> <option value="25" <?php if ($multiplex == 25) echo "selected";?>>25</option> <option value="50" <?php if ($multiplex == 50) echo "selected";?>>50</option> <option value="100" <?php if ($multiplex == 100) echo "selected";?>>100</option> <option value="500" <?php if ($multiplex == 500) echo "selected";?>>500</option> <option value="1000" <?php if ($multiplex == 1000) echo "selected";?>>1000</option> <option value="10000" <?php if ($multiplex == 10000) echo "selected";?>>10000</option> </select> <input type="submit" name="Submit" value="Submit"> </td> </tr> </table> </form> </td> </tr> <?php if ($multiplex != '') { The problem is that the varible $multiplex never gets a value so the code never executes. I have gone in and added the code: <?php $multiplex = 10; ?> Right before the varible $multilex is checked so that I can get the graphs. Anyone have any idea why this will not work?
  13. I just installed it and it seems to work fine with one exception. It does not take the test credit card: Credit Card Test #: Card: 5000300020003003 Expiration: 1209 CVV2: 123 Any value under $50.00 I get the error message: The first four digits of the number entered are: 5000. If that number is correct, we do not accept that type of credit card. If it is wrong, please try again.
  14. I discovered a bug. If you enter no credit card number you get the message: Warning: str_repeat() [function.str-repeat]: Second argument has to be greater than or equal to 0 in C:\xampp\htdocs\catalog\includes\modules\payment\chargeit.php on line 235
  15. I loaded the module but the test credit card number has expired. The expiration date given was 12/08. Is there another set of numbers that I can use to continue testing?
  16. Ok cleaned it up. Now when you open the order page only the right button is displayed - either UPS or USPS depending on which service the customer choose. To clean it up, do the following: 1) Follow the instruction as posted in the second post above - Install the usps label 2.0.4 module first and then install the ups_worldship_xml_auto_import_v1.3_1 module with the modification given above. 2)*** FIND: **** <tr> <td colspan="2" align="right"><?php echo '<a href="' . tep_href_link(FILENAME_ORDERS_USPS_SHIP, 'oID=' . $HTTP_GET_VARS['oID']) . '" TARGET="_blank">' . tep_image_button('button_labelshipping.gif', IMAGE_ORDERS_USPS_SHIP) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS_INVOICE, 'oID=' . $HTTP_GET_VARS['oID']) . '" TARGET="_blank">' . tep_image_button('button_invoice.gif', IMAGE_ORDERS_INVOICE) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS_PACKINGSLIP, 'oID=' . $HTTP_GET_VARS['oID']) . '" TARGET="_blank">' . tep_image_button('button_packingslip.gif', IMAGE_ORDERS_PACKINGSLIP) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('action'))) . '">' . tep_image_button('button_back.gif', IMAGE_BACK) . '</a>'; ?></td> </tr> *** INSERT RIGHT ABOVE IT: *** <?php $rqShipping = tep_db_query("SELECT title FROM " . TABLE_ORDERS_TOTAL . " WHERE orders_id = " . (int)$oID . " AND class = 'ot_shipping'"); $shipping = tep_db_fetch_array($rqShipping); $ship_method = substr(preg_replace(array('/^United States Postal Service/', '/^US Postal Service/'),'USPS',$shipping['title']),0,-1); $contents[] = array('text' => '<br>' . TEXT_INFO_SHIPPING_METHOD . ' ' . (preg_match('/Priority/',$ship_method)? $ship_method : '<b>' . $ship_method . '</b>')); ?> <?php if (!preg_match('/^United/',$ship_method)) { ?> 3) *** FIND AGAIN: **** <tr> <td colspan="2" align="right"><?php echo '<a href="' . tep_href_link(FILENAME_ORDERS_USPS_SHIP, 'oID=' . $HTTP_GET_VARS['oID']) . '" TARGET="_blank">' . tep_image_button('button_labelshipping.gif', IMAGE_ORDERS_USPS_SHIP) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS_INVOICE, 'oID=' . $HTTP_GET_VARS['oID']) . '" TARGET="_blank">' . tep_image_button('button_invoice.gif', IMAGE_ORDERS_INVOICE) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS_PACKINGSLIP, 'oID=' . $HTTP_GET_VARS['oID']) . '" TARGET="_blank">' . tep_image_button('button_packingslip.gif', IMAGE_ORDERS_PACKINGSLIP) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('action'))) . '">' . tep_image_button('button_back.gif', IMAGE_BACK) . '</a>'; ?></td> </tr> *** THIS TIME INSERT RIGHT BELOW IT: *** <?php } else { ?> 4) *** FIND NEAR THE END OF THE FILE: **** default: if (isset($oInfo) && is_object($oInfo)) { $heading[] = array('text' => '<b>[' . $oInfo->orders_id . '] ' . tep_datetime_short($oInfo->date_purchased) . '</b>'); $contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=delete') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a>'); $contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_ORDERS_INVOICE, 'oID=' . $oInfo->orders_id) . '" TARGET="_blank">' . tep_image_button('button_invoice.gif', IMAGE_ORDERS_INVOICE) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS_PACKINGSLIP, 'oID=' . $oInfo->orders_id) . '" TARGET="_blank">' . tep_image_button('button_packingslip.gif', IMAGE_ORDERS_PACKINGSLIP) . '</a>'); $contents[] = array('text' => '<br>' . TEXT_DATE_ORDER_CREATED . ' ' . tep_date_short($oInfo->date_purchased)); if (tep_not_null($oInfo->last_modified)) $contents[] = array('text' => TEXT_DATE_ORDER_LAST_MODIFIED . ' ' . tep_date_short($oInfo->last_modified)); $contents[] = array('text' => '<br>' . TEXT_INFO_PAYMENT_METHOD . ' ' . $oInfo->payment_method); *** REPLACE EVERYTHING RIGHT BELOW IT WITH: *** // USPS if (preg_match('/^USPS/',$ship_method)) { $contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_ORDERS_USPS_SHIP, 'oID=' . $oInfo->orders_id) . '" TARGET="_blank">' . tep_image_button('button_labelshipping.gif', IMAGE_ORDERS_USPS_SHIP) . '</a>'); } //UPS if (preg_match('/^United/',$ship_method)) { $contents[] = array('align' => 'center', 'text' => tep_image_button('button_export_to_ups.gif', Export_To_UPS) . '</a>'); } } break; } if ( (tep_not_null($heading)) && (tep_not_null($contents)) ) { echo ' <td width="25%" valign="top">' . "\n"; $box = new box; echo $box->infoBox($heading, $contents); echo ' </td>' . "\n"; } ?> </tr> </table></td> </tr> <?php } ?> </table></td> <!-- body_text_eof //--> </tr> </table> <!-- body_eof //--> <!-- footer //--> <?php require(DIR_WS_INCLUDES . 'footer.php'); ?> <!-- footer_eof //--> <br> </body> </html> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> If you would like a copy of the complete order.php files with the above changes, just email me. It may be easier to just replace the file than to try and figure out my changes. There maybe an easier way to do this. If there is, let me know. I am no expert programmer. I have not had a chance to do a lot of testing, so I am not sure if it is bug free. If you discover a bug, please let me know!
  17. If anyone can tell me how to get the shipping method selected by the user so I can do a comparison, I will clean up the code so only the button for the right shipper will be displayed.
  18. Well I got them to work together! It was easier than I thought. To do it, Install the usps label 2.0.4 module first. Then install the ups_worldship_xml_auto_import_v1.3_1 module with the following modification: where it says: ----- FIND: ----- <tr> <td colspan="2" align="right"><?php echo '<a href="' . tep_href_link(FILENAME_ORDERS_EDIT, 'oID=' . $_GET['oID']) . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS_INVOICE, 'oID=' . $_GET['oID']) . '" TARGET="_blank">' . tep_image_button('button_invoice.gif', IMAGE_ORDERS_INVOICE) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS_PACKINGSLIP, 'oID=' . $_GET['oID']) . '" TARGET="_blank">' . tep_image_button('button_packingslip.gif', IMAGE_ORDERS_PACKINGSLIP) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('action'))) . '">' . tep_image_button('button_back.gif', IMAGE_BACK) . '</a> '; ?></td> </tr> ------------- REPLACE WITH: ------------- <tr> <td colspan="2" align="right" valign="top" nowrap="nowrap"> <table> <tr><td valign="top" nowrap="nowrap"><?php echo tep_image_button('button_export_to_ups.gif', Export_To_UPS)?></td><td><?php echo '<a href="' . tep_href_link(FILENAME_ORDERS_EDIT, 'oID=' . $_GET['oID']) . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS_INVOICE, 'oID=' . $_GET['oID']) . '" TARGET="_blank">' . tep_image_button('button_invoice.gif', IMAGE_ORDERS_INVOICE) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS_PACKINGSLIP, 'oID=' . $_GET['oID']) . '" TARGET="_blank">' . tep_image_button('button_packingslip.gif', IMAGE_ORDERS_PACKINGSLIP) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('action'))) . '">' . tep_image_button('button_back.gif', IMAGE_BACK) . '</a> '; ?></td></tr> <tr><td colspan="2"><?php echo '<a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('action')) . '&action=ups_export') . '&ups_method=GND' . '" style="font-size:larger;">' . 'UPS Ground' . '</a>'; ?></td></tr> <tr><td colspan="2"><?php echo '<a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('action')) . '&action=ups_export') . '&ups_method=3DS' . '">' . 'UPS 3 Day Select' . '</a>'; ?></td></tr> <tr><td colspan="2"><?php echo '<a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('action')) . '&action=ups_export') . '&ups_method=2DA' . '">' . 'UPS 2nd Day Air' . '</a>'; ?></td></tr> <tr><td colspan="2"><?php echo '<a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('action')) . '&action=ups_export') . '&ups_method=2DM' . '">' . 'UPS 2nd Day Air A.M.' . '</a>'; ?></td></tr> <tr><td colspan="2"><?php echo '<a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('action')) . '&action=ups_export') . '&ups_method=1DP' . '">' . 'UPS Next Day Air Saver' . '</a>'; ?></td></tr> <tr><td colspan="2"><?php echo '<a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('action')) . '&action=ups_export') . '&ups_method=1DA' . '">' . 'UPS Next Day Air' . '</a> '; ?></td></tr> <tr><td colspan="2"><?php echo '<a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('action')) . '&action=ups_export') . '&ups_method=1DM' . '">' . 'UPS Next Day Air Early A.M.' . '</a>'; ?></td></tr> </table> </td> </tr> !!!!! DON'T REPLACE IT !!! Instead add it after what it told you to replace. You should end up with something like this: <tr> <td colspan="2" align="right"><?php echo '<a href="' . tep_href_link(FILENAME_ORDERS_INVOICE, 'oID=' . $HTTP_GET_VARS['oID']) . '" TARGET="_blank">' . tep_image_button('button_invoice.gif', IMAGE_ORDERS_INVOICE) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS_PACKINGSLIP, 'oID=' . $HTTP_GET_VARS['oID']) . '" TARGET="_blank">' . tep_image_button('button_packingslip.gif', IMAGE_ORDERS_PACKINGSLIP) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS_USPS_SHIP, 'oID=' . $HTTP_GET_VARS['oID']) . '" TARGET="_blank">' . tep_image_button('button_labelshipping.gif', IMAGE_ORDERS_USPS_SHIP) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('action'))) . '">' . tep_image_button('button_back.gif', IMAGE_BACK) . '</a>'; ?></td> </tr> <tr> <td colspan="2" align="right" valign="top" nowrap="nowrap"> <table> <tr><td valign="top" nowrap="nowrap"><?php echo tep_image_button('button_export_to_ups.gif', Export_To_UPS)?></td><td><?php echo '<a href="' . tep_href_link(FILENAME_ORDERS_EDIT, 'oID=' . $_GET['oID']) . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS_INVOICE, 'oID=' . $_GET['oID']) . '" TARGET="_blank">' . tep_image_button('button_invoice.gif', IMAGE_ORDERS_INVOICE) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS_PACKINGSLIP, 'oID=' . $_GET['oID']) . '" TARGET="_blank">' . tep_image_button('button_packingslip.gif', IMAGE_ORDERS_PACKINGSLIP) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('action'))) . '">' . tep_image_button('button_back.gif', IMAGE_BACK) . '</a> '; ?></td></tr> <tr><td colspan="2"><?php echo '<a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('action')) . '&action=ups_export') . '&ups_method=GND' . '" style="font-size:larger;">' . 'UPS Ground' . '</a>'; ?></td></tr> <tr><td colspan="2"><?php echo '<a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('action')) . '&action=ups_export') . '&ups_method=3DS' . '">' . 'UPS 3 Day Select' . '</a>'; ?></td></tr> <tr><td colspan="2"><?php echo '<a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('action')) . '&action=ups_export') . '&ups_method=2DA' . '">' . 'UPS 2nd Day Air' . '</a>'; ?></td></tr> <tr><td colspan="2"><?php echo '<a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('action')) . '&action=ups_export') . '&ups_method=2DM' . '">' . 'UPS 2nd Day Air A.M.' . '</a>'; ?></td></tr> <tr><td colspan="2"><?php echo '<a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('action')) . '&action=ups_export') . '&ups_method=1DP' . '">' . 'UPS Next Day Air Saver' . '</a>'; ?></td></tr> <tr><td colspan="2"><?php echo '<a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('action')) . '&action=ups_export') . '&ups_method=1DA' . '">' . 'UPS Next Day Air' . '</a> '; ?></td></tr> <tr><td colspan="2"><?php echo '<a href="' . tep_href_link(FILENAME_ORDERS, tep_get_all_get_params(array('action')) . '&action=ups_export') . '&ups_method=1DM' . '">' . 'UPS Next Day Air Early A.M.' . '</a>'; ?></td></tr> </table> </td> </tr> That it. To use either of the modules edit an order on the orders form in the admin customer panel and you will see both the USPS and the UPS buttons on the bottom of the order. It stills need a little cleaning up (some button are shown twice). Please test it and let me know if it works or not. I have not had a chance to test it a great deal.
  19. Has anyone been able to get the contributions ups_worldship_xml_auto_import_v1.3_1 and usps label 2.0.4 to worktogether? I want to be able to print shipping labels for both UPS and USPS. I tried to add these two contributions but I can't get them to work together.
  20. Solved the problem on how to get these two contributions to work together - I think. In /catalog/options_images.php find: pov.products_options_values_name asc"); and replace with: pa.attribute_sort"); I now get both the images and the right sort order. The only problem is I am not sure what: pov.products_options_values_name asc"); does. It does not seem to affect anything. I guess in was a different sort.
  21. Well I discovered today that my problem is in fact that the contribution "Options as Images v1.7" causes "Product Attributes Sort Order v1.6" to not display correctly. The problem is in /catalog/product_info.php Has anyone gotten these two to work together? I will try to figure out a fix but I do not hold out much hope. I am no expert in php programming and I think this is over my head.
  22. Any help with this problem will be greatly appreciated. I installed the contribution and everything in the admin page seem to work fine. I enter the sort order and update attribute. In the admin page everything looks ok. When I go to the site, it seem to have no effect! The order that the attributes are presented in are unchanged. The only oddball thing in the admin section is that when I add a new attribute and give it a new sort order, when it is saved, the sort order goes back to 0. I have to manually go back and re-enter the right sort order. I am not sure if this is a bug or if it just works like that. I also have install the contributiion Options as Images v1.7 That contribution works fine. Is there a conflict between the two contributions? I am not using the two contributions on the same attributes.
  23. I am getting the following error when I try to use the Options as Images under the Catalog menu in the ADministrator page. Parse error: syntax error, unexpected T_CASE in C:\xampp\htdocs\catalog\admin\options_images.php on line 36 This is in file than I just inserted and did not make any modification to it. The code near the error is: if ($HTTP_GET_VARS['action']) { switch ($HTTP_GET_VARS['action']) { case 'save': $image_source = $HTTP_POST_FILES['value_image_input']['tmp_name']; $filename = $HTTP_POST_FILES['value_image_input']['name']; $image_destination = DIR_FS_CATALOG_IMAGES . 'options/' . $filename; $cID = tep_db_prepare_input($HTTP_GET_VARS['cID']); if ($option_value_image = new upload('value_image_input', DIR_FS_CATALOG_IMAGES.'options/')) { if (tep_not_null($option_value_image->filename)){ tep_db_query("update " . TABLE_PRODUCTS_OPTIONS_VALUES . " set products_options_values_thumbnail = '" . tep_db_input($filename) . "' where products_options_values_id = '" . tep_db_input($cID) . "'"); } tep_redirect(tep_href_link(FILENAME_OPTIONS_IMAGES, '&cID=' . $cID . '&box_id=' . $HTTP_GET_VARS['box_id'])); break; case 'update_enabled': tep_db_query("update " . TABLE_PRODUCTS_OPTIONS . " set products_options_images_enabled = 'false'"); if ( !empty($HTTP_POST_VARS ['option_select']) ) { foreach ($HTTP_POST_VARS ['option_select'] as $options_selected){ tep_db_query("update " . TABLE_PRODUCTS_OPTIONS . " set products_options_images_enabled = 'true' where products_options_id = '" . $options_selected . "'"); } } break; The error is in the line " case 'update_enabled':" Any help would be appreciated
×
×
  • Create New...