Questions tagged [delete]

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

Filter by
Sorted by
Tagged with
1
vote
2answers
92 views

how can I empty magento 2 orders, customer and products data reset to 1

how can I empty Magento 2 order customers products data to reset 1 how I can do this?? when i run in sql MySQL said: Documentation #1146 - Table 'magento_db.gift_message' doesn'...
0
votes
1answer
38 views

Addresses Delete not working in address book Magento 2.3

Add additional addresses to address book in magento 2.3 then Click on ' Delete Address' link in address book it redirect to 404 page and invalid url shows.
2
votes
1answer
75 views

How to create Delete function in My Order page

I want to add a new action in My Orders page that is Delete action How can I do that? Can anyone help me with this function?
1
vote
0answers
22 views

After deleting the cart items programmatically for customer and after adding new product, shipping methods not displaying using controller magento2

Hi @ll in my case after deleting all cart items of a customer and after that we are adding new product to the cart. This time new product shipping Methods("Sorry, no quotes are available for this ...
2
votes
1answer
34 views

In Magento 1 if i try to delete over 50 products the site crashes

Is there anyway to solve this rather annoying issue?
4
votes
1answer
54 views

How do i delete products which are not in a category?

our site has over 90,000 products which need to be deleted and are not in categories, but the products in the categories we want to keep, how do i solve this?
5
votes
2answers
81 views

How to Delete Quote item Based on the condition in magento 2

I have requirement like below. I need to read all quote items and their sku, against the custom table, If value matched, need to delete that quote item and update qty 1 for remaining items but this ...
0
votes
0answers
26 views

How to remove Edit and Delete button from mini-cart and cart page for specific product?

I want to remove edit and delete button from mini-cart and cart page for specific product only. How can I do this? Any help would be appreciated. Thanks.
3
votes
0answers
22 views

How to disable duplicated values options when adding new option of an attribute magento 2

I have set the attribute color as unque value but still can add same value and i have tried with an event catalog_entity_attribute_save_before but now he delete all the label and values please any ...
1
vote
4answers
101 views

Magento 2: Mass Delete PHP code not Working

I'm very new to Magento, i created a Mass Action for Delete i write this code in /EC/Downloads/view/adminhtml/ui_component/ec_downloads_items.xml <?xml version="1.0"?> <listing xmlns:xsi="...
0
votes
1answer
34 views

Magento 2 delete specific product categories

how can I delete specific categories for a product in Magento 2.Forex: I have a product with a,b,c categories, I have some conditions if the conditions meet my categories remains same but if those ...
0
votes
0answers
25 views

Magento 1.9.2.2 - CCSaved - Button to delete credit card information

I'm running Magento 1.9.2.2 and collect Credit Cards offline. Needless to say, I do not want to keep the credit card information indefinitely on the database. After the order ships, I would like to ...
1
vote
1answer
55 views

echo my sql query in magento

here is some minor question but it always bother me while doing the code with magento. $resource = Mage::getSingleton('core/resource'); $write = $resource->getConnection('core_write'); $table = $...
1
vote
0answers
25 views

how to fix 5.5.2 Syntax error. m189sm22281031qkf.2 - gsmtp in magento 2 email [closed]

controller delete.php <?php namespace Webkul\Mpquotesystem\Controller\Adminhtml\Managequotes; use Magento\Backend\App\Action; use Webkul\Mpquotesystem; class Delete extends \Magento\Backend\...
2
votes
0answers
68 views

Magento 2.2.5 - Delete all products and products images

I have a site with Magento 2.2.5, with thousands of products imported via Magmi v0.7.23-git with csv. I tried to delete all these products with the Magmi utility 'Clear Catalog v1.0.4', and then ...
2
votes
1answer
235 views

While trying to delete address its redirecting to 404 page in Magento 2

When I try to delete additional address in Magento 2 customer dashboard its redirecting to 404 Page. My URL format mentioned below. /customer/address/delete/id/13/form_key/xkTKVSSxqip79bZ1
1
vote
0answers
25 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
1answer
37 views

Deleting Products Order history?

How can I Delete test order history from my Magento 2 Admin Panel?
0
votes
2answers
199 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 ...
1
vote
2answers
394 views

How to delete object from collection in magento2

How to remove any object from magento 2 collection. If we have collection of products and we want to delete product which is at first index . how to delete that product without deleting it from ...
0
votes
1answer
22 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
41 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
137 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
23 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
141 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
171 views

How to delete all orders

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
257 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
248 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?
4
votes
1answer
55 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
21 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
3answers
3k 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
255 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
1answer
419 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\...
1
vote
1answer
290 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 ...
2
votes
1answer
305 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
1answer
465 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
43 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 ...
1
vote
3answers
2k 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
3answers
4k 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('...
1
vote
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
448 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
89 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
484 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
439 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
475 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
48 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
926 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
449 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 ...