Support » Plugin: YITH WooCommerce PDF Invoice and Shipping List » how to keep custom code when updating plugin

  • Hi team

    I have added some custom code to the free version of your invoice plugin by overwriting your original code.

    The big disadvantage of this is that every time there is an update, i have to modify the code to get the wanted results 🙁

    Now since there is an update available of the invoice plugin, i am wondering whether there is a way to keep my custom code active, even when updating the plugin…

    Can you help me with this?

    Thank you !

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

Viewing 1 replies (of 1 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hello there,
    hope you are doing well 🙂

    If you are editing our plugin templates what you can do is copy them into your theme folder.
    The path would be “your_active_theme_folder/woocommerce/”.
    If the file in our plugin is inside the folder “admin”, you would have to create a folder “admin” inside the path mentioned above and paste de file inside.
    And it’s the same solution if the template is inside the folder “invoice”.

    If your changes are not in the template files then there is no solution, you would have to add the custom code again after updating.

    Let us know any news, please.
    Have a nice day!

    • This reply was modified 11 months, 1 week ago by YITHEMES.
Viewing 1 replies (of 1 total)
  • The topic ‘how to keep custom code when updating plugin’ is closed to new replies.