Help with module hook 2in1 Custom registration fields

depereira09

Active member
XNullUser
Joined
Apr 5, 2022
Messages
381
Reaction score
64
Points
28
NullCash
71
Does anyone know how to insert this module into another hook?
Typically the module will give you a custom option with {hook h='display
But I searched for it and did not find it, I would like to put it in the right column on the order page, under the field for discount coupons.
I hope someone can help me.

The link to the module is from the forum partner: https://www.nulledfrm.com/threads/2in1-custom-registration-fields-custom-checkout-fields-1-1-0-updated.90144/#post-516907

My web: http://www.hakunamataza.com
 

d-shilko

Well-known member
☆☆ Special ☆☆
☆ Pro ☆
Joined
Jun 10, 2021
Messages
2,544
Reaction score
1,546
Points
113
NullCash
3,686
Hello. First of all, next time put your questions to the corresponding thread - Request!

Your "right column on the order page" must have a corresponding hook. Try to place the hook in the TPL file where you want.
Additional hook, in this case, the module needs improvement because the code can display Form only on coded hooks!
 

freiserk

Well-known member
☆☆ Special ☆☆
☆ Pro ☆
Master
Joined
Jan 24, 2019
Messages
3,510
Reaction score
6,565
Points
113
NullCash
32,824
Does anyone know how to insert this module into another hook?
Typically the module will give you a custom option with {hook h='display
But I searched for it and did not find it, I would like to put it in the right column on the order page, under the field for discount coupons.
I hope someone can help me.

The link to the module is from the forum partner: https://www.nulledfrm.com/threads/2in1-custom-registration-fields-custom-checkout-fields-1-1-0-updated.90144/#post-516907

My web: http://www.hakunamataza.com

Hi.

@d-shilko te puede ofrecer un precio atractivo para implementarlo. Es de lo mejorcito !!!

Pide presupuesto a ver que te parece.

Saludos.
 

d-shilko

Well-known member
☆☆ Special ☆☆
☆ Pro ☆
Joined
Jun 10, 2021
Messages
2,544
Reaction score
1,546
Points
113
NullCash
3,686
Hi.

@d-shilko te puede ofrecer un precio atractivo para implementarlo. Es de lo mejorcito !!!

Pide presupuesto a ver que te parece.

Saludos.
I have not time to free improvement. You know that ;)

Last time I have not time for this forum. You know that ;)

But I always have a time to hear customers this is important for future idea.

Have a good one bro :)
 

depereira09

Active member
XNullUser
Joined
Apr 5, 2022
Messages
381
Reaction score
64
Points
28
NullCash
71
Hello. First of all, next time put your questions to the corresponding thread - Request!

Your "right column on the order page" must have a corresponding hook. Try to place the hook in the TPL file where you want.
Additional hook, in this case, the module needs improvement because the code can display Form only on coded hooks!
Disculpa no sanía cual era el foro adecuado para la pregunta.
El hook es Displayreasurrance pero desde posiciones no me deja mover el módulo, y en el .tpl no sé como meter el módulo, solo se me ocurre copiartodo el div, y meterlo a mano.Captura de pantalla 2023-07-11 191831.png
 

d-shilko

Well-known member
☆☆ Special ☆☆
☆ Pro ☆
Joined
Jun 10, 2021
Messages
2,544
Reaction score
1,546
Points
113
NullCash
3,686
Disculpa no sanía cual era el foro adecuado para la pregunta.
El hook es Displayreasurrance pero desde posiciones no me deja mover el módulo, y en el .tpl no sé como meter el módulo, solo se me ocurre copiartodo el div, y meterlo a mano.View attachment 90515
Go to
/themes/YOR_THEME/templates/checkout/checkout.tpl

and add your own Hook before {hook h='displayReassurance'} like on following screenshot

in the main file of the module g_customfields.php

add code

public function hookDisplayHookWithYourName($params){
return $this->hookDisplayPaymentTop($params);
}

DONN'T forget to transplant the module in the new hook place

GO TO Design -> Position -> Transplant Module


1689142935974.png
1689143280305.png
1689143418889.png
 

depereira09

Active member
XNullUser
Joined
Apr 5, 2022
Messages
381
Reaction score
64
Points
28
NullCash
71
Incredible! Thank you so much!
I'll try it this afternoon, just a question, is the name of the module the one that has the name in the FTP files? "g_customfields"
Post automatically merged:

I am not doing something right, because when I click on insert module, the new module that I have created does not appear, I am attaching screenshots of how I have done it
Captura de pantalla 2023-07-14 092131.pngCaptura de pantalla 2023-07-14 092044.pngCaptura de pantalla 2023-07-14 091923.png
 
Last edited:
Top