Skip to content

magento man

Magento 2 not writing to anything to log files

I have fresh magento install, created respective files under var/log, ran bin/magento setup:config:set –enable-debug-logging=true use PsrLogLoggerInterface $logger in my code $this->logger->info(‘600’); leaves all of the log files empty

Magento 2: Custom component fails to load when implementing Magento_Checkout/js/model/totals

I have created a custom Knockout-Component that so far does not do anything. It is just the basic skeleton but it already fails to load. Template: <div class=”my-module” data-bind=”scope:’my-module'”> <!– ko template: getTemplate() –><!– /ko –> </div> <script type=”text/x-magento-init”> {… Read More »Magento 2: Custom component fails to load when implementing Magento_Checkout/js/model/totals

How can I add a custom stylesheet to my custom theme?

I am losing my mind because I am following guidance in documentation but literally nothing works. I added a custom theme that references luma. my directory structure is /app/design/frontend/Localstretch/luma_child In my luma_child/web/css folder I put localstretch.css In my /app/design/frontend/Localstretch/luma_child/Magento_Theme/layout/default_head_blocks.xml I… Read More »How can I add a custom stylesheet to my custom theme?