in magento in MagentoQuoteModelQuoteItemProcessor.php $candidate->getCartQty() is fetching wrong quantity for some products I searched the whole codebase for “getCartQty()” and I couldn’t find it ! it is supposed to be coming from “MagentoCatalogModel Product::getCartQty” but it is not there! Where is it?
Daily Archives: August 8, 2021
I need to get orders data directly from database. I have got all orders (about 18,000) since January 2020. I need to do a join to customer_entity however, I realized that about 300 records were missing. By investigating further, I found out that customer_id value is null for most of […]
I am confused between is_salable and is_in_stock field. in product listing page I print $product object by $product->getData() and when I print this data there is a field called is_salable I put somewhere condition for product isinstock or outof stock so can I check the product with like this condition […]
Now my customer directly login after click confirm the email, i want if customer click the confirmation mail after need to login.
I have a 150+ page document with ~100 tables. I want to change most of them so the column sizes are the exact same without touching the other tables that are already good. I’ve seen the method for changing all tables at once, but I only want to apply the […]
I recently upgraded my homelab with some 10Gbe equipment, and everything is going swimmingly with the exception of my 10G interface on my primary server (Debian 9). Both eno1 (my backup LOM interface) and the 10G interface (ens4f0) are assigned to static IPs on the same subnet (with different metrics […]
Where do I type: %appdata% I’m on a Windows processor but not Win7, 10 etc, not using Word or any other MSFT thing if I can help it. I typed a document on Notepad and it disappeared. I don’t know where to type %app etc. so I’ve typed it everywhere […]
Set-location 'C:UsersmeOneDrive - Freie Universität Berlin' Including the above in the PowerShell profile leads to “path cannot be found because it doesn’t exist” error. It does exist, and a running PowerShell executes the exact same command without issue. I’ve tried double quotes, I’ve tried -LiteralPath. Using Set-location 'C:Usersmetemp' in the […]