2 votes

Remove or replace add to cart button on a product in catalog by condition programmatically

To prevent the product from Adding to cart you can use below code: app/code/Vendor/Extension/etc/events.xml <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
user3411's user avatar
  • 134
1 vote

Magento 2 add request header to Graphql programmatically

Header Key and Value graphql query postman // enter header key as 'Store' and value as store code e.g in Store - in // enter header key as 'content-currency' and value as store code e.g AED content-...
akashmalik's user avatar

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