I am using the below code to show custom data. file: checkout_cart_index.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> <referenceBlock name="checkout.cart.totals"> <arguments> <argument name="jsLayout" xsi:type="array"> <item name="components" xsi:type="array"> <item name="block-totals" xsi:type="array"> <item name="children" xsi:type="array"> <item name="basetotal" xsi:type="array"> <item name="component" xsi:type="string">Ishaq_CheckoutBaseTotal/js/view/checkout/cart/totals/basetotal</item> <item name="sortOrder" xsi:type="string">20</item> <item name="config" xsi:type="array"> <item name="template" xsi:type="string">Ishaq_CheckoutBaseTotal/checkout/cart/totals/basetotal</item> </item> </item> […]
Magento2
I have a magento with multiple store. I created from the backoffice a bundle product with 2 options containing each one 3 selections of items This product appears as out of stock in my store frontend. So, I have been digging to check why the product do not appear as […]
I have removed tax block from all sales page by adding following code. layout file is Magento_Saleslayoutdefault.xml <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> <referenceBlock name="tax" remove="true"/> </body> </page> Actual Results Expected Result How can I make subtotal shows including tax but tax line is removed by <referenceBlock name="tax" remove="true"/> ?
Is there a way to retrieve queued messages in Magento 2.4 code wise without the need to depend on what queue type is used (RabbitMq or db queue) for a specific topic? I know that when using the db queue system I can query the queue_message table, but I don’t […]
Default Magento 2 does not provide to show the special price on the category page, for show special price we did these changes file name – Vendor/theme/Magento_ConfigurableProduct/templates/product/price/final_price.phtml Change – <?php if (!$block->isProductList() && $block->hasSpecialPrice()): ?> <span class="old-price sly-old-price no-display"> to <?php if ($block->hasSpecialPrice()): ?> <span class="old-price sly-old-price"> Able to see […]
I have a CMS page in magento 2, for which I want to add tag that will be included in section of this page only. I do not want this tag to appear on any other page. My magento version is 2.4.2 Thank you in advance !!
I’m trying to add a button in the system configuration but also wanted to save it in the core_config_data. The reason is in every store view I want to show different messages based on the store id. But the problem is when I create a button in system.xml it does […]
Magento 2.4.3-p1 When I run bin/magento cron:run on the command line all is fine. No issues. When I let it run by the system’s cron it does not work and I get this in the /var/log/magento.cron.log all the time: There are no commands defined in the "cron" namespace. This happens […]
I’m using Magento EE 2.4.1 and facing an issue in PLP pagination. I have set product per page as 12,24,36 in both grid and list view. On the product list first page I can see 12 products and on the second page it shows only 4 products but my total […]