AbanteCart Development > General Extensions

hook fast loginn

(1/1)

natdroid:
he there.
How do hook Authenticating login buttons in 1.3beta fast checkout?

abolabo:

--- Quote from: natdroid on April 12, 2021, 08:09:22 PM ---he there.
How do hook Authenticating login buttons in 1.3beta fast checkout?

--- End quote ---

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

abolabo:

--- Quote from: natdroid on April 13, 2021, 05:30:45 AM ---Thank you! Please do add

--- End quote ---

done:-)

https://github.com/abantecart/abantecart-src/commit/915d095ddfd3f084ebb76b04dab5352b266d86b1

Navigation

[0] Message Index

Go to full version
Powered by SMFPacks Social Login Mod