Terms and Conditions don´t show up

  • Posts: 25
  • Thank you received: 0
11 years 9 months ago #119610

-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : 2.2.0
-- Joomla version -- : 3.1.5
-- PHP version -- : 5.3.21
-- Browser(s) name and version -- : Torch 25.0.0.3831
Hello, I am using Hikashop registration form instead of Joomla registration form becaue I like it better and it gets more information from customers.
It is also important to me that the customers and users of my website have to accept the terms and conditions on registration and also on checkout. I created a single article with the Terms and Conditions set in general category and a menu item in the main menu for it. That all works fine and the page opens great when the menu item is clicked. Then in the Hikashop configuration, checkout section I selected the article for the terms and conditions. Saved it and when I check it, it shows the artcle item number - great. Problem is it doesn´t show up in the registration forms or on checkout or anywhere else as far as I can see. What can be the problem? Thanks for your help.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 9 months ago #119654

Hi,

You have to add the step "Terms and conditions" in the checkout workflow. Else it will not be displayed.
By default we only display the terms and conditions in the checkout workflow not in the user registration.

For the registration, what can be done is create a custom field in the table user, set it as required, type checkbox, and for the description set a phrase with the link of the article.

The following user(s) said Thank You: drandyb

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

  • Posts: 25
  • Thank you received: 0
11 years 9 months ago #119769

Hola Xavier,
Thank you for the help. You set me on the right track for the terms and conditions in the check out and it is working fine there. However, I am having some problem with trying to set it up in User Table. The field shows up but no check box appears – only the asterisk for required field. It seems that some of the field type options work and others don´t. Radio doesn´t show up neither do drop down lists. Text box, date and some of the other field types do show up. What do you think is my problem? Also how do I set a link to the label description? Do I have to go into the code for that? If so what do I add and where? Thanks.

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

  • Posts: 83932
  • Thank you received: 13588
  • MODERATOR
11 years 9 months ago #119782

Hi,

If you don't see any dropdown/radio/checkbox, it's probably that you didn't enter any values in your custom field and thus the system cannot display any dropdown/radio/checkbox.

The following user(s) said Thank You: drandyb

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

  • Posts: 25
  • Thank you received: 0
11 years 9 months ago #119805

Thanks Nicolas,

That got my checkbox working. There does´t seem to be a way from the custom field option to put a link on the label to the Terms and Conditions article. How do I go about linking the label with the article? Do I have to alter code? If so what do I add and where? Thanks

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

  • Posts: 83932
  • Thank you received: 13588
  • MODERATOR
11 years 9 months ago #119808

There is indeed no option to add such a link to the label of a field. I would recommend instead to create a custom field of the type "custom text" to add such link just before the checkbox custom field.

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

  • Posts: 25
  • Thank you received: 0
11 years 9 months ago #119816

Ok I got the custom text showing up but it drops the link. How do I get it to show as a link instead of plain text.

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

  • Posts: 83932
  • Thank you received: 13588
  • MODERATOR
11 years 9 months ago #120057

It works fine for me on my end with a link in it:

Attachments:
The following user(s) said Thank You: drandyb

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

  • Posts: 25
  • Thank you received: 0
11 years 9 months ago #120071

Thank you very much, Nicolas. Mine is working fine now as well thanks to the code you showed me. I really appreciate your patience with my ignorance.

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

  • Posts: 25
  • Thank you received: 0
11 years 9 months ago #120074

By the way, how do I make the email, email confirmed, password and password confirmed fields show the asterisk as required fields on the register form. Thanks.

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

  • Posts: 83932
  • Thank you received: 13588
  • MODERATOR
11 years 9 months ago #120086

You can go in the menu Display>Views, edit the file "registration" ( or "registration_bootstrap" if the "use bootstrap design" option of the configuration is turned on) and add the * after each input field.

The following user(s) said Thank You: drandyb

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

  • Posts: 25
  • Thank you received: 0
11 years 9 months ago #120126

Thanks, that did the trick

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

Time to create page: 0.125 seconds
Powered by Kunena Forum