How to Delete Products in VirtueMart for Joomla 2.5

Joomla 2.5 has reached its end of life as for 12/31/2014. Please be advised this may be a security risk to your website. You can view more information about the end of life here.

In our last article, we showed you how to delete product categories in VirtueMart for Joomla 2.5. We are doing this because we are removing the test products and product categories that were included with the VirtureMart sample data. As you can see in the screenshot below, even though we deleting their categories, we still have a few sample products showing up. In this VirtueMart tutorial, we will show you how to delete products.

products-we-dont-want-are-showing

How to delete products in VirtueMart:

  1. Log into your Joomla Dashboard
  2. In the top menu, hover over Components and then click VirtueMart
  3. Click the Products icon
    click-the-products-icon-in-virtuemart
  4. Place a check in the box next to each product that you want to delete. Then click Delete in the top right menu.
    check-and-delete-products

    Please note that when deleting products that have children, you first have to delete the children products first and then delete the parent products. If you try to delete a parent product first, you will receive an error message similar to:

    vmError: Attention product is parent, please delete the children first
    Product could not be deleted.

    After deleting products, you will see a message similar to:
    Product successfully deleted.

  5. When you visit your store again, you will no longer see any of the deleted products shown!
    no-old-products-are-now-showing

Thoughts on “How to Delete Products in VirtueMart for Joomla 2.5

    • Unfortunately, I am unable to locate a specific cause for this error. Try replacing your VirtueMart core files to see if that helps. If not, you may want to reach out to the VirtueMart forums for more information.

  •  not able to delete product i am getting this error

    • vmError: checkAndDelete
    • vmError: checkAndDelete
    • vmError: Product delete
    • vmError: checkAndDelete
    • vmError: Product delete categories
    • vmError: checkAndDelete
    • vmError: Product delete prices
    • Product could not be deleted.
    • It appears that users are getting this error on some versions of VirtueMart. Could you clarify what specific VirtueMart version you are running?

Leave a Reply