M2: Updating minicart
Published on 03 Sep 2019Updating the minicart template in M2 is one of the most frustrating things I had to do so far. Long story short; and clear all browser data..
Read more ...Updating the minicart template in M2 is one of the most frustrating things I had to do so far. Long story short; and clear all browser data..
Read more ...If attributes don’t show up in the layered navigation and it isn’t due to the usual suspects, it’s probably a multiselect attribute. It probably got migrated as type text where it should be varchar. An easy SQL fix is this; See if this issue affects the website (you will get no records returned if you […]
Read more ...Nothing is ever easy with Magento, and the same goes for the pretty much modern and straightforward CSS3 media queries. Because Magento is a smart system, and it has smart implementations for things. But it also has very poor documentation on these smart things. Which kind of makes them frustrating, dumb things. Magento 2 goes […]
Read more ...Source To load a custom main.js file on all pages (in the RequireJS-way) this is a good way: 1) Create main.js Create main.js within the theme folder <theme_dir>/web/js/main.js with this content: In short: we declare dependencies at the start, e.g. “jquery”. We define as function’s parameter the variable name for using the dependency within the […]
Read more ...This error, where the thing being undefined can differ is the error I run into most. I fixed it on some occasions, but the thing that does the trick seems to differ each time. This post is meant as a log to get to the bottom of what and why is happening here. Now this […]
Read more ...Permission issues galore! Take these snippets, it’s dangerous out there!
Read more ...So with the server, installation, migration and first tests done, it’s time to start re-creating the theme and modules. At this point I have installed all needed modules already (though not configured yet) and I’m starting to create the front-end. The process is a bit different then in M1, mostly due to the restructured codebase […]
Read more ...So the migration succeeded (quite mysteriously I must add) and it looks like we have all data; Customers Orders Products Categories Attributes But there are some things missing, most notably there are no products shown on the frontend. Main lead on this is that there is a storeview missing which gives Fatal Erros in the […]
Read more ...After I did a clean install of Ubuntu 18.04 it came with Firefox reinstalled. But I also needed Firefox Developer to run along side it and I don’t remember exactly what happened, but something got screwed. My regular Firefox was installed as a ‘snap’ so it was running sandbox mode all the time (I guess? […]
Read more ...If you’re even remotely tied to the PC gaming community you’ll likely have heard about Epic Games launching their own competitor to lifelong favorite launch platform Steam by Valve. Now this inherently isn’t a new thing, there are countless launchers and some of them (like Ubisofts uPlay) are fairly big and commonplace as well. But […]
Read more ...So apart from building web-things and a house, I kind of started building a new gaming rig too. I say ‘sort of’ because it’s been an incremental process for over a few months now, and today I finally hit that point where I thought “well fuck it, let’s go all the way”. How this came […]
Read more ...Ah the migration. Oh the imports and exports. Woe is me. Countless hours spending crafting the biggest spreadsheets and CSV files. Error after error, so much frustration you eventually go beyond rock-bottom and reach a state of true nirvana. Let’s hope Magento’s Migration tool handles this for me this time around. What this tool does […]
Read more ...During setup and installation of the server for M2 I found that it wouldn’t run on an insecure IP address but it requires a FQDN with valid SSL certification. So I registered a .dev domain, because, well, why not. Just for full-disclosures sake, here’s the path for this; Registered domain Updated DNS to point to […]
Read more ...I was going to get my existing clean LEMP server install based on Ubuntu 14.04 LTS and update it. But I decided to get a clean slate and create a new image based on a clean Ubuntu 18.04 LTS version and start from scratch. What follows is more or less a direct copy of this […]
Read more ...We’re “Moving to Magento 2”. The “we” in this case is the company I work for and where I’m responsible for all things tech-related. Which, seeing as this business is an e-commerce business, is a big thing. We have been running about 20 Magento 1.9.x shops for a better part of two years now, but […]
Read more ...Everyone who ever owned a website/blog will know of the life cycle they have. You start one, and go nuts on it. Sink days and weeks into the setup, theme and content and after a while you stop posting new content, maybe something breaks with an update or your server moves, and you never get […]
Read more ...I’m Alex, and I do internet things. This place is my online playground and personal notepad. I write about whatever I feel like, but it’s mostly about building things online, and in the near future is also going to be about building an offline home too(!).
This place is always transforming. Today you’re looking at (I believe) the 12th interpretation of this website, and it is a quick’n’dirty one. But I will expand on it at some point.
Also I write (log?) about my favorite music too, but that’s over here.