New answers tagged


Try with below code. If you don't have the files in below path, create a file with same name and copy & paste below code. File Path: app\design\frontend\Sm\destino\Magento_Checkout\web\template\minicart\item\default.html <!-- /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ --> <li class="...


You can get the quantity of an item in the customer's cart by this method $items = $this->cart->getItems(); foreach ($items as $item) { ......... $product = $item->getProduct(); $qty = $item->getQty() ......... }


You will have to create cart to create order in Magento but you can always save the existing cart id in the customer session and set it back as customer's active cart once the customer is done with purchase with gpay.


Go to Store -> Configuration -> Sales -> Shipping Setting and here set default address as per your need.

Top 50 recent answers are included