New answers tagged

1

This block is called absolute_footer, see magento/module-theme/view/frontend/layout/default.xml where the block is created: <referenceContainer name="before.body.end"> <block class="Magento\Theme\Block\Html\Footer" name="absolute_footer" template="Magento_Theme::html/absolute_footer.phtml" /> </...


0

Since Magento 2.3.2 you need to use arguments to referenceBlock/referenceContainer, for container/block use htmlClass <arguments> <argument name="css_class" xsi:type="string">header links</argument> </arguments>


0

You need to add translate="true" if you want translation for it. like: <item name="label" xsi:type="string" translate="true">Contact Us</item> For translation, you can refer Answer Hope above will help!


0

To put breadcrumb on My Account pages == My Account Dashboard == file path: /vendor/magento/module-customer/view/frontend/layout/ customer_account_index.xml My Orders == file path: /vendor/magento/module-sales/view/frontend/layout/ sales_order_history.xml My Wish List == /vendor/magento/module-wishlist/view/frontend/layout/ wishlist_index_index.xml My ...


0

The easiest answer I found was to create a second block called in product.info.form.content with an if statement on $product->isSalable()


0

The add to cart button is not shown when the product is out of stock because of your settings. You can change your settings in the back-end of Magento under Stores -> Configuration -> Catalog -> Inventory Here you will find the option Backorders and that is set to No and you can change that to "Allow Qty below 0". Now customers can order ...


0

Create app/code/Jt/Postcodespace/registration.php <?php use Magento\Framework\Component\ComponentRegistrar; ComponentRegistrar::register( ComponentRegistrar::MODULE, 'Jt_Postcodespace', __DIR__ ); Create app/code/Jt/Postcodespace/etc/module.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-...


0

You need to create a new module and add etc/zip_codes.xml with the following: <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Directory:etc/zip_codes.xsd"> <zip countryCode="GB"> <codes&...


1

You can Change it in Core Magento Files I figured out. /httpdocs/vendor/magento/module-catalog/Helper/Product/ProductList.php, you can set asc or desc. Proper way is to do it via extension/plugin.


Top 50 recent answers are included