following data fetch by cart - prestashop
Fetch Customer,Curreny,Address,State,Country by Cart
$context = Context::getContext();
$cart = $context->cart;
$customer = new Customer($cart->id_customer);
$currency = new Currency($cart->id_currency);
$address = new Address($cart->id_address_invoice);
$state = new State($address->id_state);
$country = new Country($address->id_country);
$context = Context::getContext();
$cart = $context->cart;
$customer = new Customer($cart->id_customer);
$currency = new Currency($cart->id_currency);
$address = new Address($cart->id_address_invoice);
$state = new State($address->id_state);
$country = new Country($address->id_country);
Comments
Post a Comment