Questions tagged [enable-disable]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
22 views

How to disable COD payment method based on product attribute?

I want to hide COD payment method based on the Product attribute. I tried payment_method_is_active event method to disable using observer like below. My observer file is here public function execute( ...
0
votes
1answer
32 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 ...
0
votes
2answers
54 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="...
1
vote
0answers
25 views

disable button download [closed]

I have a module for download file, and have a button "Download", now I want when I click on "Download", button will disable and when finish button will enable. How can I do that?
0
votes
0answers
10 views

Problem of config after installing module

After I have enabled my new module , I got this error with no details where the error persists so I can debug it, has anyone has an idea about this 1 exception(s): Exception #0 (Exception): Notice: ...
0
votes
1answer
31 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
0
votes
1answer
27 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?
1
vote
0answers
105 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 ...
0
votes
0answers
17 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, ...
1
vote
0answers
43 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 ...
0
votes
3answers
79 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 ...
2
votes
1answer
751 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 ...
5
votes
1answer
900 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 ...
4
votes
3answers
362 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.
0
votes
1answer
48 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 ...