did you ever get this working?
it seems your observer is not loading. i would use an auto loading observer. review this info:
https://docs.zen-cart.com/dev/code/n...aded-observers
in addition, i am not sure why you have that DB_PREFIX define added in the extra files. it is not used in your observer, as well as looking wrong. from your code it seems your DB_PREFIX is ctgvzfpjxs.
finally for this line:
PHP Code:
VALUES (" . (int) $paramsArray . ", " . (int) $_SESSION['customer_id'] . ", now())";
for the notifier that you are observing, the $paramsArray is passing an integer. it is always passing (int)$_GET['products_id']. you can safely change that to:
PHP Code:
VALUES (" . (int)$_GET['products_id'] . ", " . (int) $_SESSION['customer_id'] . ", now())";
best.
Bookmarks