Jump to content

Prestashop not updating cache_has_attachments after selecting existing attachment on product


bookerT

Recommended Posts

Hi,

I've got a problem with my Prestashop installation (version 1.7.2.4). 

Whenever i try to assign an existing attachment to a product and save it tells me "Settings updated.", but when i go in the frontend product page there are no attachments. I've looked around for a little bit and found that the attachments are shown only where the column "cache_has_attachments" in the product table is already set to 1.

The main problem is that it should update this value from 0 to 1 when i add attachments, but it stays to 0.

Doing an SQL query to update the values only solves my problem partially,  because I often need to add new products and add attachments.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...