Questions tagged [delete]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
97 views

Delete products is not working inside table, but working fine outside

we are using following code to "Delete Products" <form action="<?php echo $this->getUrl('marketplace/marketplaceaccount/massdeletesellerpro') ?>" method="post" id="formmassdelete" name="...
2
votes
3answers
957 views

Unable to delete tax rate

Whenever I try to delete a tax rate, I get below error message. Tax rate cannot be removed. It exists in tax rule I checked there is no tax rule in admin. I have deleted all tax rules. UPDATE I ...
0
votes
2answers
130 views

Deleting all products in Magento store

For Magento ver. 1.9.1.0 Never used PHP before, the website I'm working with wants all products deleted. There are about 6000. I believe you make a php file with the code that deletes the products, ...
0
votes
1answer
86 views

Delete a product from the cart when a user log in

My magento has two warehouses, and the cart cannot have two products with different warehouses. I check this with an observer. But, I have a problem: A logged user has in his cart a product with the ...
2
votes
2answers
2k views

Magento 2 How to remove the delete option on magento/admin/catalog/product/index

which files should I edit to remove the delete option at action drop-down menu? I've tried to remove $this->getMassactionBlock()->addItem( 'delete', [ ...
1
vote
1answer
980 views

How to restore an order status value that has been previously deleted in Magento Admin Interface?

I accidentally deleted an order Status which I need to recover but I don't know how. The following image below shows the statuses before I deleted one. The second image below shows the statues as ...
0
votes
1answer
400 views

Delete Product Images For Products That Are Disabled

Is there a way to delete all images for products that are set as disabled? It's just a lot of my products that are disabled are taking my storage space up on my server. I'd just like to be able to ...
1
vote
1answer
712 views

Where is function for delete address from admin of customers

I want to know function logic location, when customer address is remove from admin section. The cross button is present in "Addresses" tab in left navigation of Customer Information. After click ...
2
votes
1answer
610 views

Where is function for remove image from admin of product

I want to know function logic location, when product image is remove from admin section. The checkbox is present in "images" tab. After check checkbox of images in "Remove" column and hit save or save ...
1
vote
3answers
493 views

Where is function location of mass delete orders

I am working on my module.I want to know location of function which is call when orders are deleted from admin after select check box and then select Delete action and hit Submit.
0
votes
2answers
336 views

Which function is called when customer is deleted

I want to know location of function when customer is deleted from: Multiple customer selected and select delete action on "Manage Customer" page. Delete single customer from "Edit Customer" page.
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?
1
vote
1answer
452 views

Products deleted after Attribute set was deleted

Well, this is what happened: I created a new Attribute set called "Nuevos Productos", then I added 20 products to that set. After that, I deleted the set by mistake and all the products were deleted ...
1
vote
2answers
980 views

Removing the Bulk Delete Option from magento Catalog

I want to remove "Delete" action from magento admin panel. Please guide.
0
votes
1answer
124 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?
1
vote
0answers
273 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
858 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
1answer
159 views

Delete old data before migration [duplicate]

We did an export of some old transactions, products and categories some time back. However there have been multiple updates to the data so a new export is required. In order to do so we need to way ...
1
vote
1answer
208 views

SQLSTATE[HY000]: General error issue

Whem i am trying to fetch sql query in my magento's controller it's display this error SQLSTATE[HY000]: General error HERE is my code $connection = Mage::getSingleton('core/resource')->...
2
votes
3answers
6k views

How to Delete All Products Within a Category

Main Question How can I delete all products within a specific category? Detailed Version: My goal is to remove the products and product images completely from my store inventory. I plan to use the ...
5
votes
1answer
126 views

Magento extension uninstall hook

Is there any way to get a magento extension uninstall hook,the problem is that if user will uninstall my module then some dependent modules will become unstable so i want to show him a notification ...
1
vote
2answers
2k views

Delete multiple store views programmatically

I am trying to delete multiple store views using a php script that includes app/Mage.php in the root of my installation. I am able to get the list of websites and store views but I need to somehow ...
0
votes
1answer
2k views

How to delete custom customer attribute?

I added some attribute for customer entity. This causes some error on checkout page. That I described in other question. Getting validation error on checkout billing tab for custom attribute How can ...
16
votes
3answers
2k views

Uninstallation Module

I have created an extension that creates a category attribute when installed first time. But now when I disable/Uninstall the extension, I get an error message on "Manage Categories" page. I know ...
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 ...
1
vote
1answer
928 views

Is it possible to update or delete the order items from the order with out creating the new order?

In my case, an order should be modified after the review. Order items can be removed or quantity will be modified from the order. I knew the Re order would the do the purpose by manually deleting the ...
0
votes
1answer
1k views

Delete configurable products with associated products programmatically

How can I delete a programmatically created configurable product with it's associate products?
0
votes
1answer
595 views

Delete cross-sell links programmatically

I have a problem concerning the cross-sell links. I'm building a custom module and I need to add and delete cross-sell links according to a product. I know how to create the cross-sell links using: $...
2
votes
0answers
267 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
2answers
2k views

Fatal error: Call to a member function delete()

I want use the code, but i get a error: "Fatal error: Call to a member function delete() on boolean in …" The code: public function _del() { umask(0); Mage::app(); Mage::app()->...
8
votes
4answers
15k views

Cleaning up Magento installation: Which files & folders can be deleted?

I want to make some space on disk and clean What file & folders are safe to delete? I found /media/import/ files are safe to delete Deleting files and folder effect performance too? Is it ...
0
votes
1answer
469 views

Error with the urlDecodeAndEscape and to delete an item from the cart

When I delete an item from my cart (I clicked on X) I have this error: Fatal error: Call to undefined method Mage_Core_Helper_Data::urlDecodeAndEscape() in /var/www/vhosts/mywebiste/httpdocs/app/code/...
3
votes
2answers
2k views

Can i delete images left in media/import/ folder

Once i have imported my product images from the media/import folder in magento - is it safe to delete them from that folder? I want to delete them to save disk space but want to make sure deleting ...
1
vote
1answer
259 views

Magmi product deleter does not delete attributes? [closed]

I use Magmi Product deleter for deleting products from Magento 1.8. The plugin has a function removeFromFlat() to delete all records of the product from the catalog_product_flat_% tables. What is ...
5
votes
1answer
847 views

how to delete catalog price rule after order placed ?

i want to delete catalog price rule after order placed how to delete catalog price rule after order placed help of event observer Method
0
votes
2answers
8k views

How to remove invoice, shipment and creditmemo from Admin grid in magento1.9.0.1 programmatically

I want to delete order programmatically. So I want to delete sales order from sales->orders grid as well as sales->invoices grid, sales->shipments grid. For that, I got a link here These site'...
0
votes
1answer
477 views

What tables are affected when calling catalog/product delete in Magento

Background: I have inherited a rather large import routine running as a custom Magento module. It deals with importing products, categories, images, accessories, associations, etc....pretty much ...
3
votes
4answers
1k views

How to delete product without 404

I have some products I want to delete from my website. It means I don't want them in catalog nor in search results. In the same time I don't want 404 error page for these url products. Best solution ...
1
vote
2answers
319 views

What event is called when an admin user is deleted

I want to call an observer function whenever an admin user is deleted. Could please tell me if there is any event called?
1
vote
1answer
2k views

Remove Mass action from Sales/Order Grid

I need to remove a few options from the Admin/Sales/Order Actions list. I do not want to edit the core files in Magento Right now when I click on the drop down list Actions in the top right corner of ...
0
votes
1answer
842 views

Delete store view programmatically

I'm using Magento 1.7.0.2 How can I delete store view by id programmatically?
0
votes
3answers
3k views

Removing products from your cart

Currently the only way to remove a product on the cart page is if you enter 0 in the quantity field and click update shopping cart. Is there any settings I can enable or extension I can use to add a ...
0
votes
1answer
837 views

Delete 'Up-sells' link from Magento Backend- Catalog - Manage Products - Product Information - Up-sells

Magento 1.9.0.1, After numerous attempts to remove this link via files in the Mangento file system I'm at a total loss as how to proceed. I have attempted to comment out lines of code in .php files, ....
2
votes
3answers
2k views

Delete products from order programmatically

I use Magento CE 1.8.1.0 and I have developed a php script that can delete a product from an order. After the product is deleted the value of the order is the same. How can I reduce the order value ...
2
votes
4answers
4k views

Bulk item delete via csv

i am a newbie in magento so dont know much about coding and scrippts, my problem is i have list of SKU's which are end of line now and has been replaced with new products. i want to delete them so i ...
5
votes
4answers
2k views

Issue with quote (wrong items_count): not possible to delete products

For some of the products I got the following error while trying to delete them using the backend: SQLSTATE[22003]: Numeric value out of range: 1690 BIGINT UNSIGNED value is out of range in '([DB].q....
2
votes
2answers
6k views

How do I delete products in magmi

I have been using magmi to import products in bulk, but now need to delete some of them. How can I do this?
0
votes
1answer
387 views

Problems with reset Magento orders [closed]

I applied commands to my database in SSH (Putty) and my problem is solved. But a number of commands are in error: ERROR 1701 (42000): Can not truncate a table referenced in a foreign key constraint (...
0
votes
1answer
3k views

What is the best method to delete sub stores from Magento?

So we have a Magento setup with 1 main store and 48 sub stores. For a multitude of reasons we now want to reverse a lot of work quickly and essentially delete these 48 sub stores systematically. We ...
0
votes
1answer
1k views

Delete Cookie in Magento on Browser Close

I had stuck issue.I had created one cookie but my client needs this cookie should be deleted when the browser is closed. I had tried many links on the google but not got solution. Please Help Me. ...