How can I add a custom link to ‘sales/order/view/order_id/123456’ adding an slash after the order_id with route name “download” so it becomes sales/order/view/order_id/6710/download My current route.xml file is <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd"> <router id="admin"> <route id="order_export" frontName="order_export"> <module name="Vendor_OrderExport" before="Magento_Adminhtml" /> </route> </router> </config> It’s redirecting to a new […]
Magento
I am trying to override authorization.phtml located in vendor/magento/module-customer/view/frontend/templates/account/link . this file contains word “or” that appear between sign in or create account header link which i like to remove. I have created the custom theme ( luma ) and created this path . app/code/design/vendor/custom-luma/module-customer/view/frontend/templates/account/link/ and added modified authorization.phtml file […]
I have a few questions regarding the remote storage feature of Magento 2 Is it available with Magento 2 CE Does it support S3 Compatible storage like b2, minio etc Do these folders get stored in bucket? var/* pub/media/* pub/static/* etc/* Thanks
Magento 2.4.5-p1 Smartwave Porto theme I keep getting the Something went wrong with processing the default view and we have restored the filter to its original state. Error in: CATALOG -> Products Doing the: TRUNCATE ui_bookmark; Is a very temporary fix and as soon as I change the filter to […]
Magento 2.4.5-p1 On admin panel when editing products some of the attribute drop down boxes work (Attribute set, Manufacturer, Condition) while others do not, the box will drop down and only show one empty option. This is a fresh install except for a theme I installed, I have removed the […]
whenever I activate the option ‘Validate REMOTE_ADDR’ it happens this error. I don’t know what to do… The "remote_addr" session value is invalid. Verify and try again. and in admin, i’m redirected to luma
I am trying to deploy a magento2.4.4 cloud staging environment and getting the below error. I am not sure how to troubleshoot this. The contents from the "/app/pub/static/adminhtml/Magento/base/default/./node_modules/@spectrum-css/vars/dist/spectrum-global.css" file can't be read
This is the original path – vendor/magento/module-cms/Helper/Wysiwyg/Images.php I want to put a plugin for this function getImageHtmlDeclaration() I want to pass different HTML tag if (!$renderAsTag) { $src = $this->isUsingStaticUrlsAllowed() ? $fileUrl : $this->escaper->escapeHtml($directive); $html = sprintf('<img class="hello" src="%s" alt="" />', $src); }
How to make a negative number in excel as a number. Here is my code MagentoFrameworkAppResponseHttpFileFactory $fileFactory, $content[] = [ 'qty' => __("QTY"), 'part_number' => __("PART NUMBER"), 'invoice' => __("INVOICE #"), 'date' => __("DATE"), 'description' => __("Description"), 'retail' => __("RETAIL"), 'd_discount' => __("DEALER DISCOUNT"), 'a_discount' => __("ADDITIONAL DISCOUNT"), 'total' => […]