Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

username user_id в профиле


TonyRealovich
 Share

Recommended Posts

Ах, да, только что зашел посмотреть на таблицу oc_costumer и понял. Спасибо!

В общем, мне нужна страница где будут данные

UniqueID=1279
Name=Bob
[email protected]
Это для привязывания авторизации форума vanilla.

Вот на этой странице детали: http://anton.shevchuk.name/php/embed-migration-integration-vanilla/

Link to comment
Share on other sites


  • 2 months later...
  • 8 years later...
  • 1 year later...

 

В 01.05.2020 в 13:01, sashamaximiv сказал:

Да, будет полезно, подскажите как вывести в профиле имя пользователя. спасибо

 

@sashamaximiv, если еще актуально, выше уже написали, какими методами можно получить эти данные. 

 

В 27.10.2011 в 01:57, afwollis сказал:

 

if ($this->customer->isLogged()) {
  $this->customer->getId(); // customer ID
  $this->customer->getEmail(); // customer email
}

или посмотрите тут:

 

/catalog/controller/account/edit.php

 

Только путь к файлу, где можно посмотреть методы класса Customer для 3 OpenCart другой:

system/library/cart/customer.php

Link to comment
Share on other sites


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

×
×
  • 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.