Terms and Conditions A ref

  • Posts: 52
  • Thank you received: 0
10 years 7 months ago #176784

-- 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.

Please Log in or Create an account to join the conversation.

  • Posts: 83995
  • Thank you received: 13605
  • MODERATOR
10 years 7 months ago #176821

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.

Please Log in or Create an account to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum