shopify商店模板产品目录页更改步骤

2024-01-01 14:01:26
By 唱着咆哮去葬礼

更改产品目录页面

所有 Shopify 商店都有一个 URL 为 your-store.com/collections/all 的页面,其中列出了商店中的所有可见产品。这是商店的目录页面。默认情况下,目录页面上的产品以字母顺序显示。您可以创建产品系列以控制此页面上显示产品的顺序。

创建产品系列以控制产品目录页面

您可以创建标题为 All 的产品系列,以控制产品在目录页面上的显示顺序。

步骤:

  1. 在 Shopify 后台中,转到产品 > 产品系列

  2. 点击创建产品系列

    1. 输入 All 作为产品系列的标题。

    2. 产品系列类型部分中,选择自动

    3. 从第一个下拉列表中选择产品价格

    4. 从第二个下拉列表中选择大于

    5. 输入 $0。

    6. 可选:若要隐藏库存不足的产品,请添加条件库存大于 0

  3. 点击保存

现在您已创建了 All 产品系列,可对其中的产品进行排序。滚动到产品部分,然后从排序下拉菜单中选择一个选项。如果您选择手动,则可以使用拖放 handle ?? 重新排列产品。

如果要更改 All 产品系列的标题,可以在创建产品系列后立即对其进行编辑。但是,必须仍将产品系列的 handle 设为 all。要对此进行确认,可以滚动到搜索引擎列表预览部分,然后点击编辑网站 SEO。在 URL 和 handle 文本框中,您应看到以 /all 结尾的 URL。如果 URL 以其他内容结尾,请将其更改为 /all,然后点击保存

您对此产品系列中产品的订单所做的更改将反映在您在线商店的产品目录页面上。

Shopify商户官网原文详情:

Change your catalog page

All Shopify stores have a page with the URL your-store.com/collections/all that lists all of the visible products in the store. This is the store's catalog page. By default, products on the catalog page are displayed in alphabetical order. You can create a collection to control the order in which your products are displayed on this page.

Create a collection to control your catalog page

You can create a collection with the title All to control the order in which products are displayed on your catalog page.

Steps:

  1. From your Shopify admin, go to Products > Collections.

  2. Click Create collection:

    1. Enter All as the title for the collection.

    2. In the Collection type section, select Automated.

    3. Select Product price from the first dropdown list.

    4. Select is greater than from the second dropdown list.

    5. Enter $0.

    6. Optional: To hide products that are out of stock, add the condition Inventory stock is greater than 0

  3. Click Save.

Now that you have created your All collection, you can sort the products within it. Scroll to the Products section and select an option from the Sort drop-down menu. If you select Manually, then you can rearrange your products by using their drag and drop handles ??.

If you want to change the title of your All collection, then you can edit it now that the collection has been created. It is important, however, that the handle of the collection remains set as all. You can confirm this by scrolling to the Search engine listing preview section, and clicking Edit website SEO. In the URL and handle text box, you should see a URL that ends in /all. If the URL ends in something different, then change it to /all, and click Save.

The changes that you make to the order of your products in this collection will be reflected on the catalog page of your online store.

文章内容来源:Shopify商户官方网站



(本文内容根据网络资料整理和来自用户投稿,出于传递更多信息之目的,不代表本站其观点和立场。本站不具备任何原创保护和所有权,也不对其真实性、可靠性承担任何法律责任,特此声明!)


常见问答(FQAS)


如何添加或修改产品目录页?

登录你的Shopify管理面板,导航到“添加和编辑产品”页。在产品列表中找到你需要添加或修改的产品,点击其名称后可以编辑产品信息,包括产品标题、图片、价格等。

如何重新排序产品目录页中的产品?

点击产品列表顶部的“重新排序”按钮,拖动产品标题块重新排列产品顺序。页面保存后产品将根据新顺序显示。

如何为产品目录页添加筛选功能?

登录管理面板,导航到“設定”>“模板和样式”>“模板编辑器”,选择产品目录页模板,添加自定义代码添加筛选插件或模块。例如使用“collections.liquid”添加品类筛选功能。

如何更改产品目录页模板样式?

同样导航到“设置”>“模板和样式”>“模板编辑器”,选择产品目录页模板并编辑HTML和CSS代码修改产品目录页样式设计。也可以选择安装第三方产品目录模板应用扩展样式功能。

如何设置产品目录为数字分页?

登录管理面板,导航到“设置”>“取商品”,将“每页产品数量”设置为小于产品总数的数字,此时系统会自动为产品目录页添加数字分页。