无法覆盖woocommerce variable.php模板

我想通过覆盖和修改我的variable.php模板页面来自定义单个产品页面上的”添加到购物车表单”部分。我已将其主题的副本添加到woocommerce文件夹中, 并开始对其进行更改, 但看不到表单的更改。我已经成功覆盖了其他模板, 例如我的single-product.php。我添加了为模板设置的文件图像以及要更改的图像。

这是我要覆盖的文件的文件设置

这是我要覆盖的文件的文件设置

这是我要修改的区域

这是我要修改的区域

#1


你需要覆盖的文件位于:

your-theme\woocommerce\single-product\add-to-cart\variable.php

来源:

https://www.srcmini02.com/64815.html

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_37388.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?