Skip to content

magento man

I can’t add custom css file

I created the default_head_blocks.xml file in app/design/frontend/Magento_Theme/luma/layout and the local-m.css file in app/design/frontend/web/css/ and the code for the xml is:

Need a little advice

Hi everyone! I’d like to ask a little advice for our website. Recently, we requested HostGator to upgrade our server to PHP 8.1 version … | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1908475&goto=newpost

Not Display Product Name in the Email template?

module.xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”../../../../../lib/internal/Magento/Framework/Module/etc/module.xsd”> <module name=”Magetrend_Custom” schema_version=”2.0.0″ setup_version=”2.0.0″> <sequence> <module name=”Magetrend_Email”/> </sequence> </module> </config> registration.php <?php MagentoFrameworkComponentComponentRegistrar::register( MagentoFrameworkComponentComponentRegistrar::MODULE, ‘Magetrend_Custom’, __DIR__ ); event file C:xampphtdocsmyshopappcodeMagetrendCustometc events.xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:Event/etc/events.xsd”> <event name=”magetrend_email_collect_additional_vars”> <observer name=”mtemail_custom_var” instance=”MagetrendCustomObserverCustomVar”/> </event> </config> observer… Read More »Not Display Product Name in the Email template?

New extended theme from luma doesnt show style-l or style-m css

I have created the registration.php, theme.xml,composer.json in app/design/frontend/myvendorname/themename_theme/ and _extends.less in app/design/frontend/myvendorname/themename_theme/web/css/source. Ran the following commands rm -r /home/magento/pub/static/* /home/magento/var/view_preprocessed/* /home/magento/var/cache/* cp /root/.htaccess /home/magento/pub/static/ #re-copying htaccess above to static folder just in case it got lost magento cache:flush magento setup:static-content:deploy… Read More »New extended theme from luma doesnt show style-l or style-m css