I am running into an issue where I have about 1000 products in a category. I have it sorted by price as the default. When I go to the page, it is showing the price order correctly, only, there are products missing, about 800 products to be exact. however if […]
Blog
I have been receiving this error for a while in the exception.log. It links to Framework/Data/Structure.php /** * Create new element * * @param string $elementId * @param array $data * @return void * @throws LocalizedException if an element with this id already exists */ public function createElement($elementId, array $data) […]
I have a controller that only executes once after the cache is cleared. After that the response is always the same – cache is there instead of a new execution. The class is extendsMagentoFrameworkAppActionAction: class Index extends MagentoFrameworkAppActionAction What can I do inside this controller to get rid of the […]
I’m a new hired developer for a company that is using Magento CE as their CMS. I’m trying to set up a local development environment and it’s telling me that I have to be authorized user on Magento Cloud account. When I log in to our Magento Cloud Account it […]
I have the following block of code that gets all active catalog rules: $catalog_rule_collection = $objectManager ->create('MagentoCatalogRuleModelRuleFactory') ->create() ->getCollection() ->addFieldToFilter('simple_action', 'by_percent') ->addIsActiveFilter(1); ->addFieldToFilter('simple_action', 'by_percent') filters results to catalog rules with a percentage discount. ->addIsActiveFilter(1) filters results to only activated catalog rules. This simply retrieves table data from the catalogrule table. […]
I am in an enterprise environment and I am trying to set the default apps on several systems by using a .bat script. This is what my script is doing, nothing complicated. @ECHO OFF dism /online /Import-DefaultAppAssociations:"%~dp0MyDefaultAppAssociations_Modified.xml" However, I have noticed that it works on some work stations on not […]
I would like to configure i3WM to hide a window’s title bar, iff it is the only window on its workspace. The configuration should probably look something like that: for_window [???] border pixel 0 However, I could not figure out the command criteria to select only single windows.
I have two hard drives, and one of them used to run Ubuntu. I have since removed Ubuntu from my second drive and have unified with my main one. I wanted to put both drives into one partition but have since found that doesn’t work, and now want to move […]
I have setup a lighttpd remote server that I want to run a python application using fastcgi. The application has a login with a backdoor. When I try to use it, I get an internal server error. In the lighttpd error log, I see: 2020-01-23 20:05:51: (mod_fastcgi.c.2702) FastCGI-stderr: paswd = […]