Ok, so last week I ran into the issue of not being able to downloading a product image using WSI. I don't have the source code so I can fix the issue.
Now, I've run into another issue.
In writing my internal commands to remove a product from the store I found out that I can not delete product images, or product multiimages.
returnsCode:<AspDotNetStorefrontImport Version="9.0"> <Product Action="Update" ID="1496"> <Images> <Icon Delete="true" /> <Medium Delete="true" /> <Large Delete="true" /> <MultiImage> <Icon> <Img Delete="true" Index="1" /> <Img Delete="true" Index="2" /> <Img Delete="true" Index="3" /> <Img Delete="true" Index="4" /> <Img Delete="true" Index="5" /> <Img Delete="true" Index="6" /> <Img Delete="true" Index="7" /> <Img Delete="true" Index="8" /> <Img Delete="true" Index="9" /> <Img Delete="true" Index="10" /> </Icon> <Medium> <Img Delete="true" Index="1" /> <Img Delete="true" Index="2" /> <Img Delete="true" Index="3" /> <Img Delete="true" Index="4" /> <Img Delete="true" Index="5" /> <Img Delete="true" Index="6" /> <Img Delete="true" Index="7" /> <Img Delete="true" Index="8" /> <Img Delete="true" Index="9" /> <Img Delete="true" Index="10" /> </Medium> <Large> <Img Delete="true" Index="1" /> <Img Delete="true" Index="2" /> <Img Delete="true" Index="3" /> <Img Delete="true" Index="4" /> <Img Delete="true" Index="5" /> <Img Delete="true" Index="6" /> <Img Delete="true" Index="7" /> <Img Delete="true" Index="8" /> <Img Delete="true" Index="9" /> <Img Delete="true" Index="10" /> </Large> </MultiImage> </Images> </Product> </AspDotNetStorefrontImport>
But the images are not removed.Code:<AspDotNetStorefrontImportResult Version="9.0" DateTime="4/25/2011 1:18:12 PM"> <Item NodeType="Product" Name="" GUID="" ID="1496" ActionTaken="Update" Status="OK" Message="" /> </AspDotNetStorefrontImportResult>
Funny thing is that you can delete an image for an Entity without any problems.



Reply With Quote