문제

How to identify whether the order is placed from an app or website?

I want to add one custom column in admin sales order grid. And the column displays the values for order source(app or website order).

How to get the order is placed from web or app?

Thanks.

도움이 되었습니까?

해결책

The app must call an API to place an order in this API add a param "requestPlatform" and pass the request platform value in it such as "android" or "ios", based on this parameter you can differentiate that the order is placed from which platform.

for e.g

{
    "requestPlatform": "android"
}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top