Code: Select all
if ($customer_query->num_rows) {
$this->db->query("delete FROM " . DB_PREFIX . "cart WHERE customer_id = '". $customer_query->row['customer_id']."'");
Code: Select all
if ($customer_query->num_rows) {
$this->db->query("delete FROM " . DB_PREFIX . "cart WHERE customer_id = '". $customer_query->row['customer_id']."'");
Small Business Joomla! Website Design - Simple CMS Design
http://www.simplecmsdesign.com
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Small Business Joomla! Website Design - Simple CMS Design
http://www.simplecmsdesign.com
Code: Select all
catalog/controller/account/logout.php
Code: Select all
$this->cart->clear();
Code: Select all
$this->customer->logout();
Small Business Joomla! Website Design - Simple CMS Design
http://www.simplecmsdesign.com
Users browsing this forum: No registered users and 272 guests