Banner Logo

Be a part of the family: Connect, Receive Support,
Contribute, and Reap Abundant Rewards

How to disable meta description for emails

MultivendorX

Open
Viewing 2 reply threads
  • Author
    Posts
    • #236156
      l.gan
      Participant

      1. How to disable meta description for emails sent from your plugin (not from woo)

      The emails that come from woocommerce have a normal design, whereas if the email (all emails) is generated by the MultivendorX plugin, then in the product description line there is a meta description that looks like this (see photo).
      It is not compact, not in one line and has a marker.

      Is there a way to disable this product meta description for emails sent by MultivendorX. Can you share the custom code?

      Or indicate which file I should place in the child theme and which lines from this file to delete/edit?

      2. Is there a way to add a product image to emails?

    • #236168

      @l.gan, Our replies are inline with your queries –

      1. How to disable meta description for emails sent from your plugin (not from woo)
      >> I assume you are using a third-party plugin for the meta description on your end. Could you please confirm this, as the meta description is not generated by our plugin?
      2. Is there a way to add a product image to emails?
      >> At the moment, there isn’t a default option to include product images in the emails. However, you can certainly add your own custom code to achieve this.

      If you need any reference hooks or filters for this modification, please feel free to let us know.

      • #236181
        l.gan
        Participant

        I switched to the 2024 theme
        disabled plugins.
        It was still there.

        But this code helped me, but it disables information about attributes and who sells the product not only in letters, but also on the “thank you” page and in the basket

        function filter_woocommerce_display_item_meta ( $html, $item, $args ) {
            $html = '';
            return $html;
        }
        add_filter( 'woocommerce_display_item_meta', 'filter_woocommerce_display_item_meta', 10, 3 );
        Copy
    • #236183

      May I know how the meta descriptions are you adding on your end?

Viewing 2 reply threads

Please LOGIN to reply to this topic