Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2010
    Location
    Canton, MA
    Posts
    12
    Plugin Contributions
    0

    Default Can I delete all the items that do not have an image?

    Is there a way I can delete all the items that do not have an image. I know this is a tricky one as when I added them with easy populate I did have a link to the image, but no image actually exists on the products I don't carry. I was hoping there was an easier way than having to make a list and go through manually.

    Thanks in advance.

  2. #2
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Can I delete all the items that do not have an image?

    Quote Originally Posted by cpardy View Post
    Is there a way I can delete all the items that do not have an image. I know this is a tricky one as when I added them with easy populate I did have a link to the image, but no image actually exists on the products I don't carry. I was hoping there was an easier way than having to make a list and go through manually.

    Thanks in advance.
    Wondering if image Manager: http://www.zen-cart.com/downloads.php?do=file&id=999 might be able to help. If at least the database entry could be updated to not have a path to an image, for items missing an image, then either as you said EasyPopulate or a sql statemment could be used to remove all of those products that don't have an image.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Sep 2010
    Location
    Canton, MA
    Posts
    12
    Plugin Contributions
    0

    Default Re: Can I delete all the items that do not have an image?

    This is how I managed to do it. First, which was the tedious bit was looking up the model names of the missing files. I then went through my Excel file and put a 9 in the Status column and the Updated the database using easy populate. It took Much less time than manually doing it.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Can I delete all the items that do not have an image?

    For future reference there are some utility plugins that can aid with similar maintenance:
    - Missing Image Checker - http://www.zen-cart.com/downloads.php?do=file&id=1887
    - Image Purge Utility - http://www.zen-cart.com/downloads.php?do=file&id=1690
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. v151 Problem is items that i can't delete
    By Dashizna in forum General Questions
    Replies: 13
    Last Post: 29 Apr 2014, 06:03 PM
  2. Replies: 5
    Last Post: 8 Apr 2009, 08:04 PM
  3. Can't delete image because it's not in the admin
    By katandmouse in forum General Questions
    Replies: 1
    Last Post: 8 Aug 2008, 03:46 AM
  4. One delete button to delete all checked items from cart
    By gsdcypher in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 5 Jul 2007, 04:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg