6-3 등록/수정 화면 만들기

등록/수정 화면 만들기에서는 위 사진과 같이 상품 카테고리와 판매 금액을 추가할 거예요.

관리자 웹 > 앱 설정 > 중고거래 메뉴 > 등록/수정 화면 > 화면 구성 항목에 금액 블록을 추가하고 항목 ID sellingprice, 항목명에 판매 가격을 입력해 주세요. 금액의 최댓값을 설정하기 위해 유효성 설정의 최대 글자 수에 10을 입력해 주세요. 최대 글자 수를 10으로 설정하면 글을 작성할 때 판매 금액의 글자 수가 10을 초과할 수 없어요.

관리자 웹 > 앱 설정 > 중고거래 메뉴 > 등록/수정 화면 > 화면 구성 항목에 단일 항목 선택을 추가하고 항목 ID에 productcategory를 입력해 주세요. 블록 설정의 옵션에는 3. 옵션 설정하기에서 등록했던 옵션인 카테고리(category)를 선택해 주세요. 글을 등록할 때 카테고리를 선택을 필수로 설정하기 위해 유효성 설정의 공백 가능 여부를 공백 불가로 선택해 주세요.

드래그앤드롭으로 화면 구성 항목의 순서를 제목 > 상품 카테고리 > 판매 가격 - ... 으로 변경하고 변경사항을 저장해 주세요.

앱을 새로고침하면 블록 순서대로 앱 등록/수정 화면에 나타난 걸 확인할 수 있어요.

#앱 설정, #등록/수정 화면, #금액 레고, #최댓값, #유효성 설정, #단일 항목 선택, #공백 가능 여부, #항목 ID, #항목명, #옵션

2023 07 24 ruru

6-3. Create Register/Modify Page

In the register/modify page, we will add the product category and the value as shown above.

Go to Web Admin > Developer Mode > App Settings > Marketplace > Register/Modify Page > Add value block to the screen configuration items. Set the item ID as sellingprice and the item name as selling price. To set a maximum amount that users can register their products for, enter 10 as the maximum number of insertable characters in the validity settings. If you set the maximum number of insertable numbers to 10, the price cannot exceed 10 characters.

Go to Web Admin > Developer Mode > App Settings > Marketplace > Register/Modify Page > Add a radio button selection to the screen configuration items. Set the item ID as "productcategory". In the buildingblock settings choose the option we created in 3. Option Settings, category. Select whether users have to select a product category when posting or whether to allow blank post in the validity settings.

Drag and drop to change the oder of the screen composition items to Title > Product Category > Selling Price > ... and save the changes.

If you refresh your app, you will see that the buildingblocks that appear on the app register/modify page are now in order.

2023.08.21 Hwaran

Last updated