I use vagrant to run multiple docker based environments to reproduce client environments. PHPSTorm has a built in terminal, which you can right click and start a termical session in the folder of the file. The problem I have is that the terminal session is outside vagrant.
The built in vagrant tools don;t work here as I am in a project folder that exists inside the vagrant file path, so vagrant is OUTSIDE the project
PHPStorm terminal with vagrant
3/05/2021 9:48 pm
Fix Magento 1 to Magento 2 Migration error: Type Error occurred when creating object: Magento\Eav\Model\Entity\Attribute\Source\Config
30/03/2021 10:03 am
I migrated a magento 1 site to magento 2, and checkout (any theme) immediately failed with error:
Exception #0 (Magento\Framework\Exception\RuntimeException): Type Error occurred when creating object: Magento\Eav\Model\Entity\Attribute\Source\Config, Argument 1 passed to Magento\Eav\Model\Entity\Attribute\Source\Config::__construct() must be of the type array, null given
This post how I debugged/tracked down the issue.
Read MoreBuddy.Works Terraform IPs into aws_security_group
25/02/2020 3:42 pm
This is just an example of how to pull in buddy IP's, and then assign them to an aws_security_group using terraform.
The procedure is not specific to aws_security_group, and can be used for anything that needs CIDR blocks or multiple IPs
Read MoreBuddy.Works pipeline email PHPCS result
10/01/2019 9:08 am
This week I wanted to add PHPCS Code Sniff to the Buddy.Works deploy Pipeline. I did not want the deploy to fail if any sniffs were found, I simply wanted to have the team emailed with any found sniffs. (for now)
Unfortunately the built in buddy.deploy PHPCS action does not have the ability to email out, and the Email Action cannot attach files. (Buddy support told me they have this feature in their backlog)
I had to come up with my own solution, so here it is....
Read MoreIFTTT to Schedule Sensibo AC Climate React feature
5/02/2018 3:27 pm
I turned our dumb, 15 year old, split cycle Air-Conditioning unit into a SMART Unit by adding some home Automation via Sensibo
Sensibo was super easy to install, and within no time at all, I had full control over our Air-Conditioning requirements. Sensibo was SMART, and even integrated with IFTTT (IF This Then That) which opend a whole world of automation possibilities.
Life felt great. Life felt smart. I felt smart, until.......
Read Morelimit algolia product search by store with shared root category
15/09/2017 11:59 am
Recently I had an issue regarding a site that runs 2 stores, but shared the same ROOT category between the stores, but had seperate categories per store (categories are enabled at store level)
The problem is that the integrated search service ( Algolia ) woudl index all products to all sites. The issue is that you could then search products in one store from another. This is not wnated, as they do have seperate products.
The only reason they sahre a root catalog is that all products do actually belong to both stores, which facilitates the ability to swap between stores, and retain products in cart from each store. So in effect you can checkout in either store with another stores products.
Search, however shoudl not be cross-site
Read MoreDynamic Category Products saves site build
3/08/2016 1:54 pm
One of our clients was so happy with the outcome of their usage of our Dynamic Category Products extension, they decided to write a not so small review. It was too big to fit into the review aea, so I decided to make it a blog entry.
Thank you for the awesome review Chris.
Read MoreShow only products that belong in all given categories (Intersect)
11/07/2016 8:55 pm
Would it not be nice to display products to a given category, if said products belong to a given list of categories?
From version 4.26.0, of our Dynamic Catgeory Products, you can do just that!
Read MoreGift Promotions: Gift any product from a nominated category
1/07/2016 7:31 am
Ever wanted to create a Gift Promotion for your store to which the customer can add any product, from a specific category, and that item will be gifted (or half price, or any price for that matter)
The latest feature from ProxiBlue Gift Promotions can do exactly that!
Read MoreIntegrate Airbrake with Magento using FireGento Logger
18/03/2016 12:06 pm
A recent task was to integrate a client website with Airbrake.
Simple enough task, sicne Airbrake supplies a working magento module via github: https://github.com/airbrake/Airbrake-Magento
Unfortunately, integration was not as simple as initially thought, due to the Airbrake module and my own Newrelic module clashed in regards to the magento log stream writer.
Read More