Chat with us, powered by LiveChat

WCMp bundle is available at a slashed price

Grab It Now

Customize Email Template or Remove SKU and Product Link

Customize Email Template or Remove SKU and Product Link2019-06-06T02:07:59-05:00

Home Support Forum WCMp Catalog Enquiry Customize Email Template or Remove SKU and Product Link

WCMp Catalog Enquiry

Customize Email Template or Remove SKU and Product Link Open

  • Author
    Posts
  • Mary Lynn Bradshaw
    Participant
    Post count: 13

    Hello Team,

    I want to remove SKU and Product Link from inquiry email, If there is some filter to do so please let me know it will be very helpful. if not at least you can let me know if it’s possible to override email template and edit as per our need? and where I can find documentation for doing so.

    Also if I can hide Powered by WC Catalog Enquiry Pro ( it’s a pro app so credits can be removed 😉 )

    Thanks and Regards,
    Mary Lynn.

  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3844

    Hi @Mary Lynn Bradshaw, thanks for getting in touch with us.

    Our replies are inline :

    – I want to remove SKU and Product Link from inquiry email

    >> Yes, you can hide the SKU and Product Link. For this you can override the email template. First check which email template are you using.

    After that, you have to override the “wcce_send_email.php” template file by overriding this template by copying it to yourtheme/woocommerce-catalog-enquiry-pro/emails/wcce_send_email.php

    Then modify this as per your need.

    – I can hide Powered by WC Catalog Enquiry Pro

    >> In order to remove this, add this code to the function.php of the current active theme :

    add_filter('wcce_footer_email_text', 'callback_wcce_footer_email_text', 99, 2);
    function wcce_footer_email_text()
    {
    return '';
    }
  • Mary Lynn Bradshaw
    Participant
    Post count: 13

    Hello Moumita,

    Removing footer credits with wcce_footer_email_text filter is working fine

    Template override is not working,

    I have copied
    /wp-content/plugins/woocommerce-catalog-enquiry-pro/templates/emails/wcce_send_email.php
    to my active theme
    /wp-content/themes/babysitter/woocommerce-catalog-enquiry-pro/emails/wcce_send_email.php

    and made a small change on line 1483 and it’s not working.
    I have also made that change in plugin file i.e. /wp-content/plugins/woocommerce-catalog-enquiry-pro/templates/emails/wcce_send_email.php to check if I am working with the right file and it worked. [ then restored the original file ]

    I have also added API key and activated the plugin, please let me know If I am doing something wrong.

    Thanks and Regards,
    Mary Lynn

  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3844

    @Mary Lynn, please send the modified file template with us, also let us know what modification have you done, so we can help you out accordingly.

  • Mary Lynn Bradshaw
    Participant
    Post count: 13
    This reply has been marked as private.
  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3844
    This reply has been marked as private.
  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3844
    This reply has been marked as private.
  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3844
    This reply has been marked as private.
  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3844
    This reply has been marked as private.
  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3844
    This reply has been marked as private.
  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3844
    This reply has been marked as private.
  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3844
    This reply has been marked as private.
  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3844
    This reply has been marked as private.
  • Mary Lynn Bradshaw
    Participant
    Post count: 13
    This reply has been marked as private.
  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3844
    This reply has been marked as private.
  • Mary Lynn Bradshaw
    Participant
    Post count: 13

    Hello Moumita,

    It worked thanks 🙂

  • NerdySupportExpert Moumita
    Keymaster
    Post count: 3844

    @Mary Lynn Bradshaw, Great to know that.

Please LOGIN to reply to this topic