pds-dev-kit-web-test 2.7.536 → 2.7.537
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -99,6 +99,14 @@ function Text(props) {
|
|
|
99
99
|
// 각 객체에서 name만 추출하여 문자열 배열로 만든 뒤 결합
|
|
100
100
|
return value.map(function (item) { return item.name; }).join(', ');
|
|
101
101
|
}
|
|
102
|
+
if (CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA === 'saleStatus') {
|
|
103
|
+
if (value === 'ACTIVE') {
|
|
104
|
+
return t('str_commerce_products_status_sale_active');
|
|
105
|
+
}
|
|
106
|
+
if (value === 'DISCONTINUED') {
|
|
107
|
+
return t('str_commerce_products_status_sale_stopped');
|
|
108
|
+
}
|
|
109
|
+
}
|
|
102
110
|
if (CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA === 'paid') {
|
|
103
111
|
if (value === 'PAID') {
|
|
104
112
|
return t('str_paid');
|