I recently spent the best part of a day trying to figure out how to replace a single part of a Magento checkout with a custom template. Since I spent most of my time jumping around the internet, I thought I'd collate my findings in this post.
Recent posts
Welcome to the site of Sophie S-K, a Drupal developer based in Bristol, UK.
Redirecting http:// to https:// is standard practice, but how do you test that locally if the redirect depends on environment variables and a certain set of paths?
Running PHPUnit tests in Docksal is straightforward, but we struggled to get Functional JavaScript tests to run within Docksal. Here's how we got them working.
You've got an update hook that depends on a new field that depends on config import that needs to be done after the update hook has run that requires the config import that needs... ARGH.
In a headless setup, I wanted to protect the user registration endpoint from being accessed by unauthenticated users. I achieved it using the Simple Oauth module.