gpt4 book ai didi

magento - 在 Magento 中创建产品时添加标签?

转载 作者:行者123 更新时间:2023-12-02 10:08:30 24 4
gpt4 key购买 nike

“产品标签”选项卡仅在产品创建后才会出现。即使如此,似乎也没有办法向产品添加标签 - 它仅在您编辑产品时显示它们,而且我只看到“重置过滤器”和“搜索”按钮。

那么标签仅供客户使用?不是管理员?

有没有办法在创建产品时添加标签?就像您在 WordPress 中创建博客文章时可以指定标签一样。这是一个直观的功能,可以帮助对项目(产品或博客文章)进行分类,甚至比类别和属性更好(您不能使用太多属性,否则用户不友好)。

如果无法从控制面板完成此操作。有什么方法可以通过 Magento API 以编程方式执行此操作吗?

最佳答案

有三种方法可以做到这一点:

A) 要在输入/编辑产品时直接添加标签,您将需要一个扩展名,例如 this one此方法对于让 magento 经验较少的人创建标签(例如数据输入人员)最有用

B) 在不离开管理员的情况下添加标签(不进入前端)。 这对于将相同的标签应用于多个产品非常有用:

Create tags through Catalog->All Tags-> Add New Tag button.

After creating the tags, click on each tag. You’ll see a detailed set of options to “Edit Tag”.

Go to the “Products tagged as administrator” tab, click on ‘Reset Filter” . You see all your products getting listed.

Select the products to which you want to assign the tag & click on “Save Tag”.

C) 要通过前端和后端添加标签当您想要向每个单个产品添加大量标签时非常有用:

Just create your products as normal. When you are ready to add tags to your products just create yourself a customer account for your store and go to each product and add them as a customer would. I wrote out all of my tags in a text editor. Now since I am using phrases, and not just words, my tags will be entered as:

‘Stylus C64’ ‘Stylus C66’ ‘Stylus C84’ ‘Stylus C84N’ ‘Stylus C84WN’ ‘Stylus C86’ ‘Stylus CX3600’ ‘Stylus CX3650’ ‘Stylus CX4600’ ‘Stylus CX6400’ ‘Stylus CX6600’

Take note that you need the single quote (’) to bracket your phrases… or just spaces between each word if your tags are single words. Very easy to write out and then copy/paste into the Add Your Tags section of each product.

Once you copy/paste your tags in the front-end you will be prompted with a message that they must be approved from the admin/moderator. Now log into the back-end and go to the tags section (Catalog > Tags > Pending Tags). There you will see the list of tags you just submitted from the front-end of the site. Now just click “Select All”, then from the Actions drop-down menu choose “Change Status”, and then from the status drop-down choose “Approved” and then “Submit”.

现在您可以选择最适合每种使用类型的方法!

关于magento - 在 Magento 中创建产品时添加标签?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9261935/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com