- Posts: 56
- Thank you received: 0
Display custom fields readonly last checkout page
11 years 5 months ago #198978
by hans1961
Display custom fields readonly last checkout page was created by hans1961
-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1
Hi there,
I've created a number of custom fields (order) which needs to filled in. On the last page of my checkout process I would like to show these fields ass readonly in order to have a final check. Can this be done and how?
Thanks in advance.
Kind regards, Hans
-- Joomla version -- : 3.4.1
Hi there,
I've created a number of custom fields (order) which needs to filled in. On the last page of my checkout process I would like to show these fields ass readonly in order to have a final check. Can this be done and how?
Thanks in advance.
Kind regards, Hans
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
11 years 5 months ago #198991
by Mohamed Thelji
Replied by Mohamed Thelji on topic Display custom fields readonly last checkout page
Hello,
I didn't totally understood what you wanted to do so can you give me more information about it so that I can understand it and help you ?
Also, note that if you want to change the order of your fields using the "Order" column of the "Hikashop->Display->Custom fields".
Thanks
.
I didn't totally understood what you wanted to do so can you give me more information about it so that I can understand it and help you ?
Also, note that if you want to change the order of your fields using the "Order" column of the "Hikashop->Display->Custom fields".
Thanks
Please Log in or Create an account to join the conversation.
11 years 5 months ago #199065
by hans1961
Replied by hans1961 on topic Display custom fields readonly last checkout page
Hi,
Please see attached screen. It's the order form, in Dutch. On top you have custom fields (and more above), billing address and so on. And a payment button. Instead of going to the payment directly, my next checkout step needs to be an overview of all order details, which then can be checked. If something is wrong, they can go back to the previous step. However, these custom fields need to be displayed as plain text, not as fill out form fields.
Please see attached screen. It's the order form, in Dutch. On top you have custom fields (and more above), billing address and so on. And a payment button. Instead of going to the payment directly, my next checkout step needs to be an overview of all order details, which then can be checked. If something is wrong, they can go back to the previous step. However, these custom fields need to be displayed as plain text, not as fill out form fields.
Please Log in or Create an account to join the conversation.
11 years 5 months ago #199336
by Xavier
Replied by Xavier on topic Display custom fields readonly last checkout page
Hi,
You could potentially do that thanks to some css properties, for example if the last step is the step 2 you could use css like:
Else it will require view editions, like the view "checkout / fields", based on the step number change the content in the foreach to display only the value and not the input html tags.
www.hikashop.com/support/support/documen...ize-the-display.html
You could potentially do that thanks to some css properties, for example if the last step is the step 2 you could use css like:
Code:
.hikashop_checkout_page_step2 input{
-webkit-user-select: none !important;
-moz-user-select: none !important;
-ms-user-select: none !important;
-o-user-select: none !important;
user-select: none !important;
border: 0 !important;
outline: none !important;
}
Else it will require view editions, like the view "checkout / fields", based on the step number change the content in the foreach to display only the value and not the input html tags.
www.hikashop.com/support/support/documen...ize-the-display.html
Please Log in or Create an account to join the conversation.
11 years 5 months ago #199605
by hans1961
Replied by hans1961 on topic Display custom fields readonly last checkout page
Hi,
Thanks for your e-mail. This might work, however, some field types are still editable, like dropdown fields, text area, datepicker...
Do I have tot extend the css? And can you please tell me how to do it?
Thanks.
Kind regards, Hans
Thanks for your e-mail. This might work, however, some field types are still editable, like dropdown fields, text area, datepicker...
Do I have tot extend the css? And can you please tell me how to do it?
Thanks.
Kind regards, Hans
Please Log in or Create an account to join the conversation.
11 years 5 months ago #199606
by Xavier
Replied by Xavier on topic Display custom fields readonly last checkout page
Hi,
You can potentially extend the css thanks to this code:
I have not tested it and it is possible that some elements will be missing, but thanks to an internet search you should be able to find the missing properties. 
Else, the view "checkout / fields" can be edited.
You can potentially extend the css thanks to this code:
Code:
.hikashop_checkout_page_step2 input, .hikashop_checkout_page_step2 select, .hikashop_checkout_page_step2 textarea{
-webkit-user-select: none !important;
-moz-user-select: none !important;
-ms-user-select: none !important;
-o-user-select: none !important;
user-select: none !important;
border: 0 !important;
outline: none !important;
pointer-events: none;
cursor: default;
}
Else, the view "checkout / fields" can be edited.
Please Log in or Create an account to join the conversation.
Time to create page: 0.235 seconds