I want to customize a checkout page.
I print_r($Session);
it shows
=======================================================================================================
Array ( [__default] => Array ( [session.counter] => 69 [session.timer.start] => 1398698205 [session.timer.last] => 1398699831 [session.timer.now] => 1398699833 [session.client.browser] => Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36 [registry] => JRegistry Object ( [data:protected] => stdClass Object ( [com_hikashop] => stdClass Object ( [zone_id] => 206 [ssl_redirect] => 0 [vote] => stdClass Object ( [list_limit] => 999 ) [cart_id] => 118 [shipping_method] => [shipping_id] => [shipping_data] => [cart_new] => 1 [payment_method] => [payment_id] => [payment_data] => [popup] => 0 [popup_cart_type] => cart ) ) ) [user] => JUser Object ( [isRoot:protected] => [id] => 0 [name] => [username] => => [password] => [password_clear] => [block] => [sendEmail] => 0 [registerDate] => [lastvisitDate] => [activation] => [params] => [groups] => Array ( [0] => 9 ) [guest] => 1 [lastResetTime] => [resetCount] => [_params:protected] => JRegistry Object ( [data:protected] => stdClass Object ( ) ) [_authGroups:protected] => Array ( [0] => 1 [1] => 9 ) [_authLevels:protected] => Array ( [0] => 1 [1] => 1 [2] => 5 ) [_authActions:protected] => [_errorMsg:protected] => [_errors:protected] => Array ( ) [aid] => 0 ) [session.token] => 12e05fcbfd2fc0023bc1cf0abc321034 ) [hikashop_viewed_products] => Array ( [33] => 33 ) )
=======================================================================================================
I found cart_id value is 118.I want to new a varible to get 118 and echo it.
how Can I do?[email] => [password] => [password_clear] => [block] => [sendEmail] => 0 [registerDate] => [lastvisitDate] => [activation] => [params] => [groups] => Array ( [0] => 9 ) [guest] => 1 [lastResetTime] => [resetCount] => [_params:protected] => JRegistry Object ( [data:protected] => stdClass Object ( ) ) [_authGroups:protected] => Array ( [0] => 1 [1] => 9 ) [_authLevels:protected] => Array ( [0] => 1 [1] => 1 [2] => 5 ) [_authActions:protected] => [_errorMsg:protected] => [_errors:protected] => Array ( ) [aid] => 0 ) [session.token] => 12e05fcbfd2fc0023bc1cf0abc321034 ) [hikashop_viewed_products] => Array ( [33] => 33 ) )
=======================================================================================================
I found cart_id value is 118.I want to new a varible to get 118 and echo it.
how Can I do?