Daily Archives: March 19, 2022
Up until yesterday morning UK VAT was being added to products as it should. Out of the blue, the prices started appearing ex VAT To my knowledge everything is set up as it should be as it was working but now its not and I have no clue what has […]
I am trying to add the same message of pdf pages, Please enter a valid number in this field in another page of a custom module. when the add to cart button is clicked without any value inside text box here is the code I am trying: <form data-role="tocart-form" action="<?php […]
I would like to write a query like delete from inventory_reservation where JSON_EXTRACT(metadata, '$.object_increment_id') = '<increment_id>' So I created my expression in my code like $expression = "JSON_EXTRACT(metadata,'$.object_increment_id') = ?"; And then I try to invoke a delete action like this $this->resourceConnection->getConnection()->delete($table, [$expression, $order->getIncrementId()]); However the resulting query is this […]
strong textI am tryring to add WYSIWYG in the custom form in the sections I am trying this but In the form show only fielset not WYSIWYG Editor. Here is my code with path as well: <?php /** * Copyright © 2016 Magento. All rights reserved. * See COPYING.txt for […]
Reference Image Is there a way to automate the process of changing the windows password using a .bat file. The traditional way of changing the password will be like. Open Command Prompt, type net user Username * > press Enter key > Type New Password and Retype the New Password […]
I am trying to put 2 powershell commands into a .bat file so I can just click on the file and run them, without opening powershell, pasting in the commands, etc. The commands are: cd Downloads get-childitem *.mp4 | foreach { rename-item $_ $_.Name.Replace("yt5s.com-", "") } I currently have a […]
how are you guys? Thank you in advance! You may skip the following (context of the problem): I have a lot of files which are data points of a Nasa satellite (MERRA-2) of different cities. When I batch download them using wget, they all come with a fixed name, and […]
I have some data in an xls file. I want to export it to csv. I don’t want to save the file as csv, I just want to export it so I don’t have to then go back and “Save As…” the original filename (which prompts me to replace). Is […]