• Resolved boutzamat

    (@boutzamat)


    Is it possible to copy the template files and override them from child-theme, like you normally would with WooCommerce templates?

    I prefer to have the shipping and payment address listed above the order table, and for that i need to modify the template.

    Is it possible?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey,
    Yes, it is, once the template is in your theme my plugin uses that.

    Ben

    Thread Starter boutzamat

    (@boutzamat)

    Hey Ben, thanks for the reply.

    So i should just copy the template files from the plugin, and then i can edit them from my theme if placed in /mytheme/woocommerce/emails/ ?

    In general, i don’t have the need to edit template files, but i would love the billing and shipping address above the order table, but it seems there is no option to do this, nor is there a way without modifying templates. Is that correct?

    Hey,
    1. Yes copy into your theme then edit from there.

    2. You can use hooks for this if you are familiar with coding in WordPress. Both sections are hooked into the email template so you can unhook and rehook to another action. You need to access the class instance to effect email hooks.

    Ben

    Thread Starter boutzamat

    (@boutzamat)

    Thanks again.

    I found the hooks for the e-mail, and have already rearranged it ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Override templates’ is closed to new replies.