Questions tagged [delete]

The tag has no usage guidance, but it has a tag wiki.

Filter by
Sorted by
Tagged with
2
votes
0answers
97 views

Product Delete create re- indexer issue in magento 2

When I delete a product in Magento 2 using CSV import or through admin then after I re-index then category product and product category having indexer issue like SQLSTATE[23000]: Integrity ...
1
vote
0answers
27 views

Got 70 Items in Cart which I can't remove!

Good Morning to all. First of all please note that I am not the merchant but a buyer. I do use shop.funko.com to purchase Pop Vinyl Figures. This problem has been persistent and I ended up buying via ...
0
votes
1answer
492 views

How to delete orders in Magento 2.2.1 without any extension? [duplicate]

I tried to delete my order list but could not delete those orders and searched on google. They provide the solutions with the use of an extension but I do not want to use extension. I would like to ...
0
votes
1answer
584 views

Deleting products via PHPmyAdmin

Would there be any adverse effect deleting products via PHPMyAdmin with Magento 1.9? I have reached the limit of my MYSQL Database with my hosting company however, I am unable to delete old products ...
1
vote
0answers
604 views

Magento 2: Delete duplicate products programatically

I need to search Magento 2 DB for duplicate SKUs and remove duplicate products using a script, i found a very useful script here: Remove duplicated products from catalog. but it's not compatible with ...
0
votes
1answer
50 views

How to delete compare and shop by function in Magento 2

I'd like to delete all the compare and shop-by functions completely, how can I do this through the cpanel? Thank you.
0
votes
1answer
1k views

Magento 2 : Delete products having no name using sql or admin

I uploaded a csv in which there were some products having no name, so it comes out blank in frontend. I tried getting these products in catalog_product_entity_varchar but there were no NULL values in ...
0
votes
1answer
469 views

Mass action delete not working on Magento 2.1.9

I have created a backend module on magento 2.1.6 which was working fine on the mass delete action. After upgrading magento with version 2.1.9, now if i tried to make a mass delete i receive this next ...
0
votes
1answer
65 views

Product delete et re-create

I am curious to know. In Magento2, if a product has been ordered, then deleted, then it has been re-created with the same SKU, will it be considered as one and the same product, or a diifferent one? ...
0
votes
0answers
85 views

How To Remove Images From Database using Image Path?

I need to remove images from database by using image path, Paths: m/1/m1.jpg, n/2/n2.jpg Eg: www.abc.com/media/catalog/product/m/1/m1.jpg my images located at media/catalog/product/5/2/53765.jpg, ...
2
votes
1answer
2k views

Add 'Delete my account' link in Customer Navigation Menu

Is there a way to place a link (ie called Delete my account next to the Log out link in the Customer Navigation Account Dashboard? I know there are paid extensions available for that but I'd like to ...
0
votes
1answer
262 views

Delete collection item through console command

My goal is to delete the default shipping address of all customer. The code looks something like this: foreach ($customerCollection as $customer) { $customer->load($customer->getId());...
1
vote
1answer
2k views

Magento2 mini cart item delete alert

Can anyone let me know, How an alert box getting delete an item popup, from minicart: location below: line 71: vendor/magento/module-checkout/view/frontend/web/js/view/minicart.js Where defined the ...
0
votes
1answer
709 views

CURL request using DELETE method in Magento 2

I am trying to call a curl request for delete method using Magento\Framework\HTTP\Client\Curl.php. In this class makeRequest method is responsible for sending curl request. But as I can see that ...
1
vote
1answer
48 views

Deleting from minicart items causing issue

I am trying to delete from top minicart and getting this strange error: Recoverable Error: Argument 1 passed to Magento\Framework\Exception\InputException::__construct() must be an instance ...
0
votes
2answers
112 views

Delete orders by store

I am tidying up old sites from an EE installation (1.12) I need to clear the orders from the site as well, static blocks and pages have been easy enough to sort with SQL. I want to do the same to ...
1
vote
2answers
2k views

Magento 2: Delete data in custom module

I need to delete my custom table data, I tried below code, but its not works for me. my table: test_id product_id testing 1 15 12345 my code: try{ $model = $this->...
0
votes
1answer
860 views

How to remove Tier Price programatically in Magento 1.9?

I want to update tier price for a simple and configurable product. I have only one type of tier price with Customer Group - Wholesale, Qty - 1, Price -10 Now I want to update tier price and for ...
0
votes
1answer
292 views

onclick button all products deleting instead of one product

We are displaying Products in My account section & gave an option to add product to cart once user click on Add to cart. now we want to provide an option to delete the products once we click on "...
2
votes
2answers
2k views

How to delete a custom table entry by clicking a delete button in a phtml file in Magento 2?

Fetched details from my custom module and displayed it in a table. There is a delete option give to corresponding row entries. The above table codes written in a phtml page. How to delete the db ...
0
votes
2answers
475 views

How to delete products from frontend using object manager in magento 2?

I want to delete the products from frontend side, but using object manager. I does not want to using any registry object.
0
votes
5answers
2k views

How to delete an order programatically in Magento 2?

How can we delete a Magento2 order programatically? There's ways to do this in Magento 1.X. Is it the same methodology for Magento2 as well?
0
votes
0answers
258 views

Redirection issues of cart and wishlist when remove item in magento 1.9?

I have an issue like, I have multiple items in cart or wishlist but once I remove any item from it, it will redirect to Home Page not on the same page (This issue will occur on my live site). But On ...
0
votes
1answer
472 views

Magento2 Product you've requested does not exist

I've deleted product from backend. Now I'm loading product in batch by using productRepository in helper. In that process I've that deleted product Id so when ever process comes to following line ...
0
votes
1answer
492 views

Magento 2: Issue while Delete Invoice Programmatically

I have below code $orderId = 1; $_objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $this->order = $_objectManager->get('Magento\Sales\Model\Order')->load($orderId); $...
1
vote
1answer
3k views

How do I delete a customer account programmatically in Magento2 CE?

Version: Magento 2.1.0 I run the following codes in my controller and got error: $customer = $this->customerFactory->create()->load($id); $customer->delete(); Error: Exception #0 (...
0
votes
1answer
92 views

I can not delete or modify a product category

I have a problem with magento 1.9.1.0; I can not delete or modify a product category. I look on the net but I have not found anything. Can you help me?
1
vote
1answer
2k views

update.log is 64 GB, can I delete it? [duplicate]

My update.log in /var/log is 64 GB. Can I delete this file or is there another way to prevent the file becoming this big?
4
votes
2answers
4k views

Truncate table using resource model in Magento 2

I have a custom module and i want to add remove every data including the increment id, using resource model in magento 2, i've read the solution in here but this is for magento 1, i'm not sure how to ...
0
votes
2answers
44 views

“Invalid backend model specified: auit_editor/customer_attribute_backend_groups” after deleting AuIt_Editor module

I've just removed the AuIt_Editor module and now when I try to log in (or create a new account), I get the following error: Invalid backend model specified: auit_editor/...
2
votes
2answers
391 views

how to remove “Powered by Searchanise” from the search bar

I am building the magento ecommerce website named "bookslab.in". I want to remove the "Powered by Searchanise" from the search bar of my magento site. I had attached the screenshot of which section i ...
1
vote
1answer
2k views

Magento2: How to remove created eav attribute for which is added through InstallData

I have created one product attribute which is not implemeted correctly giving error while add new product in admin , so I want to remove it , I have uninstalled , deleted the module but attribute is ...
0
votes
1answer
228 views

How to add a delete button/icon for each product in the compare page? [closed]

How can I add a delete function for each product on product compare page? For example, if I added three products and click compare, then decided to remove any one of the products by clicking on a ...
2
votes
5answers
3k views

Delete Product Magento 2

I want to delete products by sctip. They way I am doing it for test : if(!empty($products)) { foreach($products as $_product) { $sku = $_product->...
7
votes
5answers
9k views

How to delete a product in Magento-2 programmatically?

I am trying to use below code but it is not working, $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $product = $objectManager->create('\Magento\Catalog\Model\Product'); $...
1
vote
2answers
1k views

Delete all orders older than specific date by db query

I need to delete about 7500 orders and keep the orders from 26.08.2016 and onward. I would like to do it through db query. Is it possible or I have to stick with admin panel?
1
vote
0answers
541 views

Magento 2: Custom Module Listing MassDelete Not working [SOLVED] [closed]

When i'm trying to delete all records from Listing, By selecting all. Not able to delete. app\code\Custom\Module\Controller\Adminhtml\Messages\MassDelete.php namespace Custom\Module\Controller\...
2
votes
1answer
518 views

What is the best event to be fired when adding and deleting a free product in Magento 2?

I want to add product Y to cart with product X and want to delete product Y when product X is deleted.(both should be worked automatically). For this purpose what will be the best event to be fired??
0
votes
2answers
674 views

Magento 2 Custom Module Delete Issue [SOLVED]

I'm using Magento 2 Version 2.1.0 {folder path}\magento2\app\code\Custom\Module\view\adminhtml\ui_component\custom_module_index.xml <massaction name="listing_massaction"> <argument name=...
0
votes
3answers
97 views

Products are not deleting from backend

When we tried to delete products from backend, we got this error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'product_id ' in 'where clause' We tried reindexing, still it didn't work for ...
0
votes
2answers
264 views

How to mass delete products from disabled categories?

I have a lot of products that are part of disabled categories. Is there a way for me to delete them all? I want to tell it the ID of the category and then delete all the products under that category. ...
2
votes
1answer
674 views

The difference of “remove product links” in cart and minicart (rwd theme)

Looking at the remove product links I found two different below codes: In .../checkout/cart/item/default.phtml <a href="<?php echo $this->getDeleteUrl() ?>" title="<?php echo Mage::...
6
votes
1answer
294 views

What are the footprints a magento module can leave in the magento system?

I installed a module/extension but it does not work well for our needs. I want to completely delete the module with all its footprints. I removed the following: code pool - deleted the folder ...
1
vote
1answer
3k views

can not able to delete the images of products

I want to delete the uploaded images. what i tried is I went to backend and than go to catalog > Manage products, i opened single product and went to Images section. i checked on checkbox below ...
1
vote
1answer
610 views

How do I trigger on customer delete event

I am trying to triggering my function using the event customer_delete_before. Here is what I wrote in the config.xml: <customer_delete_before> <observers> <...
1
vote
2answers
2k views

Magento2 - How to remove item from wishlist?

I want to remove an item from wishlist in magento2 with wishlist id or wish list item id, how can do that ?
1
vote
2answers
1k views

Manually remove a product from the database

I have a product in the database that was created using an extension installed on a previous magento (1.6.2) installation (to the one I am running currently - 1.9.2). The extension is no longer in use,...
2
votes
1answer
2k views

How can i delete products from specified category [duplicate]

How can i delete products from specified category by using database or control panel of the magento.
6
votes
5answers
16k views

Magento 2: Delete magento product attributes?

How do you delete created product attributes in Magento 2? I can't get rid of it. I have couple of Magento product attributes which not needed
0
votes
1answer
352 views

What Happens to Redirects if Product Deleted in Magento

I have 10's of thousands of disabled products on my site (inherited from previous owner) that I will never use again. There are redirects set up on most of them already, but I want to delete them as ...