YePix Posted November 2, 2019 Share Posted November 2, 2019 Hello people, I would like to give time-limited release on certain products. I tried it with the following code but unfortunately it does not work. could someone please suggest something to me wi I could realize it? $pls_customer_query = tep_db_query("select * from " . TABLE_CUSTOMERS . " where customers_id = '" . $customer_id . "'"); $pls_customer = tep_db_fetch_array($pls_customer_query); $vip_expires_date = tep_date_long($pls_customer['expires_date']); if (date('yyyy-mm-dd', strtotime($vip_expires_date)) >= date('yyyy-mm-dd')) { xxxxxxx } Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.