Commit d237bc4c authored by Reinhold Kainhofer's avatar Reinhold Kainhofer
Browse files

Add variables ZIPnumeric and ZIPalphanum

parent ae6208a5
......@@ -232,6 +232,8 @@ class RulesShippingFrameworkJoomla extends RulesShippingFramework {
'zip4'=>substr($zip,0,4),
'zip5'=>substr($zip,0,5),
'zip6'=>substr($zip,0,6),
'zipnumeric' => preg_replace('/[^0-9]/', '', $zip),
'zipalphanum' => preg_replace('/[^a-zA-Z0-9]/', '', $zip),
'city'=>isset($address['city'])?trim($address['city']):'',
'countryid' => 0, 'country' => '', 'country2' => '', 'country3' => '',
'stateid' => 0, 'state' => '', 'state2' => '', 'state3' => '',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment