Author Topic: Only show selected custom fields at checkout  (Read 1456 times)


  • Beginner
  • *
  • Posts: 1
  • A beginner
Only show selected custom fields at checkout
« on: August 09, 2021, 09:04:42 AM »
Hello Everybody

I'm quite new to virtuemart, and I think it is pretty amazing. I could do all the tasks pretty easily, and if not, this forum was extremly helpfull.

However, I have one last issue. I have highly configurable products, which basically means that I have up to 20 custom fields per product. Everything works smoothly, expect at checkout. If one of the custom fields is selected, all of them will be shown at checkout. Which is pretty annoying, since the customer does not need to see the fields he did not select. I would like that only these custom fields are showed, which the customer actually selected.

So I see basically 2, maybe 3 options :
1. An add-on. Does anybody know if one offers this functionality?
2. A hack. After all the checkout page needs to get the fields. I could enter an IF statement. But where and how? Please keep in mind that I am newbie, both to virtuemart and the language.
3. There might even be an integrated option, which I overlooked. In this case a hint would very usefull.

Thank you for reading, any hint, not to mention a solution :-), would be highly appreciated.


  • Global Moderator
  • Super Hero
  • *
  • Posts: 10443
  • VirtueMart Version: 3+
Re: Only show selected custom fields at checkout
« Reply #1 on: August 09, 2021, 18:46:53 PM »
Lots of 3ways to do this. but maybe checkout