首页
Zen Cart 论坛
Zen Cart 下载
Zen Cart 教程
问题解答
高级搜索
购物车为空
人民币
US Dollar
货币:
中文
English
语言:
首页
::
英文版模块
::
Other Modules
:: Attribute Cross-Validation
Zen Cart 下载
Zen-Cart
语言包
支付模块
配送模块
其它模块
实用工具
新闻模块
边框模块
系统集成
文档资料
测试模块
历史版本
英文版模块
Admin Tools
Buttons and Graphics
Language Packs
Marketing Tools
Other Modules
Payment Modules
Pricing Tools
Privacy and Condition Statements
Product Types
Shipping Modules
Sideboxes
Template Alterations
Template Packages - Legacy
Template Packages - Responsive
Troubleshooting Tools
Zones
最新下载 ...
推荐下载 ...
所有下载 ...
Attribute Cross-Validation
商品 19/315
The attribute cross-validation module allows shop owners to create dependencies/exclusions between one or more options/option value combinations (something you will see referenced throughout the code documentation as "px_id") and one or more option/option value combinations.
The px_id is directly related to
(and equivalent to) products_options_values_to_products_options_id in the products_options_values_to_products_options
table. in other words, the px_id is a subset of all products_options_values_to_products_options_id.
The products_attrib_cross_validation table relates products_options_values_to_products_options_id (px_id's) to other
products_options_values_to_products_options_id (rel_px_id's) through an action value (act_value) which establishes the
dependency. Action values either establish a dependency between the px_id and rel_px_id (px_id "needs" rel_px_id) or
establishes exclusions (px_id "cannot exist" with rel_px_id).
Ok, here is a less technical example regarding options that cannot exist with other options:
I sell a shirt. The customer can order this shirt with a number of required options (color, size, etc.). Ok, no problem there -
ZenCart handles that out of the box. The shirt also has non-required options: It can be monogrammed with initials entered in a
text box. If the customer wants monogramming, though, they have to tell us where to put the monogram (right sleeve, left sleeve
shirt tail), right? You see where this is going?
If the customer enters INITIALS (in a text box) but doesn't tell us where to put the initials (i.e. "none" on the drop down),
then the system will issue an error and say that INITIALS cannot exists with "none", and conversely "none" cannot exist
with INITIALS. Incidentally, the messages are built dynamically based on the language files and the rule that was violated.
Since we don't know the customer's intent (does he really want initials or not), "cannot exist" rules display messages
for both options included in the setup table (in this case the Initials Text Box and the Initials Location Drop Down error out).
The error messages look like this:
_ On the Option for: Optional Initials "AAA" Cannot Co-exist With Optional Initials Location "none" _
_ On the Option for: Optional Initials Location "none" Cannot Co-exist With Optional Initials "AAA" _
On a similar note here is and example regarding options that require (need) other options:
The customer tells us where to put the initials (eg shirt tail), but doesn't enter text in the text box. In this case we
have set up a rule that says the shirt tail option "needs" text in the initials text box option. When the customer tries to
add the item to the cart, it errors out and says just that -
_ On the Option for: Optional Initials Location "Shirt Tail" Needs Optional Initials "TEXT" _
You can check this out at www.marcyjets.com.
插件版本:
1.2
下载链接:
Attribute Cross-Validation
与我们联系
该商品加入分类的日期为 2015年 01月 03日
推荐下载 -
更多
Zen Cart v1.5.4 中文插件版
SFC 三态速递接口模块
Zen Cart v1.5.4 简体中文语言包
商品通知
如有更新请通知我
Attribute Cross-Validation
在线名单
当前有 50 位访客 在线
首页
::
联系我们
::
友情链接
::
网站地图
::
版权所有 © 2024
Zen Cart 中文
- 陕ICP备16008791号 -
网站维护