Display a custom field within a product option view.

  • Posts: 81
  • Thank you received: 13
  • Hikaserial Standard Hikashop Business
4 years 9 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
Hikashop Joomla! Magazine in Spanish
Tu tienda Online Joomla! Hikashop
magazine.joomla.org/es/all-issues/februa...enda-online-joomla-3

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

  • Posts: 81361
  • Thank you received: 13037
  • MODERATOR
4 years 9 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.056 seconds
Powered by Kunena Forum