Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

Покупатели на страниэто аккауни в истории заказов видят чужие заказы


 Share

Recommended Posts

4 минуты назад, alekstf сказал:

В каком плане?

SELECT o.order_id, o.firstname, o.lastname, os.name as status, o.date_added, o.total, o.currency_code, o.currency_value 
FROM `" . DB_PREFIX . "order` o 
LEFT JOIN " . DB_PREFIX . "order_status os ON (o.order_status_id = os.order_status_id) 

WHERE o.customer_id = '" . (int)$this->customer->getId() . "' 


AND o.order_status_id > '0' AND o.store_id = '" . (int)$this->config->get('config_store_id') . "' AND os.language_id = '" . (int)$this->config->get('config_language_id') . "' ORDER BY o.order_id DESC LIMIT " . (int)$start . "," . (int)$limit);



o.customer_id = '" . (int)$this->customer->getId() . "'

вот смотрите...

 

Link to comment
Share on other sites

6 minutes ago, chukcha said:
SELECT o.order_id, o.firstname, o.lastname, os.name as status, o.date_added, o.total, o.currency_code, o.currency_value 
FROM `" . DB_PREFIX . "order` o 
LEFT JOIN " . DB_PREFIX . "order_status os ON (o.order_status_id = os.order_status_id) 

WHERE o.customer_id = '" . (int)$this->customer->getId() . "' 


AND o.order_status_id > '0' AND o.store_id = '" . (int)$this->config->get('config_store_id') . "' AND os.language_id = '" . (int)$this->config->get('config_language_id') . "' ORDER BY o.order_id DESC LIMIT " . (int)$start . "," . (int)$limit);



o.customer_id = '" . (int)$this->customer->getId() . "'

вот смотрите...

 

Специально нет, последний усиновленный модуль был:

Настройка Личного кабинеи покупателя / Smart Customer Dashboard, хотя я его выключаю, но ничего не меняется
Link to comment
Share on other sites


  • 2 weeks later...
В 10.06.2021 в 12:57, alekstf сказал:

Покупатели на страниэто аккауни в истории заказов видят чужие заказы. Как это исправить?

 

Полулилось решить?

Link to comment
Share on other sites


  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.