Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [delete]

The tag has no usage guidance.

1
vote
0answers
15 views

Delete Product Custom Option value if it is null in magento 2

I wish to delete the custom options value of a product if it is null without deleting the option. Please provide me a solution to delete it without affecting the option
1
vote
2answers
27 views

Deleting Products Order history?

How can I Delete test order history from my Magento 2 Admin Panel?
0
votes
1answer
32 views

Delete Multiple Tax Rates in Magento 2

I have a number of redundant Tax rates (539 when I only need 269) in Magento 2.2.7 and I'd like to remove them. Is there a way to do this that doesn't involve going into each one and clicking the "...
0
votes
0answers
31 views

How do i delete email on my registration form

I Have Email on my Registration screen and wanted to delete it, and i just wanted to use phone number for login purpose (already have the phone number Module, and added it to registration field). Can ...
0
votes
1answer
21 views

After Revert Magento Extension Order Page Not Working

After deleted installed extension files order page not working. My order page return Blank page. Log Error : exception 'Mage_Core_Exception' with message 'Invalid block type: ...
0
votes
1answer
27 views

Sales order history : remove tab

In xml, how can I remove tab of order in sales/order/history? Can't find the referenceBlock I just need to remove this tab, not the link. To be precise, I'm using an API that will replace this table. ...
0
votes
1answer
66 views

Exeption on massAction delete

It's my massAction controller: <?php /** * Created by PhpStorm. * User: pkushnerevich * Date: 19.10.18 * Time: 18.20 */ namespace Aty\TestTask\Controller\Adminhtml\AddedList; use Magento\...
1
vote
1answer
18 views

Getting Error messages when trying to delete CC numbers via phpMyAdmin

Magento 1.9.1 Porto theme I am now trying to delete stored credit card numbers from our database using phpMyAdmin as per my question here: How to purge (delete) credit card numbers stored on ...
0
votes
1answer
89 views

After deleting wishlist item programmatically from my Api call It is still visible in frontend magento2?

This is my code: $wishlistIds = $this->_checkoutSession->getWishlistIds(); $wishlist = $this->_wishlist->create()->loadByCustomerId($this->_customerSession->getCustomerId(), true)...
0
votes
1answer
120 views

How to delete all orders

Hello i want to delete all order from magento 2.2.5 i used that code but it didnt work... any advice? SET FOREIGN_KEY_CHECKS=0; # Clean order history TRUNCATE TABLE `...
0
votes
1answer
90 views

Magento 2 - How to remove/unset all categories from a product using plugin?

I am trying to remove/unset all categories from a product using below code. It's working with Magento 2.1 but not with Magento 2.2. How can we do this? app/code/Vender/Module/etc/di.xml <plugin ...
1
vote
2answers
139 views

How we can delete Magento 2 order programmatically? [duplicate]

I want to delete orders and associated data from my store programmatically. Share any idea, How can we do that?
3
votes
1answer
49 views

Magento 2.2.5: Idea about delete “Banner_Slide”

i'm doing "Banner Slider" and looking for how to delete column in banner_slide. Its hard to explain. So just look in my example: So this is what i've done til now. A banner which contain 3 slide. ...
1
vote
0answers
17 views

How to delete all stored Credit card #'s except the ones from within the last month?

Magento 1.9.1 Porto theme We have credit card numbers stored. We need to delete them (for security reasons) but we would prefer to keep the numbers from within the last month just in case there be ...
0
votes
0answers
14 views

Products are automatically being removed en masse

Problem: Products are being deleted en masse on schedule Details: I am programmatically creating products. They're assigned an attribute set as well as all other required fields. They appear on ...
0
votes
3answers
1k views

Delete product from Magento 2

I want to know how to delete product from Magento 2.2.4 in the admin store? I don't find the section and all answers I found on internet are with PHP code.
1
vote
2answers
161 views

How to delete color attribute option by using label in Magento 2?

Can we delete product attribute options by using label? For example say attribute:color has options like green, red, yellow how to delete red from this? I used below code. $objectManager = \...
0
votes
0answers
32 views

Magento 1.9.3.8 cannot remove product

I want to remove a product from a Magento 1.9.3.8 store. But when deleting the product I get the following error: SQLSTATE[HY000]: General error: 1033 Incorrect information in file: './magento/...
0
votes
0answers
18 views

magento1 bombing out

I wish to clear out orders older than 6 months. Go to> admin > sales > orders > and set the dates to show all orders I wish to delete > select all. Then in the actions drop down > select ...
0
votes
0answers
53 views

Deleting the user account from the Front-End “user profile” directly is missing the success/error message

I have customised the Front-End user account in such way so the user can delete his account directly (if it is not a professional account!), without sending a request to the admin and having to wait ...
0
votes
1answer
251 views

Cannot delete products in magento 2 admin. Catalog > Products: Grid

I check the box of the product that I want to delete and then use actions dropdown and select delete. Afterwards i get an exception error. 1 exception(s): Exception #0 (Magento\Framework\...
0
votes
0answers
134 views

magento2 V1/carts/mine api deleting disabled products from cart

In Magento2 EE I am using "V1/carts/mine" API to get Quote id. But this API deleting disabled products from cart. How to stop that default deleting functionality?
1
vote
1answer
175 views

Magento2 : massdelete is not working

I have created a custom module with ui_component grid, below is my grid xml file : ... <massaction name="listing_massaction"> <argument name="data" xsi:type="array"> <item ...
3
votes
1answer
232 views

Magento : How to Alter Delete Confirm Message?

I want to alter the message of delete confirm in custom extension and I don't know how. Someone can help me? DutyController.php class Nothing_Duty_Adminhtml_DutyController extends ...
0
votes
2answers
362 views

magento2 : retrieve images path of a product programmatically?

I'm using this code to retrieve all products "out of stock" and export them in a csv so I can use the "import" tab (behavior delete) to clean old products. $productCollection = $obj->create('...
1
vote
1answer
37 views

Updating rotating banner on e-commerce homepage

I have Two questions: 1) I am trying to update the images of my e-Commerce rotating banner homepage. I went to the developer’s page, uploaded a new image, enabled it, and disabled the previous demo ...
0
votes
4answers
883 views

Delete test orders Magento 2

I've done some orders through Magento however I want to remove them now from Sales page to clean it up. I need to remove only test orders, there are also some real order which I don't wish to remove. ...
2
votes
2answers
3k views

How to clear cart and minicart programatically in Magento 2?

How to clear cart and minicart programatically in Magento 2?? I am using this code $quoteId = $this->_checkoutSession->getQuote()->getId(); $quoteModel = $this->objectManager->create('...
0
votes
0answers
1k views

How to remove all associated quote objects of a customer completely

I found out I have some quote objects* that have some invalid data or item data that cause a huge lag every time a customer tries to add items to cart or view cart. *quote object: database records ...
0
votes
1answer
376 views

Customer Deleted; No backup;

My client had deleted all customer accidentally. And unfortunate we don't have any backup. Any way to recover a customer and their history order?
2
votes
0answers
83 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
434 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
283 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
323 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
40 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
729 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
390 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
48 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
75 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, ...
1
vote
1answer
1k 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
196 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
1k 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
412 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
45 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
87 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
1k 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
601 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
213 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
1answer
1k 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 ...