When a user visits my Magento 2 site for the first time, I want to display a multi-option cookie banner where I have a list of all non-essential cookies split into groups, allowing them to allow or deny various groups of cookies. I’d be interested to know how I can […]
Magento1
I created a CMS page named Cookie but when I save it with the key URL “cookie” it cannot save and shows an error
Creating orders via REST no problem — similar to https://developer.adobe.com/commerce/webapi/rest/tutorials/orders/order-create-order/ Need to modify the shipping total either before (quote) or after (salesorder) and recalculate order totals — also via REST API. So far the best I can find is to manually recalculate everything and update the salesorder via POST to […]
Instead of edit page I am using a simple file upload form using a block: upload_form.phtml <form method="POST" action="<?=$block->getUrl("/test/uploadcsv");?>" enctype="multipart/form-data"> <input id="emailcsv_uploadform" type="file" name="upload_csv"> <button type="submit">Upload File</button> </form> That is loaded from this template: <?xml version="1.0" ?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <update handle="styles"/> <body> <referenceContainer name="content"> <block name="pcmagas.test.uploadform" class="PcmagasTestBlockAdminhtmlUploadForm" template="upload_form.phtml"/> </referenceContainer> […]
We want to display all the products information in single frontend url. So I followed link and done below configuration. but i did’t got from which url , we can able to get all the product’s information? I have only backend access. Step 1. Navigate to Stores > Settings > […]
In Magento 2, I need to get order collection filter by date range and product set id. I tried this way, not worked.
The order confirmation email was sent as shows in magento admin order page. Reference image. On the same order, it shows ‘Customer Not Notified’. Reference image. How to fix this & what’s the reason ?
Magento 2.4.5 p4 – Porto Theme – VPN with Cloudflare CDN and Imunify360 I’ve had this problem since upgrading to 2.4.5 p4 from p2, but downgrading does not help. I have some configurables with upto 1000 simple products. Since my last upgrade I am unable to add any more simple […]
How can I disable the sales/order/history page? I would like to show a 404 page when a user goes to that page instead. I have disabled a content page before but haven’t disabled a Magento specific before. Even if I remove this page, it should automatically redirect to a 404 […]