Project

General

Profile

追加功能 #437

v4.0: General

Added by Junyi Zhang about 1 year ago. Updated 10 months ago.

Status:
已关闭
Priority:
普通
Assignee:
Target version:
IT: Easytryck (Sweden) - v4.0
Start date:
10/17/2024
Due date:
10/21/2024
% Done:

100%

Estimated time:

Description

Background
  1. New requirement for v4.0 OTS
    See: OneDrive\赤蓝商贸(上海)有限公司\Shanghai Group - IT\开发相关\OTS V4\开发需求
  2. Base: https://git-codecommit.cn-northwest-1.amazonaws.com.cn/v1/repos/ots4.0-web
Task Details
  1. Prepare a clean environment based on openCart as the base for v4.0.
  2. Connect both the old database(OTS v3) and the new database(OTS v4).
  3. Re-build the structure of the front files directory
    - twig: view/theme/default/template/xxx
    - CSS: view/theme/default/stypesheet/xxx
    - js: view/javascript/xxx
    - third-party: view/third-party/xxx
  4. Support EN/SE/CN languages
    - language_id: en = 1, se = 2, cn = 3
Admin修改:
  1. Add 'zh', 'se' language
  2. Modify settings:
    - system -> settings -> general: Meta title ~ Meta tag keywords
    - system -> settings -> store: store name
  3. Update the admin order_status module:
    1. Admin dynamic set order status, add 'code'(compatible with V3), and 'hex'(order row background color) fields.
      - Refer #440
    2. Add 'status' in admin order statuses module.
      - Set 'labelled' status = disabled
  4. Common settings:
    1. add config_order_limit for order list
      - Set 80
    2. Add 'config_order_complete_status'. Order list default excludes the order status.
      - Set 'Completed'
v4 coding standard:
  1. Git提交
    #xxx(redmine number): xxx(redmine title) - xxx(任意:补充内容)
      
  2. 代码规范
    2.1: 结构:Public -> Protected -> Private
    2.2: 其他代码规范同SBX
      
  3. 数据层规范(Model)
    3.1: 数据库操作只应出现在model或者system中。
    3.2: v3/v4的model分为两个文件,比如: order.php, order_v3.php
     
  4. 前台代码
    twig, js, css (js, css尽量写在单独的css文件中)
     
  5. 后台代码
    MVCL (L:en,cn)
     
  6. 注释
    1. 类名:
      /**
       * xxx
       *
       * @copyright RedBlue-OTS 2024
       * @version v4
       *
       */
      
    2. 函数名:参数类型 + 返回值类型
          /**
           * xxx
           *
           * @param  xxx $xxx
           * @param  xxx $xxx
           * @return xxx
           */
      
Output
  • Report and Solution

Others

#1

Updated by Junyi Zhang about 1 year ago

#2

Updated by Junyi Zhang about 1 year ago

  • Subject changed from v4.0: OTS v4.0 General to v4.0: OTS General
#3

Updated by Junyi Zhang about 1 year ago

  • Description updated (diff)
#4

Updated by Xihua Fan about 1 year ago

#5

Updated by Xihua Fan about 1 year ago

  • Subject changed from v4.0: OTS General to v4.0: General
  • Due date changed from 12/31/2024 to 10/18/2024
  • Status changed from 新建 to 进行中
  • Start date changed from 10/18/2024 to 10/17/2024
#6

Updated by Xihua Fan about 1 year ago

  • Due date changed from 10/18/2024 to 10/17/2024
#7

Updated by Junyi Zhang about 1 year ago

  • Description updated (diff)
#8

Updated by Junyi Zhang about 1 year ago

  • Description updated (diff)
#9

Updated by Junyi Zhang about 1 year ago

Output (2024/10/17 - 2024/10/18)

  1. Prepare a clean environment based on openCart as the base for v4.0 (100%)
  2. Connect both the old database(OTS v3) and the new database(OTS v4). (100%)
    - V3 is also the resource of order data and anything that changes on v4 about order needs to sync to v3 before V4 is production.
#11

Updated by Junyi Zhang about 1 year ago

  • Description updated (diff)
#12

Updated by Junyi Zhang about 1 year ago

  • Description updated (diff)
#13

Updated by Junyi Zhang about 1 year ago

  • Description updated (diff)
#14

Updated by Junyi Zhang about 1 year ago

Output (2024/10/21)

  1. Re-build the structure of the front files directory and all files should follow these rules: (100%)
    - twig: view/theme/default/template/xxx
    - CSS: view/theme/default/stylesheet/xxx
    - js: view/javascript/xxx
    - third-party: view/third-party/xxx
  2. Move/Add the third-party files to view/third-party/xxx (100%)
    - jquery(jquery-3.7.1.min.js): Add the newest jquery file
    - font-awesome(v6.6): Add the newest font-awesome files for icons
    - webfont(plus_jakarta): Add the 'plus_jakarta' font files as the first choice of text's font
  3. Pre-prepare common js/css files. (100%)
    - view/theme/default/stylesheet/common.css
    - view/javascript/easydingzhi/common.js
  4. Support EN/CN languages (100%)
    1. Old: web/catalog/language/en-gb/xxx
    2. New:
      - web/catalog/language/en/xxx
      - web/catalog/language/se/xxx
      - web/catalog/language/zh/xxx
#15

Updated by Junyi Zhang about 1 year ago

  • Description updated (diff)
#16

Updated by Junyi Zhang about 1 year ago

  • Description updated (diff)
#17

Updated by Xihua Fan about 1 year ago

  • Due date changed from 10/17/2024 to 10/21/2024
#18

Updated by Xihua Fan about 1 year ago

  • Description updated (diff)
#19

Updated by Xihua Fan about 1 year ago

  • Description updated (diff)
#20

Updated by Xihua Fan about 1 year ago

  • Description updated (diff)
#21

Updated by Junyi Zhang about 1 year ago

  • Description updated (diff)
#22

Updated by Junyi Zhang about 1 year ago

  • Status changed from 进行中 to 已关闭
  • % Done changed from 0 to 100
#23

Updated by Junyi Zhang about 1 year ago

  • Description updated (diff)
#24

Updated by Junyi Zhang about 1 year ago

  • Description updated (diff)
#25

Updated by Junyi Zhang about 1 year ago

  • Description updated (diff)
#26

Updated by Junyi Zhang about 1 year ago

  • Description updated (diff)
#27

Updated by Junyi Zhang about 1 year ago

  • Description updated (diff)
#28

Updated by Junyi Zhang about 1 year ago

  • Description updated (diff)
#29

Updated by Junyi Zhang 10 months ago

  • Description updated (diff)
#30

Updated by Junyi Zhang 10 months ago

Output (2025/02/12)

  1. Support muti-language: EN, SE, CN
    1. language_id: EN = 1, SE = 2, CN = 3
#31

Updated by Xihua Fan 10 months ago

  • Tracker changed from 其他 to 追加功能

Also available in: Atom PDF