• Resolved Stolle7

    (@stolle7)


    Is it possible to create a new directory in a child theme to overwrite the “variable.php” file?

    I’ve tried several solutions but without any luck.

Viewing 1 replies (of 1 total)
  • Thread Starter Stolle7

    (@stolle7)

    I had misunderstood the method to overwrite plugin files in a child theme and have now found the correct method.

    I’ve succesfully overwritten the variable.php file by creating the following directory in my child theme:

    /wp-content/themes/”{my theme name}”/woocommerce/single-product/add-to-cart/variable.php

Viewing 1 replies (of 1 total)

The topic ‘Overwrite plugin file from child theme?’ is closed to new replies.