I've got a case where a logged in customer has a product that has been added to their basket but the product has subsequently been deleted from merchello. Now, whenever they log in and go to their account page or basket, they crash - I'm assuming because of the now non-existent product details.
I've look in the database and think all I need to do is delete the associated merchItemCacheItem records - is that right?
Are these heavily cached or anything too? Is there anything else I need to do to try and fix it?
Hey Trevor - you're correct. Deleting the record should clear that up. There is a validation task that is supposed to do that for you - did you comment it out for some reason or are you using an older version?
Deleted product exists in basket
Hi,
I've got a case where a logged in customer has a product that has been added to their basket but the product has subsequently been deleted from merchello. Now, whenever they log in and go to their account page or basket, they crash - I'm assuming because of the now non-existent product details.
I've look in the database and think all I need to do is delete the associated merchItemCacheItem records - is that right?
Are these heavily cached or anything too? Is there anything else I need to do to try and fix it?
Cheers Trevor
Hey Trevor - you're correct. Deleting the record should clear that up. There is a validation task that is supposed to do that for you - did you comment it out for some reason or are you using an older version?
Hey Rusty,
Yeah its an older version site 1.12.0. Thanks for the clarification.
Cheers Trevor
is working on a reply...