Display a custom field within a product option view.

  • Posts: 84
  • Thank you received: 13
  • Hikashop Business
5 years 5 months ago #307368

Hi,

Would it be possible to show a custom field within the product / option view? (Example. Product option dropdown 1 + custom field + product option dropdown 2)
For example via {load custom field} within the "description" field of a product option

Best regards
Javier


Javier Ballester

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

  • Posts: 82868
  • Thank you received: 13375
  • MODERATOR
5 years 5 months ago #307377

Hi,

It's possible, but not with a tag. It will require some coding.
First, some coding to skip the custom field display in show_block_custom_item.php and second a copy of the code in show_block_cusotm_item.php in the product / option.php view but instead of skipping that custom field, you would skip the other ones (if any). And you need to do that in the foreach on the options before/after the option you want.
If you're a PHP developer and with these indications, that should be totally possible. Otherwise, you'll have to get a developer to work on that for you.

The following user(s) said Thank You: Jabatec

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

Time to create page: 0.057 seconds
Powered by Kunena Forum