Project

General

Profile

Actions

New Function #373

closed

[APP] 1+1 행사 적용 검토

Added by Jisoo Choi 7 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Start date:
02/23/2024
Due date:
% Done:

0%

Estimated time:
Spent time:

Description

 

 

행사 중 1+1 할인에 대한 내용 검토를 부탁드립니다.

- 이전 가격 할인과 동일하게 VI_APP_EVEVT, VI_APP_EVENT, VI_APP_EVEVT_ITEM의 세 테이블을 통해 행사 내용을 조회합니다.

- 2+1은 적용 없이 1+1만 적용하며, 동일 상품에 대한 1+1만 지원할 예정입니다.

- 1+1 행사 적용 상품일 시, 관리자 페이지, 앱 모두 태그로 표시하며, 수량은 2개 단위(2, 4, 6개 단위로만 주문 가능), 가격은 2개 구매 시 1개 가격으로 처리

*이 경우 재고 차감 시에도 2개로 차감, 판매 처리 시에도 2개로 처리하고 1+1 상품임을 전달하는 값 추가

- 1+1 행사 적용 상품일 시, 임직원 할인가 반영 x

 

우리 쪽 개발 확인 후 가능한 내용을 바탕으로 코레일유통에 검토 요청 및 필요한 내용을 요청할 예정입니다.

에이전트, POS 쪽은 1+1으로 인해 프론트 기준 크게 영향을 받는 부분은 없을 것 같습니다.

반영이 불가능한 부분이 있거나 혹시 1+1 적용 시에 더 편하게 반영 가능하실 것 같은 대안이 있다면 말씀 부탁드립니다 !

 

첨부드리는 ppt와 pdf 내용은 동일하므로 더 편하신 형식으로 확인해주시면 될 것 같습니다.

 

 


Files

Actions #1

Updated by Jisoo Choi 7 months ago

 

 

 

ppt 파일 첨부합니다.

 

 

 

 

Actions #2

Updated by Deca Park 7 months ago

[1+1 sale event]

1.Git

  • develop-20240305-#373

2.#339-note#1 (red text)

  1) [KRS Scheduler] schedulerKRSGoods, [ADMIN] 스토리 오더 관리 > 상품 관리 (/storeProduct) > 편의점 KRS 수동 업데이트

  • add 1+1 event (003) into event scheduler

3.#339-note#6 (red text)

  • add condition into discount event logic 
Actions #3

Updated by Deca Park 7 months ago

[API changes according to 1+1 event]

[API] GET /api/store_product_list
[API] GET /api/cart_product_list
[API] GET /api/product_info

1.Response (add it next to event_discount_yn)
  1) event_1p1_yn
    a) if the product is 1+1 event product, set 'Y'
      else, set 'N'
    b) [check logic]
      st_krs_event
        - condition: event_kind = '003' AND event_bgnde <= today <= event_edde
      st_krs_event_store_item
          - condition: product_code = {the product_code}

[API] POST /api/store_order

1.Request (add field)
  1) order_products > event_1p1_yn
    - String : 1+1이벤트여부 (Y/N)

2.Logic
  1) INSERT st_order_product
    a) event_1p1_yn (new)
      - set by param
      - if value is null(empty), set by 'N'

[API] GET /api/order_list
[API] GET /api/order

1.Response (add field)
  1) products > event_1p1_yn
    - set by st_order_product.event_1p1_yn
    - if value is null(empty), set by 'N'

Actions #4

Updated by Deca Park 7 months ago

  • Assignee changed from Deca Park to Toby Pham
Actions #5

Updated by Deca Park 7 months ago

[ADMIN] [APP]

1.Spec

  • 코레일유통_1+1_행사상품_en.pptx
Actions #6

Updated by Deca Park 7 months ago

  • Status changed from New to In Progress
Actions #7

Updated by Jisoo Choi 6 months ago

 

 

1+1 할인 관련 수정 및 추가된 파일 전달드립니다.

 

 [스토리 오더] 결제 과정 중 1+1 상품에 대한 표기 수정파일 경로
views\pages\smartorder\storeView.html
views\pages\smartorder\itemView.html
views\pages\smartorder\cart.html
views\pages\smartorder\payment.html
views\pages\smartorder\orderComplete.html
views\pages\mypage\orderView.html
views\pages\mypage\orderDetailSmartorder.html/public/scss/common.scss
/public/css/common.css

 

 

 

Actions #8

Updated by Toby Pham 6 months ago

  • Status changed from In Progress to Resolved
  • Assignee changed from Toby Pham to Deca Park
Actions #9

Updated by Deca Park 6 months ago

[ADMIN] 스토리 오더 관리 > 상품 관리 (/storeProduct) > 상세(Modify)

1.if product is 1+1 event product (http://210.123.124.139:8084/storeProduct/216455-7021957?menuCode=M7002&amp;productCode=216455-7021957)

  • server error happens

 

[APP] 스토리 오더 (http://210.123.124.139:3001/smartorder/mall/216455)

0.test id/password: dev01/123456

1.when 1+1 event product (refer to spec-p4)
  - currently, 1+1 icon is not displayed 

[APP] 주문내역 (http://210.123.124.139:3001/mypage/order)

1.when 1+1 event product (refer to spec-p6)
  - currently, 1+1 icon is not displayed 

Actions #10

Updated by Deca Park 6 months ago

[APP] 스토리 오더 > product info (http://210.123.124.139:3001/smartorder/item/216455-7021957)

1.when 1+1 event product
  1) 바로 주문하기 (order)
    - order amount is set wrong (not 1+1 event price)
  2) but, if 주문하기 (order) on 장바구니 (http://210.123.124.139:3001/smartorder/cart)
    - order amount is set normally

[APP] 주문하기 (order)

1.when 1+1 event product
  1) DB: st_order_product (logic)
    - test order_no='240315193845SMWA'

    a) sale_price is set wrong
      ex) price=4000, discount_amount=400, sale_price=3600
           (but sale_price=1800 wrong. don't do like product_amount/order_count)
    b) event_1p1_yn : set by Y (currently, N is set wrong)

Actions #11

Updated by Deca Park 6 months ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Deca Park to Toby Pham
Actions #12

Updated by Toby Pham 6 months ago

  • Status changed from Feedback to Resolved
  • Assignee changed from Toby Pham to Deca Park
Actions #13

Updated by Deca Park 6 months ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Deca Park to Toby Pham

[APP] 스토리 오더 (http://210.123.124.139:3001/smartorder/mall/216455)

0.test id/passwor: dev01/123456 (user_grade='UG02')

1.if 1+1 event product AND login user have staff discount (임직원)
  1) 1+1 icon before product image
    - currently, 1+1 icon is not displayed (should show it)
    - if user don't have staff discount (임직원), it's shown normally
  2) product sale price
    a) in case 1+1 event
      - although login user is staff (user_grade='UG02'), don't apply staff discount price
      - but if price has discount, price without discount is shown wrong
        + apply common product sale price

      ex) product_cd: 216455-7021957
        - common product: price=4000, discount_amount=400 (10%), sale_price=3600

  3) when order (주문하기)
    - in case 1+1 event, although login user is staff (user_grade='UG02'), don't apply staff discount price

[APP] 장바구니 (cart)

1.if 1+1 event product AND login user have staff discount (임직원)
  1) product sale price
    - same with [APP] 스토리 오더 > 1-2)
  2) when order (주문하기)
    - same with [APP] 스토리 오더 > 1-3)

Actions #14

Updated by Toby Pham 6 months ago

  • Status changed from Feedback to Resolved
  • Assignee changed from Toby Pham to Deca Park
Actions #15

Updated by Deca Park 6 months ago

  • Assignee changed from Deca Park to Jisoo Choi
Actions #16

Updated by Jisoo Choi 6 months ago

  • Status changed from Resolved to In Progress
  • Assignee changed from Jisoo Choi to Deca Park

 

 

 

장바구니 오타만 수정 부탁드립니다.

: 구맨 가능합니다 -> 구매 가능합니다.

 

 

Actions #17

Updated by Deca Park 6 months ago

  • Status changed from In Progress to Resolved
  • Assignee changed from Deca Park to Jisoo Choi
Actions #18

Updated by Jisoo Choi 6 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF