sync
This commit is contained in:
@@ -1016,12 +1016,17 @@ export default function Drop() {
|
||||
{calculatePrice().toFixed(2)} {currency}
|
||||
</span>
|
||||
</div>
|
||||
<div style={{ display: 'flex', justifyContent: 'space-between', marginBottom: '8px' }}>
|
||||
<div style={{ display: 'flex', justifyContent: 'space-between', marginBottom: '4px' }}>
|
||||
<span style={{ color: 'var(--muted)', fontSize: '14px' }}>{t('drop.shippingFee')}:</span>
|
||||
<span style={{ fontWeight: 500, fontSize: '14px' }}>
|
||||
{loadingShippingFee ? '...' : (shippingFee !== null ? shippingFee.toFixed(2) : '40.00')} {currency}
|
||||
</span>
|
||||
</div>
|
||||
<div style={{ marginBottom: '8px', marginLeft: '0', paddingLeft: '0' }}>
|
||||
<span style={{ color: 'var(--muted)', fontSize: '12px', fontStyle: 'italic' }}>
|
||||
{t('drop.shippingFeeNote')}
|
||||
</span>
|
||||
</div>
|
||||
<div style={{
|
||||
display: 'flex',
|
||||
justifyContent: 'space-between',
|
||||
@@ -1352,12 +1357,17 @@ export default function Drop() {
|
||||
{paymentData.subtotal?.toFixed(2) || (paymentData.price_amount - (paymentData.shipping_fee || 0)).toFixed(2)} {paymentData.price_currency.toUpperCase()}
|
||||
</span>
|
||||
</div>
|
||||
<div style={{ display: 'flex', justifyContent: 'space-between', marginBottom: '8px' }}>
|
||||
<div style={{ display: 'flex', justifyContent: 'space-between', marginBottom: '4px' }}>
|
||||
<span style={{ color: 'var(--muted)' }}>{t('drop.shippingFee')}:</span>
|
||||
<span style={{ fontWeight: 500 }}>
|
||||
{paymentData.shipping_fee?.toFixed(2) || '0.00'} {paymentData.price_currency.toUpperCase()}
|
||||
</span>
|
||||
</div>
|
||||
<div style={{ marginBottom: '8px', marginLeft: '0', paddingLeft: '0' }}>
|
||||
<span style={{ color: 'var(--muted)', fontSize: '12px', fontStyle: 'italic' }}>
|
||||
{t('drop.shippingFeeNote')}
|
||||
</span>
|
||||
</div>
|
||||
<div style={{
|
||||
display: 'flex',
|
||||
justifyContent: 'space-between',
|
||||
|
||||
Reference in New Issue
Block a user