Hot answers tagged

1 vote

Place div next to or under in stock

You can try this with css Inside the product-info-stock-sku div, which is the parent div of the stock and sku you need to place your custom div inside this parent div After that, add custom css .stock ...
Aziz Kapasi's user avatar
1 vote

In Adminpanel di.xml for graphql

Please Try using Setup patch data Create CustomCategoryAttribute.php at app/code/Autosmart/CategoryAttributes/Setup/Patch/Data and paste the below code : <?php namespace Autosmart\...
Mufaddal Dhansurawala's user avatar
1 vote

DOMDocument::loadXML(): Argument #1 ($source) must not be empty in DomMerger.php

I fixed that issue by remove spacing at start of the xml file.
MP Raj's user avatar
  • 502
1 vote

DOMDocument::loadXML(): Argument #1 ($source) must not be empty in DomMerger.php

Try this all steps The error you're encountering indicates an issue with an empty source argument being passed to the loadXML() method of the DOMDocument class in the DomMerger.php file. This error is ...
Ansari's user avatar
  • 435
1 vote

Prevent XML file in media directory to be cached

You must have a server cache for Static files meaning CSS, js, and XML for your website. that why this reason this issue happens. If you are using Cdn or a cache system like Cloudflare then you have ...
Amit Bera's user avatar
  • 77.4k
1 vote

how to make noindex nofollow for login page

Create a layout XML file: Inside the "layout" directory, create a file named "customer_account_login.xml". Add the following code to the "customer_account_login.xml" ...
Mufaddal Dhansurawala's user avatar
1 vote
Accepted

Element 'argument': The type definition is abstract and The state object to be removed is not the first in the list

I just came across a similar error so here is an answer to this seemingly old question: <type name="Vendor\Module\Model\Layer\FilterResolver"> <arguments> <...
Felix's user avatar
  • 126
1 vote

Magento2: Default to sort by price descending not ascending

You have to referenceBlock product_list_toolbar as the category.products.list does not have setDefaultDirection method. <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/...
Vyacheslav Shmal's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible