I've created a child theme out of the Storefront theme. Everything seems to be working fine but on the checkout page, there is a WooCommerce Stripe payment plugin that is working perfectly fine in the parent theme itself but when I use the child theme, that plugin fails to load properly. The credit card fields are looking weird as well as I am unable to put anything in the fields. (screenshot attached). When I inspected through Chrome inspect tool, the fields are not populating at all in the DOM.
Is there anything I need to add in my function file etc?. Since in parent Storefront theme it's working like a charm.
Kindly help me out since I am very new to WP theme development. Thanks!
I've created a child theme out of the Storefront theme. Everything seems to be working fine but on the checkout page, there is a WooCommerce Stripe payment plugin that is working perfectly fine in the parent theme itself but when I use the child theme, that plugin fails to load properly. The credit card fields are looking weird as well as I am unable to put anything in the fields. (screenshot attached). When I inspected through Chrome inspect tool, the fields are not populating at all in the DOM.
Is there anything I need to add in my function file etc?. Since in parent Storefront theme it's working like a charm.
Kindly help me out since I am very new to WP theme development. Thanks!
Share Improve this question asked Nov 1, 2019 at 6:05 Farhan ZafarFarhan Zafar 11 Answer
Reset to default 0It sounds like your child theme is not setup properly. I would recommend asking the theme developer on how to create a child theme. Or use a plugin to create a child theme for you. There are several child theme creator plugins.
In addition to that you will need to ensure that all server caching and all caching plugins have been disabled as those can cause issues when switching to child themes.