Home Forums WoodMart support forum Checkout steps: how to override template in /inc/ folder ?

Checkout steps: how to override template in /inc/ folder ?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #150461

    James
    Participant

    I am trying to override things in the checkout_steps.

    I’ve identified that for what I want to change, the file is /wp-content/themes/woodmart/inc/integrations/woocommerce/template-tags.php.

    I tried copying the whole /inc/ folder to the child theme but it doesn’t override.
    How can I achieve that so I don’t loose setting on update?

    Thanks

    #150464

    Artem Temos
    Keymaster

    Hello,

    You need to copy the PHP function that contains the code that you want to customize to the file functions.php in your child theme. You can override core files in the child theme in the same way as you do that with WP template files.

    Regards

Viewing 2 posts - 1 through 2 (of 2 total)