[5.x]: Can discounts Match Customer check against a completely anonymous cart
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先跟踪购物车中 discount 客户条件的评估过程,其中优惠券代码是在电子邮件地址之前输入的。在匿名购物车上复现用户组规则 "where user is not in group XYZ",然后验证无需先要求客户详细信息即可评估该条件。
由索引模型根据 Issue 内容生成。
描述
What happened?
Description
Current behaviour dictates that as soon as you create one rule in a customer condition on a discount this requires the cart must have a customer on it (even if they are a guest/non-credentialed user).
This works for the most part but does somewhat require that the email address for a cart is taken early in the process.
For example, somewhere this logic falls down is if a discount:
- has a coupon code
- has user group customer condition rule "where user is not in group
XYZ"
If the coupon code is entered earlier than the email then this fails, even though logic may suggest an anonymous customer who is yet to provide those details is not in that group.
Craft CMS version
5.x
Craft Commerce version
5.x
- 主要语言
- PHP
- 星标
- 242
- 派生
- 172
- 平均合并
- 21 小时 23 分钟
- 30 天内合并 PR
- 76
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
craftcms/commerce 的其他 Issue
-
[5.x]: `getInventoryLevel()` reads every inventory transaction of the location to return one item未关闭bug commerce5 Craft Commerce repo:commerce
难度 4/5 1-2 天 新手友好度 55/100
craftcms/commerce#4494 · 2 条评论 ·
维护者通常 1 天内回复
-
[6.x]: Commerce can't boot without `craftcms/yii2-adapter`可能重新可做 @lukeholder 于 30 天前认领,目前没有进行中的 PR。 未关闭repo:commerce
难度 4/5 3-5 天 新手友好度 45/100
craftcms/commerce#4402 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
[5.x]: Catalog pricing queue lock is held until the product save commits, so parallel saves run one at a time可能已有人在做 @nfourtythree 于 30 天前认领。 未关闭repo:commerce
难度 4/5 3-5 天 新手友好度 48/100
craftcms/commerce#4389 · 3 条评论 ·
维护者通常 1 天内回复
-
bug commerce5 Craft Commerce
难度 5/5 一周以上 新手友好度 25/100
craftcms/commerce#4264 · 4 条评论 ·
维护者通常 1 天内回复
-
[4.x]: Multiple empty carts when refreshing fast with autoSetNewCartAddresses setting可能重新可做 @lukeholder 于 596 天前认领,目前没有进行中的 PR。 未关闭bug commerce4 Craft Commerce
craftcms/commerce#3973 · 6 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 craftcms/commerce 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 86/100
Automattic/static-site-importer#3462 ·
维护者通常 1 天内回复
-
Document lexicon.default.userconfig and lexicon.default.userconfig.enforced in config.sample.php未关闭enhancement feature: settings good first issue
难度 1/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
nextcloud/integration_openai#480 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
roundcube/roundcubemail#10468 ·
维护者通常 1 天内回复