Announcement

Collapse
No announcement yet.

Flat File Delete Products and Variants

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Thanks, I will take a look at that.

    Comment


      #17
      Originally posted by Leanne View Post
      How are you all handling the removal of images associated with deleted products? I have a site that currently has 430 products to be deleted, and also has an extremely bloated graphics/00000001 folder that needs to be cleaned up. I'm leery of the Delete Unreferenced Images feature of Image Machine Management. How does it handle images that may be used in category headers or elsewhere on the site?
      It deletes them best practice of course is to create different ones...
      Mark Hood
      Vermont Gear

      Comment


        #18
        Originally posted by Leanne View Post
        How are you all handling the removal of images associated with deleted products? I have a site that currently has 430 products to be deleted, and also has an extremely bloated graphics/00000001 folder that needs to be cleaned up. I'm leery of the Delete Unreferenced Images feature of Image Machine Management. How does it handle images that may be used in category headers or elsewhere on the site?
        I'd love to know how that's handled as well. It would be great if the image uploader in Miva gave an option of two (or more) different destination folder locations - one for product images and one for other site images. That way users could more safely "Delete Unreferenced Images" without fear of accidentally losing header images, content page images, etc.
        Psydde Delicious
        Delicious Boutique & Corseterie
        Philadelphia, PA
        www.DeliciousBoutique.com
        www.DeliciousCorsets.com

        Comment


          #19
          Originally posted by Mark Hood View Post

          It deletes them best practice of course is to create different ones...
          Thanks for confirming. It's a bit of a conundrum as to which is worse: a bloated graphics/00000001 file, or giving store employees ftp access to upload non-product images into a different directory...

          Comment


            #20
            Originally posted by delcorsets View Post

            I'd love to know how that's handled as well. It would be great if the image uploader in Miva gave an option of two (or more) different destination folder locations - one for product images and one for other site images. That way users could more safely "Delete Unreferenced Images" without fear of accidentally losing header images, content page images, etc.
            Mark Hood has confirmed that it wipes the lot.

            As I understand it the ability to customize upload directories is coming, but it will be a while.

            Comment


              #21
              Originally posted by Leanne View Post

              Mark Hood has confirmed that it wipes the lot.

              As I understand it the ability to customize upload directories is coming, but it will be a while.
              For a different site I maintain I set up a "dummy" inactive product to upload images from the admin (no ftp access needed).
              It of course just adds to the graphics folder but they will not be deleted by the delete unreferenced process.
              Mark Hood
              Vermont Gear

              Comment


                #22
                Years later I'd like to circle back to this - is there a way to use a product flat file to mass/bulk delete products? I have 15592 product codes that need to be removed.
                Leslie Kirk
                Miva Certified Developer
                Miva Merchant Specialist since 1997
                Previously of Webs Your Way
                (aka Leslie Nord leslienord)

                Email me: [email protected]
                www.lesliekirk.com

                Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

                Comment


                  #23
                  lesliekirk You can do this via XML Provisioning.

                  HTML Code:
                  <Product_Delete code="existing_product_code"></Product_Delete>
                  The above code will delete a product when it is uploaded via Data Management "Import Data and Settings in XML Provisioning Format" option.
                  Nicholas Adkins
                  Technical Training Specialist / Miva, Inc.
                  [email protected]
                  https://www.miva.com/mivalearn

                  Comment


                    #24
                    Originally posted by Nick View Post
                    lesliekirk You can do this via XML Provisioning.

                    HTML Code:
                    <Product_Delete code="existing_product_code"></Product_Delete>
                    The above code will delete a product when it is uploaded via Data Management "Import Data and Settings in XML Provisioning Format" option.
                    Thanks Nick, I knew it could be done using the XML Provisioning Format - I was just wondering if a flat-file method was available. LOL, during the time I was waiting for an answer I was able to create a custom field, assign it, then use it to identify the products that needed to be deleted from the batch screen. Maybe not the "right" way, but it works for me
                    Leslie Kirk
                    Miva Certified Developer
                    Miva Merchant Specialist since 1997
                    Previously of Webs Your Way
                    (aka Leslie Nord leslienord)

                    Email me: [email protected]
                    www.lesliekirk.com

                    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

                    Comment

                    Working...
                    X