Yearly Archives: 2023
$_item->getProduct() is used on Order Confirmation emails to get the product instance. This does not work on Shipment & Credit Memo emails. How can the Product instance (Not the item) be retrieved here?
Using PuTTy to ssh connect to nethack@hardfought.org. This is the game evilhack, but I think nethack is the same, using the curses interface, which I think is ncurses. It should be fine, but those 2 dots display a Chinese character “贩” instead, which is really weird, the font is Consolas, […]
When I am connected through my VPN, Windows 10 reports “no internet, secured” even though the internet works perfectly fine through the VPN. (NordVPN killswitch is on.) The problem is that Mobile hotspot (Windows settings) is reporting I don’t have an internet connection. I want to share the VPN adapter […]
Newly installed Ubuntu 22.04 to a server. Actually I have the same problem as Cannot mount sda3 “mount: /media/drive: unknown filesystem type ‘LVM2_member’.”, and I investigated the detailed answer of Tukan (much appreciated) that says “Shows that you have logical volume already mounted to /media/drive and as / at the […]
I have a Huawei HG8245X6-10 router, given to me by my provider. All is fine, except that it can only reserve up to 16 static IPs. Since I have a couple of servers and many IoT devices, I need more. I am trying to avoid using a server as a […]
I use the following code to sum the numbers in the lines in the textarea environment. The problem is that it does not add decimal numbers correctly. For example, the sum of the numbers 1.3 and 1.5 is represented by the number 5. Where is the problem in the code […]
I have two custom columns in UI grid (let’s call them subscribed_customers” and “unique_purchases”) created in particular listings that retrieve value from the database with logic. Working well so far. The issue is that I’m unable to sort them in order. Attempts to do so give “Something went wrong”. After […]
Currently using Magento Open Source ver 2.4.6-p2 with php 8.1, running on a shared hosting I had uploaded a list of products (around 250 SKU) on the site and set up the index management “Update by schedule” at a 10-min interval at the moment (“Update on save” also having the […]