New answers tagged

0

//you can use magento exception class to throw message after namespace use Magento\Framework\Exception\LocalizedException; class ShipmentEstimationPlugin { public function __construct( \Magento\Customer\Model\Session $customerSession ) { $this->customerSession = $customerSession; } public function ...


0

It has taken some time, but I believe we have found the issue.  For the sake of someone else out there who may have this situation, I will add the information. It appears that the issue was with an Amasty extension, specifically Amasty_Shippingrestriction.  When we upgraded the development site, we lost all of our Shipping Restrictions.  Well, we retained ...


1

You can use a simple plugin: app/code/MageWorx/DisableFreeShipping/etc/di.xml <?xml version="1.0"?> <!-- /** * Copyright © 2018 MageWorx. All rights reserved. * See LICENSE.txt for license details. */ --> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/...


1

According to your question you need to hide free shipping method if 2nd value of postcode is 0, you can achieve it using below. app/code/VENDOR/MODULE/etc/di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> <...


0

The Shipping tab defines international and packaging data for products in your catalog. Data defined on this tab is used by Magento Shipping to pre-fill shipping information for customers during checkout and for other order fulfillment workflows. Refer this link for more details : https://docs.magento.com/m2/ee/user_guide/catalog/product-shipping.html


0

I would recommend checking out the documentation for promotions/cart price rules - https://docs.magento.com/m2/ce/user_guide/marketing/price-rules-cart.html. The rules are flexible in that you can create promotions for only specific categories or down to the product level. I found that there is a bit of trial and error to learning what can be done. NOTES: ...


3

You need to allow Backorders Stores -> Configuration -> Catalog -> Inventory Under Product Stock Options Backorders -> Allow Qty Below 0 The Product will now need to be set to "In stock" for it to show add to cart buttons


0

My Address and zip code UPS Was solve and facing error on USPS


0

Please find below the solution <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> <referenceBlock name="checkout.root"> <arguments> <argument name="jsLayout" xsi:type="...


Top 50 recent answers are included