Switcher Guest Checkout
10 years 2 months ago #250191
by Joomill
Switcher Guest Checkout was created by Joomill
-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.6
I have the swticher login enabled with login, registration and guest checkout.
1) When i switch to guest i would like to hide my user customfields. Which (i guess javascript) do i need to add in which file.
2) The button says "register" for registration and guest checkout. while in a none switcher mode it says "next". We prefer "next" for guest checkout. How can we add this?
Kind regards,
Jeroen
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.6
I have the swticher login enabled with login, registration and guest checkout.
1) When i switch to guest i would like to hide my user customfields. Which (i guess javascript) do i need to add in which file.
2) The button says "register" for registration and guest checkout. while in a none switcher mode it says "next". We prefer "next" for guest checkout. How can we add this?
Kind regards,
Jeroen
Please Log in or Create an account to join the conversation.
10 years 2 months ago #250194
by nicolas
Replied by nicolas on topic Switcher Guest Checkout
Hi,
1. You'll have to edit the file components/com_hikashop/views/checkout/view.html.php and add your javascript code after the line:
} else if(value==2 && checked==true) {
Something like:
document.getElementByID('XXX').style.display = 'none';
where XXX is the id of the HTML element that you want to hide when the customer click on "guest" in the switcher.
2. You can use a translation override if you want to change that text:
www.hikashop.com/download/languages.html#modify
1. You'll have to edit the file components/com_hikashop/views/checkout/view.html.php and add your javascript code after the line:
} else if(value==2 && checked==true) {
Something like:
document.getElementByID('XXX').style.display = 'none';
where XXX is the id of the HTML element that you want to hide when the customer click on "guest" in the switcher.
2. You can use a translation override if you want to change that text:
www.hikashop.com/download/languages.html#modify
The following user(s) said Thank You: Joomill
Please Log in or Create an account to join the conversation.
10 years 2 months ago #250241
by Joomill
Replied by Joomill on topic Switcher Guest Checkout
Thank you!
Please Log in or Create an account to join the conversation.
Time to create page: 0.052 seconds