如何更改目录集? [英] How to change a catalog set ?

查看:88
本文介绍了如何更改目录集?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我需要的是添加一个表达式来过滤我在products表上所做的字段设置的目录,以使产品不可见;但是当我去添加表达时,我没有看到我添加到表格中的字段...所以,¿我该怎样做才能看到我需要的字段?


谢谢!

解决方案

CatalogSet可以使用基于CatalogProperties(例如CatalogName)的Expression进行动态过滤,但不能在为产品定义的属性上进行动态过滤。如果您想让产品不可见,您可以在产品级别创建一个IsVisible属性,并根据您的喜好更改产品列表,搜索结果和产品详细信息页面上的代码以处理此方案。


Hi all,

What I need is to add an expression to filter the catalog set by a field that I did on the products table to put a product as invisible; but when I go to add expression, I dont see the field that I add to the table... so, ¿How do I do to make visible the field that I need?


Thanks!

解决方案

CatalogSet can be dinamically filtered with Expression based on the CatalogProperties (eg. CatalogName) but not on the properties defined for products. if you want make a product invisible, you can make an IsVisible property at product level and change your code on product list, search results and product detail page to handle this scenario as you prefer.


这篇关于如何更改目录集?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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