https://wiki.php.net/rfc/calls_in_constant_expressions As team lead and professional code reviewer, I spend roughly 50% of my day reviewing mostly PHP code. One of the fundamental assumptions we have been able to make since the introduction of const FOO = 1234; is that no matter what, we could always see what was on […]
Blog
It seems that Ubuntu broke their vagrant boxes. After I was having problems I’ve come to find out I’m not the only one. Posting here to save others the hassle. Seems to be an issue selecting boxes from old builds as well. https://bugs.launchpad.net/cloud-images/+bug/1862837 https://bugs.launchpad.net/cloud-images/+bug/1862700 The box failed to unpackage properly. […]
Are we supposed to remove reference of pub from line 67,102,206 of VCL like we remove from line 13 if the Magento root directory is pub? https://github.com/magento/magento2/commit/882379061809b806fc5580729a6c9c78d782f84d#diff-2f64f6171deecba61bea147539cf72ec https://devdocs.magento.com/guides/v2.3/config-guide/varnish/config-varnish-advanced.html
I already have a form and controller action, that send data without using ajax.How to do it with AJAX? I would appreciate your help! view/frontend/templates/reviews.phtml
When I have a PHP model or collection of a Magento entity (such as a product or customer), what PHP class(es) is in charge of constructing and executing the SQL that selects that model or collection of models from the database?
I have to hide the “apply your gift card” block in checkout/payment page. This should be hidden when cart contains a gift card yet. I found the html of this section, but I can’t fine where to set my conditions to display/hide the block. I’m on Magento 2.
I am trying to test some switching software that I have virtualized into a docker container. This is the topology I am trying to achieve: Topology When I try to set this up the Iperf client times out as opposed to saying that it can’t find the server. Right now […]