Why or When does Hikashop decide to delete a products and/or variant image file?

  • Posts: 135
  • Thank you received: 5
5 years 9 months ago #295384

-- HikaShop version -- : 3.4.1
-- Joomla version -- : 3.8.10
-- PHP version -- : 5.6.3
-- Browser(s) name and version -- : Chrome 67.0.3396.79 (Official Build) (64-bit)
-- Error-message(debug-mod must be tuned on) -- : No error message

Hi,

I keep having to FTP my images files back into the hikashop /upload directory.
For some reason, I am not sure, Hikashop keeps deleting certain images.

I had 3 test products Red, White & Black each have 162 variants.
I deleted these product, so I could test the import facility, and those 3 png files in every Variant disappeared, but left the other 15 variants in the directory?

Why does it do this ?

Doesn't make sense.

Any help would be appreciated.

MSF

Please Log in or Create an account to join the conversation.

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
5 years 9 months ago #295402

Hi,

Each time you delete a product, HikaShop will check if the images of the product are used for any other product. If not, the image will be deleted in order to save space.

If you don't want that, then you need to add an entry with the namekey keep_category_product_images and the value 1 in the hikashop_config table via your PHPMyAdmin.

The following user(s) said Thank You: markfell

Please Log in or Create an account to join the conversation.

Time to create page: 0.054 seconds
Powered by Kunena Forum