[Skip to main content](#vessel-content)

#   \[solved\]Terms and Coditions. Different error msg?

##

- **[SG](/forum/user/12204-sg "View SG's Profile")**
- [![SG's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12204-sg "View SG's Profile") Topic Author
- [ Offline](/forum/user/12204-sg)

Less More

- Posts: 101
- Thank you received: 12
-
-

13 years 1 month ago -  13 years 1 month ago [\#123417](#123417) by [SG](/forum/user/12204-sg "View SG's Profile")  *[\[solved\]Terms and Coditions. Different error msg?](/forum/2-general-talk-about-hikashop/861962-solved-terms-and-coditions-different-error-msg#123417 "-- url of the page with the problem -- :   tiny.cc/d6rc3w  -- HikaShop version -- : 2.1.3 -- Joomla version -- : 2.5 -- PHP version -- : 5.3.25 -- Browser(s) name and version -- : Firefox 23 -- Error-message(debug-mod must be tuned on) -- : Please accept the Terms and Conditions before proceeding  Hi,  PLEASE&#95;ACCEPT&#95;TERMS&#95;BEFORE&#95;FINISHING&#95;ORDER is being used to show a checkbox and it's also being as the error message when someone doesn't check the box. My client wants to show two different text. Something like this for the checkbox: I accept the Terms and Conditions...... And then something else as the error message because it would be strange to show &quot;I accept the Terms and Conditions....&quot; as an error.  I thought maybe add something like PLEASE&#95;ACCEPT&#95;TERMS&#95;BEFORE&#95;FINISHING&#95;ORDER&#95;ERROR&#95;MSG. Or if there is another way that would be good too.  Thanks.  SG")* was created by *[SG](/forum/user/12204-sg "View SG's Profile")*

-- url of the page with the problem -- : [ tiny.cc/d6rc3w](http://tiny.cc/d6rc3w)
-- HikaShop version -- : 2.1.3
-- Joomla version -- : 2.5
-- PHP version -- : 5.3.25
-- Browser(s) name and version -- : Firefox 23
-- Error-message(debug-mod must be tuned on) -- : Please accept the Terms and Conditions before proceeding

Hi,

PLEASE_ACCEPT_TERMS_BEFORE_FINISHING_ORDER is being used to show a checkbox and it's also being as the error message when someone doesn't check the box.
My client wants to show two different text.
Something like this for the checkbox: I accept the Terms and Conditions......
And then something else as the error message because it would be strange to show "I accept the Terms and Conditions...." as an error.

I thought maybe add something like PLEASE_ACCEPT_TERMS_BEFORE_FINISHING_ORDER_ERROR_MSG.
Or if there is another way that would be good too.

Thanks.

SG

Last edit: 13 years 1 month ago by [SG](/forum/user/12204-sg "View SG's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg2MTk2Mi1zb2x2ZWQtdGVybXMtYW5kLWNvZGl0aW9ucy1kaWZmZXJlbnQtZXJyb3ItbXNnP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 1 month ago [\#123452](#123452) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Terms and Coditions. Different error msg?](/forum/2-general-talk-about-hikashop/861962-solved-terms-and-coditions-different-error-msg#123452 "-- url of the page with the problem -- :   tiny.cc/d6rc3w  -- HikaShop version -- : 2.1.3 -- Joomla version -- : 2.5 -- PHP version -- : 5.3.25 -- Browser(s) name and version -- : Firefox 23 -- Error-message(debug-mod must be tuned on) -- : Please accept the Terms and Conditions before proceeding  Hi,  PLEASE&#95;ACCEPT&#95;TERMS&#95;BEFORE&#95;FINISHING&#95;ORDER is being used to show a checkbox and it's also being as the error message when someone doesn't check the box. My client wants to show two different text. Something like this for the checkbox: I accept the Terms and Conditions...... And then something else as the error message because it would be strange to show &quot;I accept the Terms and Conditions....&quot; as an error.  I thought maybe add something like PLEASE&#95;ACCEPT&#95;TERMS&#95;BEFORE&#95;FINISHING&#95;ORDER&#95;ERROR&#95;MSG. Or if there is another way that would be good too.  Thanks.  SG")*

Hi,

I will submit your request for a modification of this translation.
For the moment, you can override the view "frontend &#124; your_frontend_template &#124; checkout &#124; term" and change the code Code:

$text = JText::_('PLEASE_ACCEPT_TERMS_BEFORE_FINISHING_ORDER');

With Code:

$text = JText::_('PLEASE_ACCEPT_TERMS_BEFORE_FINISHING_ORDER_MSG');

and then create a new entry in your HikaShop language override.
It will be easier for the moment to override the translation key which display in the checkout page than the error message displayed.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [SG](/forum/user/12204-sg "View SG's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg2MTk2Mi1zb2x2ZWQtdGVybXMtYW5kLWNvZGl0aW9ucy1kaWZmZXJlbnQtZXJyb3ItbXNnP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[SG](/forum/user/12204-sg "View SG's Profile")**
- [![SG's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12204-sg "View SG's Profile") Topic Author
- [ Offline](/forum/user/12204-sg)

Less More

- Posts: 101
- Thank you received: 12
-
-

13 years 1 month ago [\#123468](#123468) by [SG](/forum/user/12204-sg "View SG's Profile")  Replied by *[SG](/forum/user/12204-sg "View SG's Profile")* on topic *[Terms and Coditions. Different error msg?](/forum/2-general-talk-about-hikashop/861962-solved-terms-and-coditions-different-error-msg#123468 "-- url of the page with the problem -- :   tiny.cc/d6rc3w  -- HikaShop version -- : 2.1.3 -- Joomla version -- : 2.5 -- PHP version -- : 5.3.25 -- Browser(s) name and version -- : Firefox 23 -- Error-message(debug-mod must be tuned on) -- : Please accept the Terms and Conditions before proceeding  Hi,  PLEASE&#95;ACCEPT&#95;TERMS&#95;BEFORE&#95;FINISHING&#95;ORDER is being used to show a checkbox and it's also being as the error message when someone doesn't check the box. My client wants to show two different text. Something like this for the checkbox: I accept the Terms and Conditions...... And then something else as the error message because it would be strange to show &quot;I accept the Terms and Conditions....&quot; as an error.  I thought maybe add something like PLEASE&#95;ACCEPT&#95;TERMS&#95;BEFORE&#95;FINISHING&#95;ORDER&#95;ERROR&#95;MSG. Or if there is another way that would be good too.  Thanks.  SG")*

Hi Jerome,

Thank you very much!!!!
It works great.

Here are three language examples so other people see what I meant in my first post.
Note that normally the company name is writen instead XXXXX
These are the sentences next to the checkbox:

NL: Ik ga akkoord met de algemene voorwaarden van XXXXX
FR: I accept the terms and conditions of XXXXX
EN: J’accepte les conditions générales de XXXXX

Error messages:

NL: Gelieve akkoord te gaan met de algemene voorwaarden van XXXXX
EN: Please accept the terms and conditions of XXXXX before proceeding
FR: Veuillez accepter les conditions générales de XXXXX avant de continuer

Thanks again.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzg2MTk2Mi1zb2x2ZWQtdGVybXMtYW5kLWNvZGl0aW9ucy1kaWZmZXJlbnQtZXJyb3ItbXNnP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.058 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
