Page 1 of 1

Customer location on products page

Posted: Wed May 15, 2019 8:42 am
by davion
I would like to know how I can echo customer location by using their zip code and or logged in address and display it on the product page. I am using opencart 2.3.0.2

Re: Customer location on products page

Posted: Fri May 17, 2019 12:22 am
by MarketInSG
$this->session->data['shipping_address']['postcode']. This holds the information entered in the checkout page. Else, this is not set.