• Resolved Demian

    (@demian85)


    Hi,

    This is about the templates which are seated in your plugin /views/templates/emails/…

    What I am trying to achieve is to override the [yaymail_items] but I can’t seem to work how to override this via email-order-details.php. How do I load them into my child theme?

    With thanks,
    Demian

    • This topic was modified 2 years, 10 months ago by Demian.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Bruce

    (@ninjateamwp)

    Hi @demian85 ,

    Thanks for coming today!

    So, may I know why you want to override it, please?

    Please be aware that our plugins code is not available for customization, if you alter the code, sorry but we can’t support you.

    Kind regards,
    -Bruce-

    Thread Starter Demian

    (@demian85)

    Hi @ninjateamwp ,

    Thanks for coming back. The shortcode [yaymail_items] creates a standard woocommerce table layout. And I want to remove the <h2> element for example. Custom CSS can be done, but I prefer it’s not loaded at all. Can this be done by overriding the email-order-details.php?

    Demian

    Plugin Author YayCommerce

    (@yaycommerce)

    Hello @demian85 ,

    Sorry you can’t override the file, you have to customize it in YayMail Custom CSS.
    Hope it helps.

    Thread Starter Demian

    (@demian85)

    HI @yaycommerce

    Thank you for informing me. So if I want to hide this h2 title? Do I need to add

    #v1body_content_inner h2 { display:none; }

    or

    h2.yaymail_builder_order {display:none;}

    How do I get the correct selectors? Because in the builder nothing happens.

    Thread Starter Demian

    (@demian85)

    I need to be able to change the layout of the items. To me that is what email customizer means. Not just copy paste existing blocks from the woocommerce templates. I am happy to do this in php templates even in a pro-version.

    The plugin looks good and is properly build, but the “customizer” feature is not what I expected. Sorry!

    • This reply was modified 2 years, 10 months ago by Demian.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Override Plugin Templates’ is closed to new replies.