I have added the VAT and address fields to my magento website for the create a new customer page. I have a problem that the auto VAT validation and therefore the auto group assignment is not working ( actually not initiated ) because it seems the VAT field is updating […]
Daily Archives: February 7, 2022
We can import stocks into our Magento warehouses automatically. For this from supplier we need a csv file. We can import the file direct from ftp or an url. We can also import local file on our server. All we need in this file is that 1 column is ‘sku’ […]
I’ve only recently started working with Magento and developement in general, so I am new at this. I need a (simple) product’s quantity for some custom logic. But I don’t know how to get it into my .phtml template. I used this function: $quantity = $_product->getExtensionAttributes()->getStockItem()->getQty(); and print_r($quantity); to see […]
I created a custom image role drop down. I am trying to save its value into ‘catalog_product_entity_media_gallery_value’ table by using the observer event ‘catalog_product_save_after’: <?php namespace HotcoffeeImageCustomRoleObserver; use MagentoFrameworkEventObserverInterface; class Productsaveafter implements ObserverInterface { protected $request; protected $resource; /** * * @param MagentoFrameworkAppRequestInterface $request * @param MagentoFrameworkAppResourceConnection $resource */ public […]
I know there is now this setting in Microsoft Edge: edge://flags/#enable-force-dark https://www.tenforums.com/tutorials/143927-enable-disable-dark-mode-websites-microsoft-edge-chromium.html You can enable dark mode which works well for many sites. But is there a way to do this on demands for certain sites? For example, there are certain websites I would like to use this dark mode […]
On my Ubuntu machine, I’d like to create compressed archive files of 10mb size for Windows users. So that a 25MB myfile becomes something like: myfile1.rar myfile2.rar myfile1.rar I could not find any working example of that in rar tutorials on Linux like here. And for zip, a command that […]
I want to put a computer in the basement for my recording studio. I also want to connect and operate the same computer whilst in the attic of the house. The connections for the keyboard, mouse and monitor in the studio can be made directly to the computer. The connection […]
I have a 2009 Macbook Pro with El Capitan which a want to share remotely via SFTP. I did many attempts following many guides, using both terminal and the graphic process in MacOS Settings but I did not succeed to restrict a user to its folder. What I’ve done so […]