I have an Excel file saved in a locally-synced O365 directory. I opened it in the Excel for Mac desktop app today, and noticed the data in 3 columns were not in the correct rows. I know this happens in columns where there is a formula, but none of the […]
Yearly Archives: 2024
I had a smaller M2 SSD which I’ve cloned with clonezilla to a 1 tb M2 SSD. This contained a dual boot with Windows 10 and Debian. At first it didn’t boot Windows or Debian. After some restarting I used the Windows repair function to at least get into Windows. […]
Learn about the similarities and differences of JavaScript and Python, how easy they are to learn, and which is best for you to learn first. Continue reading JavaScript vs Python: Which One Should You Learn First? on SitePoint.
Preconditions: Magento 2 clean installation with Luma. We shouldn’t use templates. The replacement needs to create a popup form related to product data to send and save it to my grid. I’m searching for a way to replace the add to cart button from a product in the Magento catalog […]
I created a preference for the block MagentoCatalogBlockProductListProduct to add a specific product at the begining of the collection in getLoadedProductCollection(). Almost everything is well displayed except the price. public function getLoadedProductCollection() { $originalCollection= parent::getLoadedProductCollection(); $featuredProduct = $this->productFactory->create()->load(18); //test productId if ($this->_request->getFullActionName() !== 'catalogsearch_result_index' || !$featuredProduct) { return $originalCollection; } […]
I have added a link to upload files for a product to be fabricated via our Magento 2.4 (self hosted commerce) website. However, I’ve been stumped on where these files live so I can clean them out after some time so the server doesn’t fill up. I’m using the native […]
In the testing environment, it gives below errors, { "message": "The consumer isn't authorized to access %resources.", "parameters": { "resources": "Magento_Sales::actions_view" }, "trace": "#0 /var/www/html/vendor/magento/module-webapi/Controller/Rest/RequestValidator.php(68): Magento\Webapi\Controller\Rest\RequestValidator->checkPermissions()n#1 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Webapi\Controller\Rest\RequestValidator->validate()n#2 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Webapi\Controller\Rest\RequestValidator\Interceptor->___callParent('validate', Array)n#3 /var/www/html/vendor/paypal/module-braintree-core/Plugin/RestValidationPlugin.php(86): Magento\Webapi\Controller\Rest\RequestValidator\Interceptor->Magento\Framework\Interception\{closure}()n#4 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(135): PayPal\Braintree\Plugin\RestValidationPlugin->aroundValidate(Object(Magento\Webapi\Controller\Rest\RequestValidator\Interceptor), Object(Closure))n#5 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Webapi\Controller\Rest\RequestValidator\Interceptor->Magento\Framework\Interception\{closure}()n#6 /var/www/html/generated/code/Magento/Webapi/Controller/Rest/RequestValidator/Interceptor.php(23): Magento\Webapi\Controller\Rest\RequestValidator\Interceptor->___callPlugins('validate', Array, NULL)n#7 /var/www/html/vendor/magento/module-webapi/Controller/Rest/InputParamsResolver.php(108): Magento\Webapi\Controller\Rest\RequestValidator\Interceptor->validate()n#8 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Webapi\Controller\Rest\InputParamsResolver->resolve()n#9 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Webapi\Controller\Rest\InputParamsResolver\Interceptor->___callParent('resolve', Array)n#10 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): […]
I had a pretty comfortable workflow in Magento 1 where I’ve added the ‘skin’ directory to the workplace in Chrome Dev Tools and could edit the CSS files right from the Dev Tools. Is something like that possible with LESS and Magento 2?
When I establish a SSH connection to my machine using PuTTY, I find that the Control + Arrow keys behave unexpectedly when working with vim or nvim in the bash terminal. For instance, in vim, escaping Ctrl + Left Arrow and just the Left Arrow both output ^[OD. While in […]