Home Forums WoodMart support forum Quick View template in /inc/ folder won’t work in child theme

Quick View template in /inc/ folder won’t work in child theme

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

    [email protected]
    Participant

    From what Google tells me, child themes don’t work with files in the /inc/ folder.

    I have updated the template for /woodmart/inc/integrations/woocommerce/modules/quick-view.php

    It works, but only when in the main /woodmart/ theme and not /woodmart-child/. How can I keep my template from being overwritten by updates?

    #496193

    Artem Temos
    Keymaster

    Hello,

    This folder can’t be overridden in the child theme. If you want to customize a particular PHP function, you can copy it to the functions.php file in the child theme and apply your changes there.

    Kind Regards

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