Quote Originally Posted by carlwhat View Post
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.
Yes I got it to working in the end.

I did end up using a auto loading observer.
and just now tied up by removing the DB_PREFIX and ctgvzfpjxs (which is the DB was not sure why i had put it in .
as to $paramsArray i had changed this buy i could not just use the get product id because i have to do some if statements to take in to account some option controles I have give to customer to contral there wishes.
So now my customer have products they have view in the past offered to them in different places on my site.