ordering-ui-react-native 0.14.31 → 0.14.32
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.
package/package.json
CHANGED
|
@@ -423,17 +423,6 @@ export const ProductOptionsUI = (props: any) => {
|
|
|
423
423
|
</OText>
|
|
424
424
|
)}
|
|
425
425
|
</View>
|
|
426
|
-
<View style={{ flexDirection: 'row', marginBottom: 10 }}>
|
|
427
|
-
<OText size={16} style={{ flex: I18nManager.isRTL ? 1 : 0 }} color={theme.colors.primary}>{productCart.price ? parsePrice(productCart.price) : ''}</OText>
|
|
428
|
-
{product?.offer_price && (
|
|
429
|
-
<OText style={{ fontSize: 14,
|
|
430
|
-
color: '#808080',
|
|
431
|
-
textDecorationLine: 'line-through',
|
|
432
|
-
marginLeft: 7,
|
|
433
|
-
marginRight: 7
|
|
434
|
-
}}>{parsePrice(product?.offer_price)}</OText>
|
|
435
|
-
)}
|
|
436
|
-
</View>
|
|
437
426
|
{((product?.sku && product?.sku !== '-1' && product?.sku !== '1') || (product?.estimated_person)) && (
|
|
438
427
|
<OText size={14} style={{ flex: I18nManager.isRTL ? 1 : 0 }} color={'#909BA9'} mBottom={7}>
|
|
439
428
|
{
|
|
@@ -449,11 +438,20 @@ export const ProductOptionsUI = (props: any) => {
|
|
|
449
438
|
</OText>
|
|
450
439
|
)}
|
|
451
440
|
{isHaveWeight ? (
|
|
452
|
-
<OText size={16} lineHeight={24} color={theme.colors.
|
|
441
|
+
<OText size={16} lineHeight={24} color={theme.colors.primary}>{parsePrice(pricePerWeightUnit)} / {product?.weight_unit}</OText>
|
|
453
442
|
) : (
|
|
454
|
-
<
|
|
455
|
-
{productCart.price ? parsePrice(productCart.price) : ''}
|
|
456
|
-
|
|
443
|
+
<View style={{ flexDirection: 'row', marginBottom: 10 }}>
|
|
444
|
+
<OText size={16} style={{ flex: I18nManager.isRTL ? 1 : 0 }} color={theme.colors.primary}>{productCart.price ? parsePrice(productCart.price) : ''}</OText>
|
|
445
|
+
{product?.offer_price && (
|
|
446
|
+
<OText style={{
|
|
447
|
+
fontSize: 14,
|
|
448
|
+
color: '#808080',
|
|
449
|
+
textDecorationLine: 'line-through',
|
|
450
|
+
marginLeft: 7,
|
|
451
|
+
marginRight: 7
|
|
452
|
+
}}>{parsePrice(product?.offer_price)}</OText>
|
|
453
|
+
)}
|
|
454
|
+
</View>
|
|
457
455
|
)}
|
|
458
456
|
</>
|
|
459
457
|
)}
|