I am looking to implement the checkout using the API as documented here: https://devdocs.magento.com/guides/v2.4/rest/tutorials/orders/order-intro.html I can do the whole checkout using the API if I use a simple payment method such as “Check / Money order”. However, if I use an advanced third-party payment integration that has its own payment […]
Magento2
When i try get temp order after buy product: protected function getTempOrder($customer) { $address = []; if(!empty($customer->getAddresses()) && $existingAddress = $customer->getAddresses()[0]) { $address['street'] = implode(', ', $existingAddress->getStreet()); $address['city'] = $existingAddress->getCity(); $address['country_id'] = $existingAddress->getCountryId(); $address['region'] = $existingAddress->getRegion(); $address['region_id'] = 1; $address['postcode'] = $existingAddress->getPostcode(); $address['telephone'] = $existingAddress->getTelephone(); $address['fax'] = $existingAddress->getFax(); } else […]
how can I send a 404 header if a product image is not found? Background: I have updated the product name and wants to remove the old named images. Actually it shows the placeholder image and image link worked.
I created the image type field in the grid edit form. Now my requirement is to display the custom Popup when the admin will click on the upload button. It always goes to the local directory for Image upload. $fieldset->addField( 'image', 'image', [ 'name' => 'image', 'label' => __('Upload Image'), […]
I own a Magento 1.9.4.2 store which has only downloadable products in it. Once a customer buy a digital product, Magento sends an email with the download link generated by Magento itself from the Dropbox one. This is worked since 2013 from 31/01/22. Suddenly, it doesn’t work anymore. All the […]
I am trying to get a project that is already live in production setup and installed on my local for development. After running my bin/magento-docker up -d all of my containers start successfully. But when I use the following command: sudo bin/magento-docker ece-deploy I am getting the following output and […]
I’m trying to modify the admin grid’s “filterSearch” field from default query if I type a whole word eg “Iphone”, I’m trying to change the type search criteria in SQL to LIKE %ipho% and finding a result with that information is currently not like that. In the previous image I […]
I want to get a list of all unused product attributes through database or code. Any help would be appreciated.