Translate "Featured Img" string – can't find on Loco

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 4 reply threads
  • Author
    Posts
    • #116087
      contatoapp
      Participant

      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.
    • #117376
      contatoapp
      Participant

      Hello. Any help here? Thanks.

    • #118330
      WCFM Forum
      Keymaster

      Hi,

      Well, this is part WooCommerce Frontend Manager plugin.

      Please sync your translation file with latest plugin files, you will have this.

      Thank You

    • #118514
      contatoapp
      Participant

      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.
    • #118646
      Sushobhan
      Keymaster

      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!

Viewing 4 reply threads
  • You must be logged in to reply to this topic.