Display a custom field within a product option view.
7 years 4 months ago #307368
by Jabatec
Javier Ballester
Display a custom field within a product option view. was created by Jabatec
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
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.
7 years 4 months ago #307377
by nicolas
Replied by nicolas on topic Display a custom field within a product option view.
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.
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.184 seconds