N
N
newaitix2018-08-16 14:57:03
Prestashop
newaitix, 2018-08-16 14:57:03

PrestaShop address chosen by the customer?

How to get the address chosen by the client?
I was told that the OrderController of the Customer class should contain this information. But I can't get it. Maybe somewhere there is a manual how to call it?
I'm trying to get so
echo CustomerCore::getAddresses();
I get 500.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Verbin, 2018-08-16
@rez0n

From the comments, I still did not understand where you are trying to execute this code, but nevertheless, here are the options, it should return the selected address.
or
new Address((int)$cart->id_address_delivery)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question