PDA

View Full Version : Price Sensitive Discount



michael_s
06-24-2013, 04:21 AM
Mini-Update v2.5 for PHP 5.3 by Infobroker
--------------------------------------
line 55-56
// $table_cost = split("[:,]" , MODULE_LEV_DISCOUNT_TABLE);
$table_cost = preg_split("/[:,]/" , MODULE_LEV_DISCOUNT_TABLE);

line 90-91
// if (ereg('^GIFT', addslashes($gv_result['products_model']))) {
if (preg_match('/^GIFT/', addslashes($gv_result['products_model']))) {

More... (http://addons.oscommerce.com/info/204)