When running apps that were installed with Windows’s default App installer (Appx and msixbundle files), Trying to run the installed applications fails and the following error appears: Error 0x800704cf The packages I have installed and failed are: Windows Terminal Preview msixbundle from github releases page Ubuntu, Kali, Debian for WSL […]
Blog
I understand a bit about having more cores vs having faster cores and how this plays with different workloads. A single E5-2690v3 CPU has a passmark of 18k, while the dual CPU variant only increases that to 25k. Why is the increase in Passmark score between single and dual CPU […]
How i can prevent to able to log in with following command without ask it my password (password authentication is enabled). So it log in with the following command to ssh with ‘dsafg’ (only this user have used) (but only ont the localhost if host change it require passworld) ssh […]
I have a table in Excel 2010 transaction data dating many years. I would like to create an in-cell drop-down of the unique years in the POSTDATE column and populate those right above that column, outside of the table. I will use that as input to a conditional format later… […]
Ok, clickbait title I admit. My team is already on board with unit tests. I’m holding a small presentation on the benefits and possible downsides of unit tests. I already have a good idea on what to say in it, but another point of view can never hurt. We’re planning […]
I am trying to save custom options(drop_down type) for a specific product. In my case I need add custom option in loop. My code is here $json ='{"productID":"1","productPrice":"5585.00","productDetails":{"productImage":"https://development.modeconfigurator.com/eCommerce/backdrop.jpg","TABLE TOP":"COPPER DISTRESSED","TABLE FRAME":"RAL 5024 PASTEL BLUE"},"_":"1583172411557"}'; $jsonDecode = json_decode($json, true); foreach ($jsonDecode["productDetails"] as $key => $value) { $options = [ 0 =>[ […]
Hi I want to save a shipping address attribute by observer sales_model_service_quote_submit_before Bellow My observer: public function execute(Observer $observer) { $quote = $observer->getEvent()->getQuote(); $fields = $this->fieldsManagement->getByQuoteId($quote->getId()); $objectManager = MagentoFrameworkAppObjectManager::getInstance(); $resource = $objectManager->get('MagentoFrameworkAppResourceConnection'); $customer_res = $objectManager->create('MagentoCustomerApiAddressRepositoryInterface'); $customer = $customer_res->getById(101); $shippingAddress = $quote->getShippingAddress(); $shippingAddressExtensionAttributes = $shippingAddress->getExtensionAttributes(); if ($shippingAddressExtensionAttributes) { $customField = $shippingAddressExtensionAttributes->getDistance(); […]
I have an unusual problem with a range of items on my Magento store that after a few days, disappear from the category pages. If I go into the back end, disable those specific items and then re-enable them again, once Magento re-indexes the products appear again (no manual re-index […]
Just as the title says, how do I get a product’s category name or id when I get that product’s information? I’m querying for a product’s information via catalogProductInfo, and I am also passing in a list of additional_attributes (which includes categoryId). However, the value for every product, no matter […]