Questions tagged [remove]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

How to remove canonical tag from product page in magento 2

I want to remove default canonical link only from product page. I have set the values to "No" in backend configuration. see https://prnt.sc/JAUrcfGsDUai Still the canonical link is visible ...
user avatar
0 votes
0 answers
6 views

Page freezes when trying to remove option from product bundle

I have created 6 options in my product bundle, each one contains from 8 to 10 simple products. When i trying to delete option, page freezes for like 10 seconds. Any solutions how to optimize this ?
user avatar
0 votes
1 answer
53 views

Remove all Product images on one click of button in admin

I want to remove assigned images to specific product from admin on one click of button in magento2. Please provide specific way to implement.
user avatar
  • 561
0 votes
1 answer
23 views

Configure button to remove image from imageUploader

Good morning, could someone help me configure the button to delete image from the imageUploader field, the image uploads it without problem, but when I press the delete button, the entry is clean, but ...
user avatar
0 votes
0 answers
6 views

Removal of updated layout

Magento 2.4.3. I had updated layout of product and category pages by inserting widget (recently visited items) to pages' bottom above footer. Later on, I decided to remove that widget. What's strange ...
user avatar
0 votes
0 answers
28 views

Old categories are not removed from product when using setCategoryIds

I am updating product details programmatically. I want to replace category IDs in product. But using setCategoryIds , it only appends new category IDs in product but not removing old categories. How i ...
user avatar
  • 1,958
0 votes
1 answer
156 views

Remove VAT from products which include Tax in catalog price

I am looking for a way to remove VAT from a product when it's added to the cart, for cases where the customer is entitled to VAT relief. Up to now, I have tried the following suggestion mentioned ...
user avatar
  • 109
0 votes
1 answer
40 views

How is js loaded and removed in Magento 2?

Inevitably, I'm trying to improve our Magento 2.3.0 Pagespeed score. Most of the damage is being done by the excess of unneeded/unwanted js files. Is there any simple way to remove js such as calendar....
user avatar
  • 101
0 votes
2 answers
123 views

Magento 1.9 can not remove product fom quote

I have some problem with removing product from quote. I observe "Add to cart" with "checkout_cart_product_add_after" event and there simply do this: $quote->removeItem($...
user avatar
0 votes
1 answer
320 views

Reload page after removing item from Mini cart in magento 2.3.3

Is there any way to reload the page completely, when we remove an item from mini cart. https://prnt.sc/11i1x2g After clicking on ok , i want to reload the page.
user avatar
  • 700
0 votes
1 answer
44 views

Magento 2.3.6 and removing the compare product capability

I'm trying to remove the compare products from appearing on the product page. We're a small publisher, and I'm not sure what compare would look like between two books in our catalog. I'm currently ...
user avatar
0 votes
1 answer
583 views

unable to remove patch from composer.json

I have to update extension https://i.imgur.com/SgHq8YK.png but it has an error, Can I remove it manually? I think it cant be good practice. how can I safe remove it? dockergento composer remove iwd/...
user avatar
1 vote
1 answer
586 views

Remove JS files from beeing loaded through require-js

I am optimizing the page speed of my Magento 2 frontend. Everything is logically so far... CSS files can be removed through XML, everything should be minified, lazy loaded and so on. BUT: The size of ...
user avatar
0 votes
2 answers
182 views

how to remove "Group" dropdown feild in order create form in backend in magento 2

I need to remove the "Group" dropdown field in order to create a form in the backend ? Can anyone guide me to remove this field in magento2
user avatar
  • 2,398
1 vote
1 answer
504 views

Unlink simple product variant from configurable product programmatically in magento 2

I want to unlink some (not all) simple products from configurable product. I don't want to delete simple products, I just want to unlink from the main configurable product programmatically.
user avatar
3 votes
1 answer
668 views

How to remove the attribute element in the layout in magento 2

I wish to remove the attribute element in the catalog_product_view.xml file I have tried below <page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
user avatar
  • 2,398
1 vote
4 answers
96 views

I need to remove all parts using objectManager In my Magento 2.2.3 project

Because of lack of knowledge, I currently have many parts using objectManager in my project.But I'm not sure whether I should create a module and create many functions for these various parts running ...
user avatar
  • 23
0 votes
2 answers
940 views

Remove block from Product Page in Magento 2

I want to remove right side block from product page. See https://prnt.sc/r5mlfi How can i remove this? What is the name of this block? <referenceContainer name="content"> <block ...
user avatar
  • 700
0 votes
0 answers
283 views

Magneto 2 : remove attribute from particular configurable product programmatically

ex. I have a configurable product id X having attributes like color, size, material,A,B,C etc. and I want to remove attribute C from the product X. and also remove from every linked products with X. ...
user avatar
2 votes
1 answer
1k views

Magento2.3- Remove vat if vat number is present on checkout

I want to remove vat from checkout on run-time, If vat number field has some value. I am able to validate vat number on run-time on checkout (via this link Programmatically check VAT number is valid ...
user avatar
1 vote
1 answer
346 views

Magento 2 Remove Total from report table

I have overridden the Sales report in my custom report file but I want to remove footer which is automatically added that I don't need how to remove that footer My layout xml file is <?xml ...
user avatar
0 votes
1 answer
291 views

Magento2: How to disabled coupon code programmatically from the cart and checkout page?

I want to disabled coupon code programmatically from the cart and checkout page if the condition is true. Please help me.
user avatar
  • 1,127
1 vote
2 answers
371 views

How to remove collection filter from Magento 1.9?

I want to add filter to grid. When I add filter to sales_billing_agreement, I got the following error. SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'store_id' in where clause is ...
user avatar
  • 113
3 votes
1 answer
423 views

It is possible to remove the product qty field?

I want to remove the 'Qty' field without removing the 'add to cart' button. But the best I've found is: <referenceBlock name="product.info.addtocart" remove="true" /> Which removes both fields....
user avatar
1 vote
2 answers
64 views

Remove Forced Login / Sign Up

I've a personalised board book business called www.bookywooky.ie. I insisted my web dev co to force customers to create / sign in to an account prior to creating a book so they wouldn't lose any of ...
user avatar
  • 11
0 votes
0 answers
34 views

Observer on item removed

I need to trigger this event but just before the item is removed : sales_quote_remove_item But for now, the event is trigger after I want to do this : when the user is tryinng to remove the ...
user avatar
0 votes
1 answer
137 views

How to remove spam customer account through extension in magento 1.9

I have some spam customer so how can i remove spam customer account in this site and how to disallow this account through the extension for Magento 1.9 please give me a suggestion for that if any ...
user avatar
1 vote
2 answers
1k views

Magento 2: how can Override vendor\magento\module-sales\Block\Adminhtml\Order\View.php to remove/disable "Ship" button

To Disable/Remove “ship” Button from sales->order->view (click) -> Ship I commented in core file vendor\magento\module-sales\Block\Adminhtml\Order\View.php below code . if ($this->...
user avatar
  • 161
1 vote
1 answer
59 views

How to Remove Zipcode, State and Company from Magento 2.3

As per the title, you can realize that its a very old and repetitive question, but actually I could not find a solid answer !! I want your help (step by step) how to "remove/disable" the Zipcode &...
user avatar
0 votes
2 answers
517 views

How to delete custom child theme in magento2

I clone my theme to set child theme. I deleted child theme folders in app/design/frontend/ and app/code//ThemeOptions/fixtures but in admin backend it's not removed. I flush cache , Please let me know ...
user avatar
  • 569
0 votes
2 answers
676 views

Magento 2: Add loading effect on remove product from the mini cart

I want to add loading effect before ajax call of remove product from the mini cart. Right now when I remove the product from the cart, It takes 4-5 seconds to delete but user cannot identify whether ...
user avatar
  • 765
2 votes
1 answer
619 views

How to remove SKU column from order details in My account page

I wish to remove SKU from order details. Open my account page in frontend 2.Go to My Orders 3.Click View Orders link from the list of orders How to remove the SKU colum and its associated details. ...
user avatar
  • 2,398
0 votes
2 answers
44 views

Remove a city from being able to purchase product

So in my explorations I've found that Magento only has the States stored in the back end, but I don't want to remove the entire state, just one city in that state. I've seen options to include a city ...
user avatar
2 votes
2 answers
392 views

remove coupon code from cart

I want to delete the coupon code programmatically. My code is: $cart = $this->quoteRepository->getActive($cartId); if(isset($response_json['errorMessage']) || $json_response['status']['...
user avatar
  • 57
3 votes
3 answers
2k views

How can I remove not existing images in magento 2

How can I remove not existing images from magento. In the database have images but file is not exist. I want deleted this images from database.
user avatar
0 votes
0 answers
52 views

Remove or add any elemt from magento2 Collection?

I have order collection and i want to add one more column in this collection . How can possible ? whats the addBindParam() or addItem() method do ? /vendor/magento/module-reports/Model/...
user avatar
  • 1,515
5 votes
1 answer
464 views

Magento2 : Remove disabled product from wishlist

I need to remove all the disabled products from wishlist and for this I write a product status check in Magento_Wishlist/templates/item/list.phtml like this: if($product->getStatus() == \Magento\...
user avatar
1 vote
1 answer
29 views

How we can remove cart item in webservice in magento1.9.3

please check my code because this code removes all cart item. I want to remove 1 by 1.. please check the code and let me know what is the issue. <?php ini_set("default_socket_timeout", 200); ...
user avatar
  • 109
2 votes
1 answer
158 views

magento 2 remove root lib/web/ js files from home page

Magento 2 sends around 300 request on home page so speed is very slow. Also, bundling create very large file so its taken time to load resources. I want to remove js from root lib/web from home page. ...
user avatar
4 votes
3 answers
3k views

Magento 2 : Remove “Settings” Tab in Mobile Menu

How Can We Remove “Settings” Tab in Mobile Menu ? Waiting for the reply!
user avatar
0 votes
1 answer
175 views

Magento 2 - How to remove Font Family and some other section of wysiwyg editor from a 3rd party module?

I have a 3rd party extension and for a field they've used "wysiwyg editor" but we want to remove some section of the editor e.g-fonts etc please see the image:- How can we achieve?is this possible? ...
user avatar
0 votes
2 answers
2k views

Remove merged css and js from layout in magento2

I have enabled js and css merging and bundling from the configuration. we can remove particular js or css using below code. <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
user avatar
  • 1,830