New answers tagged

0

Change the TAX class to None by following the below path in the Magento Admin. Sales > Tax > Tax Classes tab And set the shipping tax class to none from the option. Hope it helps!!!


0

in block: public function getFreeShippingValue() { return $this->scopeConfig->getValue('carriers/freeshipping/free_shipping_subtotal', \Magento\Store\Model\ScopeInterface::SCOPE_STORE); } in template: $freeShipping = $block->getFreeShippingValue(); <script> freeShipping = <?= /* @escapeNotVerified */ $freeShipping ?>;...


0

I propose you two solutions : First solution : You can create a new step in checkout like in the documentation : [https://devdocs.magento.com/guides/v2.3/howdoi/checkout/checkout_new_step.html] In this step, you create a new form with login/password fields and send data with a custom webapi.xml to your custom controller to process login like Magento. ...


0

Below code works perfectly. <?php ini_set('display_errors', 1); ini_set('display_startup_errors', 1); ini_set('memory_limit', '5G'); error_reporting(E_ALL); use Magento\Framework\App\Bootstrap; require __DIR__ . '/../app/bootstrap.php'; $params = $_SERVER; $bootstrap = Bootstrap::create(BP, $params); $objectManager = $bootstrap->getObjectManager(); $...


0

Override core price.js for shipping method into your theme. path : /vendor/magento/module-tax/view/frontend/web/js/view/checkout/shipping_method/price.js move the file in your theme Replace below code : /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ /** * @api */ define([ 'uiComponent', '...


2

please use below code it working fine in my store https://meetanshi.d.pr/GAWATQ ini_set('display_errors', 1); ini_set('display_startup_errors', 1); ini_set('memory_limit', '5G'); error_reporting(E_ALL); use Magento\Framework\App\Bootstrap; require 'app/bootstrap.php'; $bootstrap = Bootstrap::create(BP, $_SERVER); $objectManager = $bootstrap->...


0

Please check with below URL, for magento2, which is provide module from Aramex. https://marketplace.magento.com/aramex-shipping.html


0

Please update this code :- $shippingAddress = $quote->getShippingAddress(); $shippingAddress->setFreeShipping(true); $shippingAddress->setShippingMethod('flatrate_flatrate'); $shippingAddress->setCollectShippingRates(true);


0

Please update the code like below $address->setShippingMethod('flatrate_flatrate'); $address->setCollectShippingRates(true)->collectShippingRates(); Let me know if you need further assistance.


Top 50 recent answers are included