Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Translate "Featured Img" string – can't find on Loco
Tagged: featured img, frontend manager, gallery, image, images, loco, string, Translate, Translation, Ultimate
- This topic has 4 replies, 3 voices, and was last updated 4 years, 7 months ago by Sushobhan.
- AuthorPosts
- April 7, 2020 at 1:15 am #116087contatoappParticipant
I’m using the Ultimate Version of the Frontend Manager plugin and I had both featured and gallery images mandatory. But if a user tries to save a product without any of them they get an error message (naturally). But the “Featured Img” string isn’t to be found anywhere to translate. Where can I find it?
Attachments:
You must be logged in to view attached files. - April 9, 2020 at 9:51 pm #117376contatoappParticipant
Hello. Any help here? Thanks.
- April 12, 2020 at 12:30 pm #118330WCFM ForumMember
Hi,
Well, this is part WooCommerce Frontend Manager plugin.
Please sync your translation file with latest plugin files, you will have this.
Thank You
- April 12, 2020 at 10:55 pm #118514contatoappParticipant
Hi. I’ve already all plugins and synced all the files, but the string is nowhere to be found.
Attachments:
You must be logged in to view attached files. - April 13, 2020 at 11:35 am #118646SushobhanKeymaster
Hi,
Please use the following snippet to achieve this-add_filter('wcfm_product_manage_fields_images', function($img_fields) { if(isset($img_fields['featured_img'])) { $img_fields['featured_img']['custom_attributes']['required_message'] = 'FIELD NAME: REQUIRED MESSAGE'; //Place your message here } return $img_fields; });
Add this code to your child theme’s functions.php
In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/
Regards!
- AuthorPosts
- You must be logged in to reply to this topic.