Writing clean and reusable code is not easy, we learn different patterns to achieve that. The MVC(Model-view-controller) pattern is probably the first architect pattern you got to know.
Monthly Archives: April 2020
My website works completely fine until few hours ago I received couple of messages that customers cannot click on the Place order button. I have one step checkout module installed since day one that my site launched and suddenly it stopped working. I clicked on the inspect console and this […]
I can not seem to override the Magento Invoice class. I’ve created a module, installed it, enabled it. I have the following in my di.xml file < ?xml version="1.0"?> I’ve run the following commands: ./bin/magento cache:flush ./bin/magento setup:di:compile If I run dev:di:info, it shows my class as a preference… $ […]
I want to create One table model using declarative schema having one column type as json. < ?xml version="1.0" ?> I captured following error:- /var/www/public_html/vendor/magento/framework/Setup/Declaration/Schema/SchemaConfig.php:82: string(412) "The XML in file "/var/www/public_html/app/code/Levosoft/Partpicker/etc/db_schema.xml" is invalid: Element 'column', attribute '{http://www.w3.org/2001/XMLSchema-instance}type': The QName value 'json' of the xsi:type attribute does not resolve to a […]
Can’t do product configuration, the product image does not appear on the screen, neither product description isn’t changing by clicking from one product to another by selecting the colour. On the very last step the thumbnail which should be used on variable products, this I changed so it doesn’t show […]