• Resolved driveparkfly

    (@driveparkfly)


    Hi Alex,
    I have installed and activated this plugin on my website. When I go to the individual products (such as a gift card product or a bookable product) no ‘Custom Email Content’ or ‘Content Location’ fields appear. Please advise how to rectify.
    Thanks
    Heath

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author alexmustin

    (@alexmustin)

    Hi Heath,

    Thanks for your interest in my plugin.

    As of right now, this plugin is designed to work only with the built-in ‘Simple Product’ and ‘Variable Product’ product types. I may expand this in the future, but that also brings in more complications for a free plugin.

    You can experiment with this code, and make the options show up for different product types by editing the CSS class that is assigned on Line 71 of the file: /admin/class-custom-woocommerce-field.php

    Good luck and enjoy the plugin!

    Hi Alex, driveparkfly

    Here i’m using woocommerce-bookings. @driveparkfly: Did you get it to work with this by any chance? @alex, any idea if you also expand functionality to work with woocommerce-bookings also?

    I can add ‘show_if_booking’ to the custom-woocommerce-field class to make the input field show at the backend. But this won’t make it appear in the bookings-email – as this is @ a different location i presume..

    Peace, Ed’

    • This reply was modified 6 years, 10 months ago by eddiebouncer. Reason: additional info
    Plugin Author alexmustin

    (@alexmustin)

    Hi eddiebouncer,

    You are correct — I’ve coded this plugin so it only adds content into the default WooCommerce email template, for regular Product notifications.

    It looks like the WooCommerce Bookings emails are completely different, and are custom to that plugin. I’d have to write a separate plugin that performs this functionality.

    Hey Alex,

    Thanks for the reply. For now i’ve added the ‘show_if_booking’ on 3 lines and set the default ‘order completed email template’ for bookings, so i actually can use the plugin.
    A bit of a workaround but it’ll do for now i think.

    Cheers, Ed’

    Plugin Author alexmustin

    (@alexmustin)

    Great work, eddiebouncer!

    I’m thinking of adding a Settings page, where there’s an option for users to define any extra classes, for situations like this.

    You did most of the work by creating the plugin Alex!

    More settings would be nice. Cheers, Ed’

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Product data fields not appearing’ is closed to new replies.