I need to do a validation and want to know how can i get the customer_id from user who is in the cart processing an order.
Thanks
\storefront\controller\pages\checkout\cart.php
Hi Sam
I am in: \storefront\controller\pages\checkout\cart.php
But i dont know how to call customer_id, how to assign the value to a variable, for example:
$customerid = $this.order[customer_id]
I will answer to myself
The right instruction is:
(int)$this->customer->getId()