support

Author Topic: hook fast loginn  (Read 9303 times)

natdroid

  • Guest
hook fast loginn
« on: April 12, 2021, 08:09:22 PM »
he there.
How do hook Authenticating login buttons in 1.3beta fast checkout?

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2068
  • Karma: +327/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: hook fast loginn
« Reply #1 on: April 13, 2021, 04:22:45 AM »
he there.
How do hook Authenticating login buttons in 1.3beta fast checkout?

Hi, good question.
Can you add some hookvariable into public_html/extensions/fast_checkout/storefront/view/default/template/responses/checkout/login.tpl
for example
<?php echo $this->getHookVar('login_extension'); ?> at the end of file

And then try to call $that->view->addHookVar('login_extension', '<button>custombtn</button>');
inside your hook onControllerResponsesCheckoutPay_InitData()
where $that = $this->baseObject;

Hope this helps.

Please show us result and we'll include your solution into release

“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2068
  • Karma: +327/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

 

Powered by SMFPacks Social Login Mod