如何在wooCommerce插件中制作/嵌入我自己的产品展示设计 [英] How can make/embed my own product display design in wooCommerce plugin

查看:240
本文介绍了如何在wooCommerce插件中制作/嵌入我自己的产品展示设计的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个wordpress网站,我在其中使用wooCommerce插件来处理产品。我的问题是,我想使用woocommerce制作我自己的产品展示区块设计,我怎样才能使我自己的产品设计显示并取代默认设置。



我已经搜寻了很多解决问题但无法解决的问题,请帮助我解决这个问题。

解决方案

转到woocommerce插件文件夹。里面找到一个文件夹模板。复制此文件夹到您的主题文件夹并重命名文件夹'woocommerce'。



现在每个模板都在那里,您可以按照您的要求修改这些文件。



从您提供的截图中,我可以建议您编辑名为'content-product.php'的页面,此页面会给出产品块的输出。



并且列表页面是'archive-product.php'。


I am creating a wordpress website in which I am using wooCommerce plugin for products. My problem is that I want to make my own product display block design using woocommerce how can I make my own design for products display and replace the default.

I have searched a lot to solve the problem but cannot solve it please help me in this issue.

解决方案

Go to woocommerce plugin folder. Inside that find a folder 'templates'. Copy this folder to your theme folder and rename the folder 'woocommerce'.

Now every template is there, you can modify those files as per your requirement.

From your provided screenshot, I can suggest you to edit the page called 'content-product.php', this page gives you output of product blocks.

And the listing page is 'archive-product.php'.

这篇关于如何在wooCommerce插件中制作/嵌入我自己的产品展示设计的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆