在woocommerce主题中修改产品页面的位置 [英] Where to modify product page in a woocommerce theme
本文介绍了在woocommerce主题中修改产品页面的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想修改多个项目的项目选择器的外观.在哪里可以找到保存这个的文件?
I would like to modify the look of the item picker for multiple items. where can I find the file that holds this?
推荐答案
您可以编辑wp-content/plugins/woocommerce/templates/content-single-product.php
或复制
wp-content/plugins/woocommerce/templates/content-single-product.php
到
wp-content/themes/your-child-theme/woocommerce/content-single-product.php
并编辑复制模板以适应.复制模板将覆盖插件模板,您可以在不丢失自定义模板的情况下更新 WooCommerce.
and edit the copy template to suit. The copy template will override the plugin template and you can update WooCommerce without losing your custom template.
这篇关于在woocommerce主题中修改产品页面的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文