Questions tagged [enable-disable]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
3 answers
53 views

Disable module output not working on magento 2.4.3-p1

I need to disable module output for the Magento_Banner module. I'm tried to disable the module output using the DevDocs reference link, Also I have followed the same step as per the given reference ...
bharat's user avatar
  • 384
0 votes
0 answers
119 views

How to disable all products in Magento 2 using MySQL query?

I've a custom cron scheduler which will automatically enable the products and also update the stock. I need to disable all the products before executing my custom cron scheduler. Can this be achieved ...
Sandeep Nair's user avatar
0 votes
1 answer
76 views

How to enable 'Use in Layered Navigation' for EAV attribute?

The options are disabled and I would like to activate them. The module I am using is Mirasvit
Alessandro Scalesse's user avatar
1 vote
2 answers
677 views

how to enable/disable custom attribute showing on product page

I created an attribute switch, but how do I get it to work? Also I created an attribute - which I want enable/disable <?php namespace ivan\ProductAtrr\Setup\Patch\Data; use Magento\...
Miron's user avatar
  • 59
2 votes
0 answers
289 views

Magento 2.4.2 : Disabled Products are visible in Frontend

Products, that are disabled in our backend, are still shown in the frontend. Even after changing the visibility to "not visible individually" or just "catalog", they still appear ...
Farina's user avatar
  • 21
0 votes
1 answer
300 views

Magento 2 show/hide add to cart button based on section data

I need to show/hide the add-to-cart button based on some custom values. These values are stored in a product attribute. The values are updated at the time of order creation. I am using sections.xml ...
Jancy Abraham's user avatar
0 votes
1 answer
512 views

How to disable a knockout generated dropdown option by default

I am trying to disable a certain option of select generated from knockout on the checkout page. I tried what was mentioned on the knockout documentation i.e. to call optionsAfterRender. But this gives ...
nix's user avatar
  • 117
0 votes
1 answer
352 views

Is there any way to get enabled and disabled simple product of configurable product in Magenoto 2?

Is there any way to get enabled and disabled simple product of configurable product in Magento 2. I need to get all id of enable and disabled product by using SQL query or object manager approach. Can ...
Prits's user avatar
  • 626
2 votes
2 answers
245 views

How can I Disable "Add To Cart Button" in Magento 2?

Any help would be greatly appreciated.
Kuldeep Sharma's user avatar
0 votes
1 answer
105 views

enabling module error in vendor after installing with composer by CLI

I add a module with composer and then try to enable it by writing the command php bin/magento module:enable SR_UnicodeUrl but I get a long error in response that starts with this phrase Unknown ...
sina Dabbagh's user avatar
0 votes
1 answer
162 views

How can Enable Product (a [website] scope property) can have different values in one specific store view vs All Store?

I have 1 website, 1 store and 2 store views (for English and Finnish languages.), If "Enable product" scope is website. Then how come it can have different values between these Scope: ...
Siamak Rahimi's user avatar
0 votes
1 answer
272 views

ui component modifier

I'm using Modifier class to disable some ui components on admin screen. But when I implemented modifyMeta() method, some of the needed ui components not included in the metadata array (eg: gallery) So ...
namikaze's user avatar
1 vote
2 answers
668 views

How to add Enable Disable functionality for a referenceBlock in Magento 2

I want to add Enable/disable functionality for a referenceBlock. <referenceBlock name="product_recommendations_pdp" remove="false" /> The referenceBlock can be remove="...
Kumar Gaurav's user avatar
0 votes
1 answer
273 views

How to disallow my customer to not purchase any product from my site magento 2

For temporary purpose, i want none of my customer should place order on my site. They can browse on my website but cant place any order. How can i do that in magento 2
Nafsss's user avatar
  • 720
0 votes
1 answer
65 views

How to disable the categories sidebar in the product detail page in Magento 2?

Is there an option in the admin area of Magento 2, to disable the sidebar on the left with the list of categories in the product detail page of the frontstore?
Max's user avatar
  • 176
2 votes
0 answers
311 views

Magento 2 : "My billing and shipping address are the same" checkbox remain unchecked

I have created a custom extension for product based cash on delivery. I have followed the below link for creating the extension. Disable payment method programmatically in Magento2 Everything works ...
Jancy Abraham's user avatar
0 votes
0 answers
24 views

Products not appearing

So here is a strange thing: we uploaded a few thousand products but some products refused to show up in the front end. All products were enabled and had stock inventory. I reindexed a dozen times, ...
Andras's user avatar
  • 169
1 vote
0 answers
245 views

Disable Magento Gift Card Extension

I want to disable (complecty remove everything that comes with this module, I mean options in My account, checkout, cart etc) but disabling it by command seems problematic beacuse of modules that ...
miloszowi's user avatar
0 votes
3 answers
296 views

Unable to change value in config.php

I have a Magento Cloud server. In which I need to disable a Module. From my local environment, I have changed the app/etc/config.php "My_Module" => 0. And committed the changes. But my changes not ...
Shajitha Banu's user avatar
4 votes
1 answer
2k views

How to disable PayPal express payment method on one of the store

I got 2 variations of the store - EU and USA. I need to disable the PayPal Express method on the EU store, how can I do that? There no option to disable Payment on EU store: But avaliable on default ...
Ashen One's user avatar
  • 423
5 votes
2 answers
2k views

Disable product attribute from admin edit in magento 2

I have create an attribute viewed_count, I will write a code to update it from observer. Now I don't want anyone to edit it from admin, So I want to make it disabled from admin edit. How can I ...
M Umair's user avatar
  • 87
4 votes
3 answers
1k views

How to add Enable/Disable extention functionality in admin side in custom extention magento 2.3

We want to create one custom extension which has functionality in admin side for Enable/Disable. Any one help me how to add this functionality in my custom extension.
Anil's user avatar
  • 420
0 votes
1 answer
231 views

How to set a start and end time for Product Status

Am I able to set a start and end time for product status? I'm running an ecom store and would like to know if I can set a date & time for product to enable/disable. For example, if I am ...
Rory's user avatar
  • 1