• Hi,
    We would like to add custom code to plugin’s templates. What is the best way to do it. Is it possible somehow?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey,
    If you override the templates in your child theme your templates will be used instead of the plugins.

    Ben

    Thread Starter antondrob

    (@antondrob)

    Hi Ben,
    Yes, I know. But is it possible to customize plugin’s templates?

    hannah

    (@hannahritner)

    Hi @antondrob,
    Yes, as Ben implied, you can override the plugin template files in a child theme. What customizations are you wanting to make?

    Hannah

    Email template hierarchy:

    woocommerce core > our plugin > your theme. Anything in your theme will override the plugin’s templates.

    You can copy the plugin’s templates from this plugin files and place them in your theme in the same way that you would place woocommerce core templates.

    Ben

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