解析Bug #469
Updated by Zhongbao Ye 8 months ago
*Background* # Fully understand the price calculation rules and list the test bugs *Bug lists* # *(Done)*:价格中的span 标签没有起始标签 <span> ** Bruce: 我json工具显示的问题,可以添加:htmlentities() 解决显示不全的问题。 # design_type的值的类型有多种,应该统一 # 添加sub option 保存后,这里不显示 sub option name # 在 option(option_id = 88) 级别中,设置option value 的 start cost price,价格计算时没有统计该价格 # 如果option value 设置了price,product 中的 sub option value 的 price输入框是否需要Disabled,待van决定。 # currency price useRound 下,数量越多产生的差异越大,计算逻辑相同,他们产生差异的原因是什么? *v4 coding standard:* # Git提交 #xxx(redmine number): xxx(redmine title) - xxx(任意:补充内容) # 代码规范 2.1: 结构:Public -> Protected -> Private 2.2: 其他代码规范同SBX # MVCL的v3/v4物理分割 3.1: v3/v4的代码分为两个文件,比如: order.php, order_v3.php 3.2: system也分为两个文件,暂时只有一个user_v3 - Note: front的$this->user在v4中会替换为$this->customer, 即v4中需要清除$this->user 3.3: 代码中,区分v3/v4的调用,比如:new User_V3 # 前台代码 twig, js, css (js, css尽量写在单独的css文件中) # 后台代码 MVCL (L:en,cn) # 注释 ## 类名: <pre> /** * xxx * * @copyright RedBlue-OTS 2024 * @version v4 * */ </pre> ## 函数名:参数类型 + 返回值类型 <pre> /** * xxx * * @param xxx $xxx * @param xxx $xxx * @return xxx */ </pre> *Output* * Report and Solution *Others*