where i need to place the code related to shipping method
-
08-12-2020 - |
Question
This question is different from following links question.
This is the problem : Shipping charges are not saving in Database if we added Product to cart through Android App
in the link's answer :
$result = $proxy->shoppingCartShippingList($sessionId, 10,'default');
But i have no idea where i need to place this code. please guide me for this.
Solution
List Of Enable Shipping Methods
$result = $proxy->shoppingCartShippingList($sessionId, 10);
var_dump($result);
Set shipping method to order
$result = $proxy->shoppingCartShippingMethod($sessionId, 10, 'freeshipping_freeshipping');
var_dump($result);
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange