osclass price : How to fixed osclass price support million
go cpanel>> file manager>> public_html>> oc-includes>> osclass>> ItemActions.php
editing “15” with “55”
in this ItemActions.php have 2 must to editing
line 150 change + line 703 change
$flash_error .= ((!osc_validate_max(number_format((float)$aItem[ 'price' ], 0, '', ''), 15)) ? _m('Price too long.') . PHP_EOL : '');
$flash_error .= ((!osc_validate_max(number_format($aItem[ 'price' ], 0, '', ''), 15)) ? _m('Price too long.') . PHP_EOL : '');
Change to :
$flash_error .= ((!osc_validate_max(number_format((float)$aItem[ 'price' ], 0, '', ''), 55)) ? _m('Price too long.') . PHP_EOL : '');
$flash_error .= ((!osc_validate_max(number_format($aItem[ 'price' ], 0, '', ''), 55)) ? _m('Price too long.') . PHP_EOL : '');