I need to make it mandatory (required field) to enter a coupon code during checkout. Do you have any suggestions? Alternatively, prevent the checkout order confirmation if a coupon code is not entered. I’m using magento 2.4.5. thanks
Magento1
I am trying to download an invoice via “Print PDF” in one of my orders. But I’m getting the error “Failed – Network error” in Chrome, Firefox and Edge. How can I fix this so I will be able to download an invoice again? If I need to facilitate more […]
I am using below code to create downloadable product with downloadablelink and sample link, this script create the product but without links. /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ use MagentoCatalogApiProductRepositoryInterface; use MagentoCatalogModelProduct; use MagentoCatalogModelProductAttributeSourceStatus; use MagentoDownloadableModelProductType; use MagentoCatalogModelProductVisibility; use MagentoCatalogModelProductFactory; […]
I need to override my REST API endpoints to async and faced the issue that I don’t understand the difference between asynchronous endpoints in https://developer.adobe.com/commerce/webapi/rest/use-rest/asynchronous-web-endpoints/ and bulk endpoints in https://developer.adobe.com/commerce/webapi/rest/use-rest/bulk-endpoints/ As I see they are working in the same way via a queue, could someone explain the difference or probably […]
Hi all is there a way that i can pass custom billing address array to prefill billing address data on review and payment page $csutomerAddress = [ ‘firstname’ => “testname” ]; currently i have create created view model where i have this above address data array but i am not […]
I created a custom address select attribute where if changed, the validator of first name and last name will turn to not required. Is there a way to apply this logic on the checkout uiComponent shipping address form? I tried doing this using jQuery but is not working and seems […]