Questions tagged [delete]

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

39 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
34 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 ...
2
votes
1answer
37 views

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

Is there anyway to solve this rather annoying issue?
2
votes
0answers
74 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
0answers
94 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 ...
2
votes
1answer
656 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::...
2
votes
0answers
323 views

Batch Removing Broken Images from Magento

We just had a team mass import about 2500 products to our magento store and the only way they could do it from Zen Cart's Image Handler 2 plugin was to import 4 images for each product even if the ...
2
votes
0answers
265 views

Delete all orders and quotes of customers that do not exist anymore

On our testing environment we are constantly creating new customers and also (mass) removing them again, currently only having 12 customers. Now after a while our sales_flat_order (5038 rows) and ...
1
vote
0answers
12 views

Magento 2 Delete operation is forbidden for current area

I have tried to make the solution proposed at Delete operation is forbidden for current area magento 2 But without result I work in magento 2.3.2 with php 7.2 Please help me... Thank you.
1
vote
0answers
23 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 ...
1
vote
0answers
28 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
40 views

Deleting Products Order history?

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

Which tables can be truncated/deleted before doing a full reindex?

I'd like to re-index my whole catalog in magento after finding out some corrupt data exists within a few tables. This question/post on stackexchange helped me quite a bit in the good direction: https:...
1
vote
1answer
855 views

Delete all products and reset their Ids with least queries as possible

Can somebody suggest an intermediate way to delete all products in magento and reset their table's increment id to 1 without using multiple "truncate" queries found when Googling ? Magento version ce-...
0
votes
0answers
12 views

Magento2 : How to remove delete item button from cart page?

I want to remove delete item button from cart page. I am using below xml code to remove this but not working:- Path: app/design/frontend/vendor/theme/Magento_Checkout/layout/...
0
votes
0answers
12 views

How to restore images of deleted products via sql?

I am using magento 2.2 version , I was deleting few products from admin dashboard , at the time of deleting my site crashed due to server issue and because of that when site goes up I see that 8 ...
0
votes
0answers
39 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.
0
votes
1answer
35 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
37 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 ...
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
161 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
333 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 ...
0
votes
1answer
511 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('...
0
votes
1answer
464 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
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, ...
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());...
0
votes
1answer
666 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 ...
0
votes
0answers
254 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
476 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); $...
0
votes
1answer
89 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?
0
votes
2answers
634 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
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 ...
0
votes
1answer
54 views

Uninstall Magento module with a script

How do I uninstall a module completely, with it's files and tables, in Magento 1.7.0.2, with an automated script?
0
votes
1answer
121 views

Delete all product from one of storeviews

considering that I can not go to adminpanel--> catalog-->product page due to errors I have, how can I delete all products from one of my store views?