简体   繁体   English

Magento分层导航颜色

[英]Magento layered navigation colors

I have a bunch of shirts in a category. 我有一类衬衫。 A lot of them have special colors like night owl black and some that are black / red. 他们中的许多人都有特殊的颜色,例如夜猫子黑色,还有一些是黑色/红色。 So on and on. 如此等等。

I was wondering how to have them show up in layered navigation just as "black". 我想知道如何让它们像“黑色”一样显示在分层导航中。

How would I do something that? 我该怎么做?

A basic approach is to have two color attributes: 一种基本方法是具有两个颜色属性:

Navigation Color: Black, Red, Blue, Orange, Green, etc Vendor Color: Elective Blue, Fuzzy Teal, Mystery Yellow, etc 导航颜色:黑色,红色,蓝色,橙色,绿色等供应商颜色:可选蓝色,模糊蓝绿色,神秘黄色等

Setup the navigation color attribute to do the filtering. 设置导航颜色属性以进行过滤。 The Vendor Color is what is displayed on the product detail page or anywhere it may be appropriate. 供应商颜色是在产品详细信息页面上或任何合适的位置显示的颜色。

It's an added item to account for in the enrichment process but tends to work well enough. 这是在浓缩过程中要考虑的一个附加项目,但往往效果很好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM