I'm trying to get address_id
of sales_flat_quote_address
table as mentioned in attached image from quote during multi-shipping checkout process but no luck. I want to use that address_id
in following file path. Any help should be appreciated. Thanks.
File Path:-
/app/code/local/Mage/Shipping/Model/Carrier/Flatrate.php
Add a comment
|
Have you tried these:
$quote->getBillingAddress()->getId(); // billing address id
$quote->getShippingAddress()->getId(); // shipping address id
For multi-shipping:
$addresses = $quote->getAllShippingAddresses();
foreach ($addresses as $address) {
$address_id = $address->getId();
}
-
Hi. I have already tried these But issue is i'm trying to get address_id during multi-shipping checkout process, and i'm not getting it. – Raj Sep 26 '18 at 6:57
-