- Posts: 52
- Thank you received: 0
Terms and Conditions A ref
12 years 1 month ago #176784
by Marjoline
Terms and Conditions A ref was created by Marjoline
-- HikaShop version -- : 2.3.2 - 2.3.4
-- Joomla version -- : 3.3.3 - 3.3.6
Hi,
When I add the terms and conditions initially I get a checkbox and the text
"Please accept the Terms and Conditions before proceeding"
when you select a article page to be viewed the entire text becomes a link <a href>
I'm trying to investigate where to change that to just having
<p>Please accept the </p><a href"terms.php">Terms and Conditions</a><p> before proceeding"</p>
I can't seem to do that in the display > views > checkout / terms.php section, so I figure I probably need to dive into the code somewhere to seperate the part that gets linked, and the parts that get translated?
Thanks for the help.
-- Joomla version -- : 3.3.3 - 3.3.6
Hi,
When I add the terms and conditions initially I get a checkbox and the text
"Please accept the Terms and Conditions before proceeding"
when you select a article page to be viewed the entire text becomes a link <a href>
I'm trying to investigate where to change that to just having
<p>Please accept the </p><a href"terms.php">Terms and Conditions</a><p> before proceeding"</p>
I can't seem to do that in the display > views > checkout / terms.php section, so I figure I probably need to dive into the code somewhere to seperate the part that gets linked, and the parts that get translated?
Thanks for the help.
Please Log in or Create an account to join the conversation.
12 years 1 month ago #176821
by nicolas
Replied by nicolas on topic Terms and Conditions A ref
Hi,
No, it's in that view file that you need to change that and nowhere else.
Change the line:
$text = JText::_('PLEASE_ACCEPT_TERMS');
to:
$text = 'Terms and Conditions';
and the line:
<label for="hikashop_checkout_terms_checkbox"><?php echo $text; ?></label>
to:
<label for="hikashop_checkout_terms_checkbox"><p>Please accept the </p><?php echo $text; ?><p> before proceeding</p></label>
and that should do it.
No, it's in that view file that you need to change that and nowhere else.
Change the line:
$text = JText::_('PLEASE_ACCEPT_TERMS');
to:
$text = 'Terms and Conditions';
and the line:
<label for="hikashop_checkout_terms_checkbox"><?php echo $text; ?></label>
to:
<label for="hikashop_checkout_terms_checkbox"><p>Please accept the </p><?php echo $text; ?><p> before proceeding</p></label>
and that should do it.
Please Log in or Create an account to join the conversation.
Time to create page: 0.042 seconds