• Resolved volkerh

    (@volkerh)


    Hi,
    I added this piece of code in the file wc_catalog_enquiry_admin.php to show the product price in the enquiry e-mail: <th scope=”col”><?php _e( ‘Preis’, ‘woocommerce-catalog-enquiry’ ); ?></th>. That works well until the last update. Any idea how to fix that?
    Thank you.
    Volker

Viewing 4 replies - 1 through 4 (of 4 total)
  • @volkerh, sorry to hear that.

    Can you please let us know, how did you modify the email template? Did you override the email template inside the theme file?

    Thread Starter volkerh

    (@volkerh)

    Hi,
    I’m not sure if I understand your question correctly. I modified the file in this directory: /wp-content/plugins/woocommerce-catalog-enquiry/templates/emails.

    Thread Starter volkerh

    (@volkerh)

    Hi,
    already an idea?

    @volkerh, as you have modified the core plugin directly, hence the modification was removed, when you updated the plugin.

    So, you need to create a folder called wc-Woocommerce-Catalog-Enquiry inside the theme folder and inside this folder create another folder called emails.

    Now inside emails create another folder called plain. In this folder, create a file called wc-Woocommerce-Catalog-Enquiry_template.php. In this file you have to add the copied template file of wc-Woocommerce-Catalog-Enquiry_template.php.

    You can copy the template file via woocommerce-catalog-enquiry/templates/emails/plain/wc_catalog_enquiry_admin.php

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Enquiry with price, again’ is closed to new replies.