How to show the totals section in the checkout shipping step

If you want to show the totals section when you first go to the default checkout in your magento 2 website you need to extend the abstract-total object defined in the Magento_Checkout/js/view/summary/abstract-total.js file. The function isFullMode needs to be replaced by a custom function that avoids not showing the total section in the shipping step. Basically the last statement on[…]

Read more

How to disable 2FA on Magento 2.4

When you install magento 2.4 you are forced to configure Two-Factor Authorization in order to login to your admin area. Although this is a must wanted feature to improve your magento security, it can be a real pain when you are in the development stage of your website. To disable this requirement run the following commands on the command line:[…]

Read more

Add custom css to a product page

If you need to add css rules specifically to your product pages then the best is to avoid adding those rules to all pages of your website. You can achieve this but creating (or editing) a catalog_product_view.xml file inside /app/design/frontend/THEME_VENDOR/THEME_NAME/Magento_Catalog/layout or /app/design/frontend/THEME_VENDOR/THEME_NAME/Magento_Theme/layout. Because of the way magento handle theme inheritance the xml code included on this file is added to[…]

Read more