Skip to main content
keke996's user avatar
keke996's user avatar
keke996's user avatar
keke996
  • Member for 5 years, 11 months
  • Last seen more than 4 years ago
awarded
awarded
awarded
awarded
Loading…
Loading…
Loading…
Loading…
Loading…
revised
Loading…
comment
Magento2: why all my post request to my controller been forward
No, never get error .just http cod 302 ,and return home page
Loading…
Loading…
comment
magento2: How to get address' region while checkout selecting address
sorry . i can't understand. I need region everytime. There's no way to get region when region field is input?
comment
magento2: How to get address' region while checkout selecting address
yes ,i use $request->getDestRegionCode(),but if region field was input type field before select address in this time,this time $request->getDestRegionCode() return null.
comment
magento2: How to get address' region while checkout selecting address
dropdown can get right value , input type return null.
comment
magento2: How to get address' region while checkout selecting address
magento.com/default/rest/default/V1/carts/mine/estimate-ship‌​ping-methods-by-addr‌​ess-id select address ajax send request to this url ,param is entity_id in table customer_address_entity. use entity_id can find address and region has right value but region_id is 0. In this mode of operation getDestRegionCode() return null.
comment
magento2: How to get address' region while checkout selecting address
I use this function for calulate shipping method in my shipping carrier model collectRates()