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

#   Can I add an additional T&amp;C to checkout?

##

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

Less More

- Posts: 214
- Thank you received: 7
-
-

13 years 2 months ago [\#125109](#125109) by [conticreative](/forum/user/12955-conticreative "View conticreative's Profile")  *[Can I add an additional T&amp;C to checkout?](/forum/27-checkout/862317-can-i-add-an-additional-t-c-to-checkout#125109 "-- HikaShop version -- : HikaShop Business 2.2.1 -- Joomla version -- : 3.1.5 -- PHP version -- : 5.3  I would like to know if it would be possible to add an additional Terms &amp; Condition document that the user has to approve to the checkout.  We actually would need a different one for each product, but I cannot think of an easy way this would work. Since we are not going to have more than 3 or 4 products at any given time (and they change every few weeks) it would be feasible to add each product agreement into the same document, but it would be ideal if I could have the general T&amp;C at checkout as normal and add another one below it. Same format but different document.  Can this be done? I see that adding an additional step is very easy, but I can't see a way where I can choose a different document for this additional step.  Thank you.")* was created by *[conticreative](/forum/user/12955-conticreative "View conticreative's Profile")*

-- HikaShop version -- : HikaShop Business 2.2.1
-- Joomla version -- : 3.1.5
-- PHP version -- : 5.3

I would like to know if it would be possible to add an additional Terms &amp; Condition document that the user has to approve to the checkout.

We actually would need a different one for each product, but I cannot think of an easy way this would work. Since we are not going to have more than 3 or 4 products at any given time (and they change every few weeks) it would be feasible to add each product agreement into the same document, but it would be ideal if I could have the general T&amp;C at checkout as normal and add another one below it. Same format but different document.

Can this be done? I see that adding an additional step is very easy, but I can't see a way where I can choose a different document for this additional step.

Thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MjMxNy1jYW4taS1hZGQtYW4tYWRkaXRpb25hbC10LWMtdG8tY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 2 months ago [\#125162](#125162) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Can I add an additional T&amp;C to checkout?](/forum/27-checkout/862317-can-i-add-an-additional-t-c-to-checkout#125162 "-- HikaShop version -- : HikaShop Business 2.2.1 -- Joomla version -- : 3.1.5 -- PHP version -- : 5.3  I would like to know if it would be possible to add an additional Terms &amp; Condition document that the user has to approve to the checkout.  We actually would need a different one for each product, but I cannot think of an easy way this would work. Since we are not going to have more than 3 or 4 products at any given time (and they change every few weeks) it would be feasible to add each product agreement into the same document, but it would be ideal if I could have the general T&amp;C at checkout as normal and add another one below it. Same format but different document.  Can this be done? I see that adding an additional step is very easy, but I can't see a way where I can choose a different document for this additional step.  Thank you.")*

Hi,

What can be done is creating a custom field via the menu Display &gt; Custom fields.
Then select the table "order" to display it in the checkout (or "item" to have it on a product page), for the type select "checkbox" and set a value for this text box.
To put a link in the text, you have to set a value like "CUSTOM_TERMS_AND_CONDITIONS" then in Configuration &gt; Languages add an override to display the desired text, like:

> CUSTOM\_TERMS\_AND\_CONDITIONS="My terms and conditions &lt;a href='yourcustomlink'&gt;here&lt;/a&gt;"

The following user(s) said Thank You: [conticreative](/forum/user/12955-conticreative "View conticreative's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MjMxNy1jYW4taS1hZGQtYW4tYWRkaXRpb25hbC10LWMtdG8tY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 214
- Thank you received: 7
-
-

13 years 2 months ago [\#125302](#125302) by [conticreative](/forum/user/12955-conticreative "View conticreative's Profile")  Replied by *[conticreative](/forum/user/12955-conticreative "View conticreative's Profile")* on topic *[Can I add an additional T&amp;C to checkout?](/forum/27-checkout/862317-can-i-add-an-additional-t-c-to-checkout#125302 "-- HikaShop version -- : HikaShop Business 2.2.1 -- Joomla version -- : 3.1.5 -- PHP version -- : 5.3  I would like to know if it would be possible to add an additional Terms &amp; Condition document that the user has to approve to the checkout.  We actually would need a different one for each product, but I cannot think of an easy way this would work. Since we are not going to have more than 3 or 4 products at any given time (and they change every few weeks) it would be feasible to add each product agreement into the same document, but it would be ideal if I could have the general T&amp;C at checkout as normal and add another one below it. Same format but different document.  Can this be done? I see that adding an additional step is very easy, but I can't see a way where I can choose a different document for this additional step.  Thank you.")*

Thanks. Sound like a good solution.

Is there maybe a way to associate custom fields to specific products? Our plan is to insert in this additional document all the current products agreements, pointing out that only the one relative to the product they are purchasing is the valid one, but having the ability to have them check a box on the product page as a way to accept the product specific agreement would be even better.

Is there a way to accomplish that? If not, we'll do it the way you explained.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MjMxNy1jYW4taS1hZGQtYW4tYWRkaXRpb25hbC10LWMtdG8tY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 2 months ago [\#125335](#125335) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Can I add an additional T&amp;C to checkout?](/forum/27-checkout/862317-can-i-add-an-additional-t-c-to-checkout#125335 "-- HikaShop version -- : HikaShop Business 2.2.1 -- Joomla version -- : 3.1.5 -- PHP version -- : 5.3  I would like to know if it would be possible to add an additional Terms &amp; Condition document that the user has to approve to the checkout.  We actually would need a different one for each product, but I cannot think of an easy way this would work. Since we are not going to have more than 3 or 4 products at any given time (and they change every few weeks) it would be feasible to add each product agreement into the same document, but it would be ideal if I could have the general T&amp;C at checkout as normal and add another one below it. Same format but different document.  Can this be done? I see that adding an additional step is very easy, but I can't see a way where I can choose a different document for this additional step.  Thank you.")*

To display the custom field only for some products, you will have to edit the view "product / show_block_custom_item".
And add a if condition to display or not the specific custom field depending on the product id.
Something like: Code:

if($fieldName == 'myFieldName' &amp;&amp; !in_array($this-&gt;element-&gt;product_id,array('xx','yy'))){ // don't display the field }

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MjMxNy1jYW4taS1hZGQtYW4tYWRkaXRpb25hbC10LWMtdG8tY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 214
- Thank you received: 7
-
-

13 years 2 months ago [\#125411](#125411) by [conticreative](/forum/user/12955-conticreative "View conticreative's Profile")  Replied by *[conticreative](/forum/user/12955-conticreative "View conticreative's Profile")* on topic *[Can I add an additional T&amp;C to checkout?](/forum/27-checkout/862317-can-i-add-an-additional-t-c-to-checkout#125411 "-- HikaShop version -- : HikaShop Business 2.2.1 -- Joomla version -- : 3.1.5 -- PHP version -- : 5.3  I would like to know if it would be possible to add an additional Terms &amp; Condition document that the user has to approve to the checkout.  We actually would need a different one for each product, but I cannot think of an easy way this would work. Since we are not going to have more than 3 or 4 products at any given time (and they change every few weeks) it would be feasible to add each product agreement into the same document, but it would be ideal if I could have the general T&amp;C at checkout as normal and add another one below it. Same format but different document.  Can this be done? I see that adding an additional step is very easy, but I can't see a way where I can choose a different document for this additional step.  Thank you.")*

Yes, that looks like it would work. However, I am always a bit concerned in making changes to the core of Joomla or any major component. Is there an override system I can use? Otherwise I would need to repeat this procedure every time Hikashop is updated.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MjMxNy1jYW4taS1hZGQtYW4tYWRkaXRpb25hbC10LWMtdG8tY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 1 month ago [\#125534](#125534) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Can I add an additional T&amp;C to checkout?](/forum/27-checkout/862317-can-i-add-an-additional-t-c-to-checkout#125534 "-- HikaShop version -- : HikaShop Business 2.2.1 -- Joomla version -- : 3.1.5 -- PHP version -- : 5.3  I would like to know if it would be possible to add an additional Terms &amp; Condition document that the user has to approve to the checkout.  We actually would need a different one for each product, but I cannot think of an easy way this would work. Since we are not going to have more than 3 or 4 products at any given time (and they change every few weeks) it would be feasible to add each product agreement into the same document, but it would be ideal if I could have the general T&amp;C at checkout as normal and add another one below it. Same format but different document.  Can this be done? I see that adding an additional step is very easy, but I can't see a way where I can choose a different document for this additional step.  Thank you.")*

Hi,

The modification that Xavier gave you is something to put in a view override.
You can access to the HikaShop view in the backend, thanks to the menu : "Display &gt; View".
Just edit the view "frontend &#124; your_current_frontend_template &#124; product &#124; show_block_custom_item" and you will create an override for this specific view for your frontend template.

You won't modify the HikaShop core directly and you won't loose your modification by updating HikaShop.

Regards,

---

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

The following user(s) said Thank You: [conticreative](/forum/user/12955-conticreative "View conticreative's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg2MjMxNy1jYW4taS1hZGQtYW4tYWRkaXRpb25hbC10LWMtdG8tY2hlY2tvdXQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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.079 seconds

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