Now I implement the code below use MagentoFrameworkAppHelperAbstractHelper; use MagentoCustomerModelSession; use MagentoFrameworkAppHttpContext as AuthContext; class Customer extends AbstractHelper { /** * @var MagentoFrameworkAppHttpContext */ private $httpContext; private $objectmanager; private $authContext; public function __construct( MagentoFrameworkAppHelperContext $context, MagentoFrameworkAppHttpContext $httpContext, MagentoFrameworkObjectManagerInterface $objectmanager, Session $session, AuthContext $authContext ) { $this->objectmanager = $objectmanager; $this->httpContext = […]
Daily Archives: February 22, 2020
I’m trying to launch a JAR file which requires Java 8 (not higher/lower). When I install Java 8 and I launch the application it opens a window but the content of the window is just blank. I’ve tried the openjdk aswell as the oracle jdk. None of them work. However […]
Sometimes Chrome extensions ask for permissions that raise a privacy red flag (like “read all your browsing data” or “read your history” etc). Sometimes this can be innocuous and necessary for extension functionality, and other times it can be malicious. I’d like an extension that let’s me know when another […]
I have an HP Laptop 15-bsOxx; the original battery states the replacement as HP Spare 919700-850. It states the mAh as 2850 on one area & 2670 on another – which’s correct? I can’t find any replacements with these numbers or within 5% – I’ve found the laptop & battery […]
i have a question about linking ms excel cell values that are calculated from some formulas to ms word into some prices. It look something like this. The table with pictures from some intercom monitors and random prices that i want to link But when i try to special paste […]
I would like to rename just the csv files in my H:/DMU folder. I tried the following code: Dir -filter *.csv | %{Rename-Item $_ -NewName ("fn*.csv" -f $nr++)} I encountered the following error for every file I tried to convert. PowerShell Error Code I know how to rename all the […]