如何在WordPress中创建产品目录(无购物车)

Do you want to create a product catalog in WordPress without adding a full-blown shopping cart? Sometimes businesses want to take order by phone while still displaying their product catalog on the website. In this article, we will show you how to easily create a product catalog in WordPress without a shopping cart.

您是否要在WordPress中创建产品目录而不添加完整的购物车? 有时,企业希望通过电话下订单,同时仍在网站上显示其产品目录。 在本文中,我们将向您展示如何在没有购物车的情况下在WordPress中轻松创建产品目录。

How to create a WordPress product catalog without shopping cart
为什么要添加没有购物车的产品目录 (Why Add a Product Catalog without Shopping Cart)

Some businesses have products that they can’t sell online because they have an undetermined price. This makes it impossible for them to use a shopping cart plugin, but they still want to make a website, so they can showcase those products and attract potential customers.

有些企业的产品价格无法确定,因此无法在线销售。 这使他们无法使用购物车插件,但是他们仍然希望建立一个网站 ,以便可以展示这些产品并吸引潜在客户。

Normally, people associate eCommerce platforms with online shopping. However, you can still use them to display products without using shopping cart feature.

通常,人们将电子商务平台与在线购物相关联。 但是,您仍然可以使用它们来显示产品,而无需使用购物车功能。

That being said, let’s take a look at how to easily create a product catalog in WordPress without using the shopping cart feature.

话虽如此,让我们看一下如何在不使用购物车功能的情况下轻松地在WordPress中创建产品目录。

WordPress产品目录入门 (Getting Started with Your Product Catalog in WordPress)

The best way to create a product catalog in WordPress is by using WooCommerce. Don’t worry, you will not be using any of its shopping cart features.

在WordPress中创建产品目录的最佳方法是使用WooCommerce 。 不用担心,您将不会使用它的任何购物车功能。

If you already have a WordPress website, then you can go ahead and install and activate the WooCommerce plugin. For more details, see our step by step guide on how to install a WordPress plugin.

如果您已经拥有WordPress网站,则可以继续安装并激活WooCommerce插件。 有关更多详细信息,请参阅有关如何安装WordPress插件的分步指南。

If you don’t have a WordPress site setup, then see our guide on how to create an online store to quickly set up WordPress with WooCommerce.

如果您没有WordPress网站设置,请参阅有关如何创建在线商店以通过WooCommerce快速设置WordPress的指南。

Once you have installed WooCommerce, you can move on to creating your product catalog in WordPress.

一旦安装了WooCommerce,就可以继续在WordPress中创建产品目录。

不使用购物车在WordPress中创建产品目录 (Creating Product Catalog in WordPress without Shopping Cart)

By default, WooCommerce displays an add to cart or buy button next to all your products. This makes it difficult to create a product catalog without the shopping cart feature.

默认情况下,WooCommerce在所有产品旁边显示“添加到购物车”或“购买”按钮。 这使得没有购物车功能很难创建产品目录。

Luckily, there’s an easy solution that fixes this problem.

幸运的是,有一个简单的解决方案可以解决此问题。

First, you need to install and activate the YITH WooCommerce Catalog Mode plugin. For more details, see our step by step guide on how to install a WordPress plugin.

首先,您需要安装并激活YITH WooCommerce目录模式插件。 有关更多详细信息,请参阅有关如何安装WordPress插件的分步指南。

Upon activation, you need to visit YITH Plugins » Catalog Mode page to configure the plugin settings.

激活后,您需要访问YITH插件»目录模式页面来配置插件设置。

Catalog mode

First, you need to check the box next to ‘Enable YITH WooCommerce Catalog Mode’ option to enable the plugin. After that, you need to choose where you want to hide the ‘Add to cart’ button.

首先,您需要选中“启用YITH WooCommerce目录模式”选项旁边的框以启用插件。 之后,您需要选择要隐藏“添加到购物车”按钮的位置。

You can choose to hide it on the shop pages or product details pages.

您可以选择将其隐藏在商店页面或产品详细信息页面上。

But in this case, you should go with the last option which allows you to disable shop feature everywhere by disabling the checkout page, cart page, and removing all add to cart button everywhere.

但是在这种情况下,您应该使用最后一个选项,该选项允许您通过禁用结帐页面,购物车页面并在所有位置删除所有添加到购物车按钮来在任何地方禁用商店功能。

Don’t forget to click on the ‘Save Changes’ button to store your settings.

不要忘记点击“保存更改”按钮来保存您的设置。

将产品添加到您的WordPress产品目录中 (Adding Products to Your WordPress Product Catalog)

You can now go ahead and start adding products to your site. Simply visit Products » Add New page to enter your product information.

现在,您可以继续并开始将产品添加到您的站点。 只需访问产品»添加新页面即可输入您的产品信息。

Add new product

On the products screen, you can provide product title, description, short description, product image, and product gallery. Under the ‘Product’ data section, you will find the price options. You can leave them blank if you don’t want to display product pricing.

在产品屏幕上,您可以提供产品标题,描述,简短描述,产品图像和产品库。 在“产品”数据部分下,您可以找到价格选项。 如果您不想显示产品价格,可以将它们留为空白。

Price options for product

Once you are finished, go ahead and publish your product. Repeat the process to add as many products as needed to build up your catalog.

完成后,继续发布产品。 重复该过程以添加所需数量的产品以建立目录。

查看您的WordPress产品目录 (Viewing Your WordPress Product Catalog)

You can visit your WooCommerce shop page to view your default catalog in action. Your shop page is usually located at a URL like this:

您可以访问WooCommerce商店页面以查看默认目录。 您的商店页面通常位于以下网址:

http://example.com/shop/

http://example.com/shop/

Replace example.com with your own URL to view your WooCommerce shop page in the catalog mode.

用您自己的URL替换example.com,以目录方式查看WooCommerce商店页面。

Shop page in catalog mode

If you don’t want to use the shop page, then you can also display your products on any WordPress page and use it as your product catalog.

如果您不想使用商店页面,则还可以在任何WordPress页面上显示您的产品并将其用作您的产品目录。

All you have to do is create a new WordPress page or edit an existing one, and add the following shortcode in the content area:

您要做的就是创建一个新的WordPress页面或编辑一个现有的WordPress页面,然后在内容区域中添加以下短代码

[products columns="4" limit="8" paginate="true"]

[products columns="4" limit="8" paginate="true"]

Feel free to change the number of columns and the items per page limit to your own requirements. Once you have adjusted the shortcode, go ahead and save or publish your page to preview it.

可以根据自己的需要随意更改列数和每页项目数限制。 调整完简码后,请继续保存或发布页面以对其进行预览。

Product catalog page preview

You will notice that the product pages will not show any add to cart or buy buttons. You can click on any individual product to see the product details page.

您会注意到,产品页面不会显示任何添加到购物车或购买按钮。 您可以单击任何单个产品以查看产品详细信息页面。

Product details page

It will show all the product information images, description, gallery, without an add to cart or buy button.

它将显示所有产品信息图像,描述,图库,而无需添加到购物车或购买按钮。

We hope this article helped you learn how to easily create a product catalog in WordPress without the shopping cart feature. You may also want to see our list of the best WooCommerce themes that you can use for your product catalog website.

我们希望本文能帮助您学习如何在没有购物车功能的情况下轻松地在WordPress中创建产品目录。 您可能还想查看我们可以在产品目录网站上使用的最佳WooCommerce主题列表。

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress视频教程。 您也可以在TwitterFacebook上找到我们。

翻译自: https://www.wpbeginner.com/plugins/how-to-create-a-product-catalog-in-wordpress-without-a-shopping-cart/

  • 1
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值