Hi,
I installed this add on, I don't encounter any installation error.
I checked the DB tables as well.
When I test, by login into user account, it doesn't create an entry in xxx_cart_reminder table. The table always empty.
I suppose, it should execute the add_cart_reminder() and create an entry in that table upon user login, but it didn't insert any entry. I feel strange.
\includes\modules\page\login\header_php.php
Thoughts ?PHP Code:if (defined('CART_REMINDER') && CART_REMINDER == true){
include_once(DIR_WS_LANGUAGES . $_SESSION['language'] . '/' . 'cart_reminder.php'); //
/* Check to make sure customer isn't already in the table */
$sql = "SELECT * FROM " . TABLE_CART_REMINDER . " WHERE customer_id = :customersID";
$sql = $db->bindVars($sql, ':customersID', $_SESSION['customer_id'], 'integer');
$result = $db->Execute($sql);
if($result->RecordCount() == 0){
add_cart_reminder();
}
}
Regards,
Sky


Reply With Quote

