On the configuration page, I define the product id, now I need to call the url: http://localhost: 3000/custompoint/secret/addprizeproduct in the browser and add this product to the cart – this is necessary so that if a prize product is defined on the site, the user can click on the link […]
Monthly Archives: August 2021
I write a lot of org-mode notes in several files in a git repo. I want to be able to use git log -p to support two types of queries: See what I wrote on a given date, or a given range of dates. Find when I wrote a given […]
In macOS, using command+right/left will go to the beginning or end of the current line of text. This was extremely useful when typing or coding in general, but in Windows, Alt+Left/Right has totally different behavior depending on the app. Is there any way to globally change this to only be […]
I have my OpenVPN connection fully configured and working with a US based dedicated IP. I am testing to ensure I don’t have any leaks but finding that my timezone on my router is still being set to my actual timezone, rather than my the timezone where the VPN connection […]
At my job, I work with an Excel spreadsheet that has a few columns with customer information, most importantly their state, and then another 10+ columns representing each warehouse we have, with the current available inventory of the product the customer is trying to purchase. There is one column between […]
Is it possible to set the timezone of an android device (either a physical device or and emulator) to a timezone that doesn’t actually exist (for instance, GMT+00:03 or GMT-500:00)? I tried reading the docs, and it seems like the data type supports that in theory, but I have no […]
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?
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 […]