Check Abandoned Cart Hook
amerta / Check Abandoned Cart Hook
Check Abandoned Cart Hook
Title
Check Abandoned Cart Hook
Description
This hook checks if a cart has expired and marks it as abandoned if necessary. The hook is triggered before a change is made to a cart document and updates the status based on the expiry date.