• Resolved joy0114

    (@joy0114)


    Hi,

    If I want to override the templates to customize them to my liking and ensure they aren’t overwritten when the plugin is updated, is this the right way to do it:

    *** Copy the templates to:

    /wp-content/themes/my-child-theme/woo-advanced-shipment-tracking/templates/emails

    and

    /wp-content/themes/my-child-theme/woo-advanced-shipment-tracking/templates/myaccount

    *** Modify these templates.

    Thank you for your advice.
    Best regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author gaurav1092

    (@gaurav1092)

    Hi @joy0114,

    Almost – just the folder needs correcting. AST’s templates override under your theme’s woocommerce/ folder, not a woo-advanced-shipment-tracking/ folder, so copy them here instead:

    Emails: wp-content/themes/my-child-theme/woocommerce/emails/
    My Account: wp-content/themes/my-child-theme/woocommerce/myaccount/tracking-info.php

    Keep the same subfolder and filename as in the plugin’s /templates/ folder. AST uses your theme copy first, so your changes are safe on updates. Tip: only copy the files you actually want to change.

    Best regards,
    Gaurav

    Thread Starter joy0114

    (@joy0114)

    Hi Gaurav,

    Thank you very much for all these details !
    It’s very clear to me now.

    Thank you so much again !

    Best regards

    Plugin Author gaurav1092

    (@gaurav1092)

    Hi @joy0114,

    You’re very welcome – really glad it’s all clear now!

    If AST has been helpful for you, we’d hugely appreciate a quick review – it genuinely helps us out:
    https://wordpress.org/support/plugin/woo-advanced-shipment-tracking/reviews/#new-post

    Either way, thanks for being so great to work with, and just reach out anytime if you need anything.

    Best regards,
    Gaurav

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.