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() […]
Daily Archives: February 3, 2024
Is there a way to load different fonts for different products in Magento2.4 ? The fonts will be self hosted in /web/fonts, but I want them to load only to specific products. Could be done in a block inside a product, something like <style>font-face {font-family: 'custom';src: url('fonts/custom.woff2');</style> ?
Magento 2.4.6 I am trying to get an orders surcharge amount which was added by the Fooman Surcharge extension. In Magento 1 it worked with $order->getFoomanSurchargeAmount();, in Magento 2 it doesnt work this way. Any ideas how to get the amount from an order object? Thanks!
I am configuring/building a CMake project (Google Test) in Visual Studio. I want to see the full command that is run to perform the build (I’m interested in verifying the state of the --config flag in the cmake.exe invocation, as related to this question). The CMake output is already verbose […]
I am a consultant with multiple customers. Most of them uses AnyConnect VPN. In my business something is easier with Windows. But also i run a Macbook. So my idea was to buy a Windows Cloud PC subscription and then use the Cloud PC when Windows is required. But i […]
I try to use Firequalizer filter as audio equalizer in my video. I want the filter to be applied on the first 30 seconds of each minute in the video and disabled for the next 30 seconds. It will have no effect on the video for the seconds it is […]
I have an extremely important and necessary file which is just 1 byte and had no file extension until I renamed it to .txt (I did this in Windows 10) and the file like this (14-past rename to 14-past.txt) and then when I used cat command on it (on Debian), […]
I use Dual boot with two instances of windows, one 11 and another 10. I had less space in the windows 10 partition so i shrank my extra data partition for about 50GB and added that 50GB to the windows 10 partition using AOMEI software while using windows 10. The […]