• Resolved brainiak433

    (@brainiak433)


    Hello! I need your help with customization plugin for my client.

    I need customize some .php files. How i can overwrite plugins files ?

    I was try creating directory with plugin name in child theme, also in current theme and it’s don’t works.

    Germanized adjusts the review-order-table via filter and adds an additional template (specifically for the product table) to comply to the button solution. You may find the original template in:
    wp-content/plugins/woocommerce-germanized/templates/checkout/review-order-product-table.php

    and you may override that template in:
    my-child-theme/woocommerce-germanized/checkout/review-order-product-table.php

    This way don’t works.

    Tell me please how i can customize your plugin ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author vendidero

    (@vendidero)

    Hi there,

    that is the right way to do it. You can override all Germanized-Templates within your child-theme-folder. my-child-theme should equal your current child-theme folder.

    Cheers

    Thread Starter brainiak433

    (@brainiak433)

    But it’s way absolutely don’t works. I tested on 2 sites.

    Thread Starter brainiak433

    (@brainiak433)

    Using child theme i will can overwrite any plugins files or only templates files ?

    Plugin Author vendidero

    (@vendidero)

    Hi there,

    template files only. Overriding plugin files does not work as this is not the way to handle plugin customizations. You’ll need to check filters and actions instead.

    I’ve just tested overriding the template named above and it works like a charm, e.g.:

    wp-content/themes/storefront/woocommerce-germanized/checkout/review-order-product-table.php

    Cheers

    Thread Starter brainiak433

    (@brainiak433)

    Hello! Thank you!
    Tell me please how i can to cancel this code http://prntscr.com/p2scs3 ?
    I don’t need change position review table in checkout.

    Thank you so much!

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

The topic ‘Right Way to customize plugin?’ is closed to new replies.