最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

WooCommerce Stripe payment plugin working perfectly in storefront parent theme but not in the child theme

programmeradmin1浏览0评论

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 1
Add a comment  | 

1 Answer 1

Reset to default 0

It 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.

发布评论

评论列表(0)

  1. 暂无评论