I am creating a simple form in which users can add images. I want to add the image uploader field to my custom form but the problem is, it is built with js & html. Is there a way I can add this image uploader without using xml? Thank you!
Monthly Archives: February 2024
I have a Magento 2.4.1 store with two languages (EN and DE). Let’s say the EN store view is currently selected and a product URL will look like this: https://website.de/wedding-bands/wedding-band-1.html. I may give this URL to a customer, but he has the DE language currently selected. So, when he tries […]
How to get the correct shipping address for an order ID? I am using MagentoSalesApiOrderRepositoryInterface to get the order information by order ID, but there are no methods for getting the shipping address, despite a lot of people on the internet claiming otherwise. I considered using MagentoSalesApiOrderAddressRepositoryInterface, and I am […]
Examples: Parent-Dir= ‘USA zip-code’, Sub-dir(s)= ‘yyyymmdd’ Example filename= 139_7_IPC1_NVR16-8580_20230101104640.jpg There are six-hundred and ninety-nine files in the directory-tree that the regex within the For /F loop (below) can see –only when I replace: @echo !_i:~-18,-4!> "%cd%_A_A.txt"with copy "%%i" "%cd%_A"; will this function properly. Using the ‘echo’ part only outputs one […]
My laptop has USB Type-C/Lightning 4 and Display Port 1.4 ports. Is there a fundamental difference in which port to use to connect to an external monitor? The external monitor has a Display Port 1.4. Resolution 3440×1440, HDR, 10bit colours.
Does someone knows how to put thumbnail on the video? I have local files on my windows’ laptop, but there are no thumbnails on it, so someone knows how to put thumbnails on it?
I have a column chart on power bi with option OI against each strike and for each strike for all of the dates. so in short it has two layer in x axis 1st layer is strike and 2nd layer is date. for all the strikes in the table there […]
I have a hard drive (HUH721010ALE601) which is reporting a failing SMART test, but I’m having a hard time interpreting what it means. The failure looks to be with attribute 45, which is labelled “Unknown_Attribute”. What does this attribute refer to? I don’t see it listed in listed in the […]
In Magento, by default, the sales order items for configurable products are showing the parent product SKU. How can we show the child product SKU for configurable products? I have tried changing the code in the function at vendor/magento/module-sales/Block/Adminhtml/Items/Column/DefaultColumn.php public function getSku() { return $this->getItem()->getSku(); } to public function getSku() […]