Is there an easy way to bulk swap the file names of two files in Windows? Example of what I want: Example: I have fileA.txt and fileB.txt. After the operation, fileA.txt is now called fileB.txt, and vice versa. This article has some solutions, but I want to do it in […]
Yearly Archives: 2022
I am very new to this any help would be appreciated. I want to setup radio communications for my family to communicate in an emergency. My idea is to buy a duplex repeater and two way radios (analog or digital?). Can anyone give a good one to buy? I have […]
I’m setting up rsyslog for an application and using the following configuration: $FileCreateMode 0644 if $programname == 'proxy' then /var/log/proxy/log & stop This generates log entries like the following: Feb 26 20:45:46 ip-10-161-71-236 proxy[2562]: Feb 26, 2022 8:45:46 PM org.redisson.connection.pool.ConnectionPool$1 lambda$run$0 This stuff is being shipped over to CloudWatch by […]
I want to search my local hard disks and my removable USB thumb drives while excluding my Google Drive (G:). I’m trying to search using an explorer window using the search box (F3). My location bar is set to My PC. What I’ve tried: (a) unindexing the G: drive. I’ve […]
I’m trying to add a price field into a custom entity I’ve created but the digit disapeared and it’s rounded. How to keep 2 digits ? ->addColumn( 'price_ht', Table::TYPE_FLOAT, null, [ Table::OPTION_SCALE => 2 ], 'Price HT' ); This is interpreted as 10,0 in the database instead of (10,2) which […]
Forgive me for my naivete but I’m modifying a custom extension and I see this variable: $mediaPath = $fileSystem->getDirectoryRead(MagentoFrameworkAppFilesystemDirectoryList::MEDIA)->getAbsolutePath(); I went through MagentoFrameworkAppFilesystemDirectoryList but can’t find any mention of ::MEDIA. Can someone please clue me in? Thank you! I’m new to M2.
I recently migrated the orders from magento 2.2.1 to magento 2.4.3-p1. after migration I tried to place some orders but I get the following error. #0 /var/www/html/generated/code/Magento/Quote/Model/Webapi/ParamOverriderCartId/Proxy.php(95): MagentoQuoteModelWebapiParamOverriderCartId->getOverriddenValue() #1 /var/www/html/vendor/magento/module-webapi/Controller/Rest/ParamsOverrider.php(64): MagentoQuoteModelWebapiParamOverriderCartIdProxy->getOverriddenValue() #2 /var/www/html/vendor/magento/module-webapi/Controller/Rest/InputParamsResolver.php(127): MagentoWebapiControllerRestParamsOverrider->override(Array, Array) #3 /var/www/html/generated/code/Magento/Webapi/Controller/Rest/InputParamsResolver/Interceptor.php(32): MagentoWebapiControllerRestInputParamsResolver->getInputData() #4 /var/www/html/vendor/magento/module-webapi/Controller/Rest/InputParamsResolver.php(96): MagentoWebapiControllerRestInputParamsResolverInterceptor->getInputData() #5 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): MagentoWebapiControllerRestInputParamsResolver->resolve() #6 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): MagentoWebapiControllerRestInputParamsResolverInterceptor->___callParent(‘resolve’, Array) #7 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): […]
I’m creating an order programmatically. I have added cart price rule in backend for subtotal above 1000 will get 30% product price discount on product When generating order(programmatically) as a customer, Discount is not added in order totals in the backend as shown in the screenshot:- https://nimb.ws/YD5Exj When generating an […]
I’m working on a Magento site trying to sort out Tier Pricing. However it does not show on the admin area, the advanced pricing section exists but not tier prices. Now there are a lot of extensions installed here, so presumably one of them is removing or breaking it. How […]