I have a (generally) off-network machine that has time info streaming through serial from GPS. I’ve captured that info and I’m trying to automatically update my system time using timedatectl set-time and it keeps asking me for a password. I’ve gathered that I’m supposed to be updating the sudoers file, […]
Blog
Windows 10 (Home) PC user here, OS build 19045.3448. Today is October 6th, 2023, for future reference. I recently discovered, via trying to play a downloaded folder of music and being surprised when the second song never played, that there’s something going on with my Groove Music app. Though it […]
I want to set up a promotion specifically for customers to purchase products that fall under one specific category listed on our website (we’ll call it category A). Buy 1 product in category A, get 10% off Buy 2 products in category A, get 15% off Buy 3 products in […]
Magento 2.4.5-p1 I have some bad data in the database which I imported from Magento 1.9 via System -> Data Transfer -> Import What happens is – when I go into: - Catalog - Products It gives the following Error: X Something went wrong with processing the default view and […]
I am trying to get the related products from a specific product using the function getRelatedProducts. $relatedProductsArray = $productModel->getRelatedProducts(); if($relatedProductsArray && count($relatedProductsArray) > 0){ foreach($relatedProductsArray as $_relatedProduct){ ... } } It works when the related products are assigned directly to the product in the admin product details. However, when the […]
I tried defining a plugin, as per Magento 2: Change hompage on login, but it doesn’t seem to work for me. I could override the CMS default controller, but that seems overkill.
I have successfully added PHP to the built-in Apache on Mac OS Ventura (on Intel), however it’s an old build of PHP 7. My problem is that when I try to use the latest version as built using MacPorts I get a segmentation violation. In both attempts they are signed, […]
I’m querying the graphql endpoint of a magento test installation, and am constructing and sending an oauth 1.0 authorization header via an integration setup. When I query the products via a simple graphql query like so: query Products { products( filter: { price: { from: "0" } } pageSize: 20 […]
I have a workbook that uses data sources from web (XML query) to pull some info in. The server will return an error if I send a “0” or “blank” for one value, so I am trying to find a way to wrap one of my queries in a conditional […]