How can I hide certain custom fields in the checko

  • Posts: 83
  • Thank you received: 10
12 years 1 month ago #66307

I'm guessing that it is something to do with the checkout/fields.php file?

For example, I have a custom field named co_carrental it is only relevant to certain customers.

So, I would like that field to show for those customers, but be hidden for the rest. So basically if a variable $car equals 1 then show the field co_carrental and if $car does not equal one then don't.

Is this possible?

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

  • Posts: 83
  • Thank you received: 10
12 years 1 month ago #66315

okay, I just found this post on "conditional required fields":
www.hikashop.com/en/forum/4-how-to/42933...required-fields.html

That looks like what I want. I'll give it a shot and get back if I need more help.

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

Time to create page: 0.053 seconds
Powered by Kunena Forum