PDA

View Full Version : Recover Cart Sales for OSC 2.3.1



michael_s
12-17-2014, 03:50 PM
Fix for PHP 5.3, in admin/recover_cart_sales.php in line 96/97

// if ( ereg( "customer_id[^"]*"([0-9]*)"", $ses['value'], $custval ) )
if ( preg_match( "/customer_id[^"]*"([0-9]*)"/", $ses['value'], $custval ) )

Fix for Oscommerce 2.3.4 in admin/stats_recover_cart_sales.php in line

// $rc_cnt = mysql_num_rows($conquery);
$rc_cnt = tep_db_num_rows($conquery);

Not a full package

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