Commit 4f5ee4b3 by 王东红

fix

parent 5abc067c
......@@ -21,16 +21,16 @@ $schema = ($block->getZone() == 'item_view') ? true : false;
<?php if ($block->hasSpecialPrice()) :?>
<span class="special-price">
<?= /* @noEscape */ $block->renderAmount($finalPriceModel->getAmount(), [
'display_label' => __('Special Price'),
'display_label' => '',
'price_id' => $block->getPriceId('product-price-' . $idSuffix),
'price_type' => 'finalPrice',
'include_container' => true,
'include_container' => false,
'schema' => $schema
]); ?>
</span>
<span class="old-price">
<?= /* @noEscape */ $block->renderAmount($priceModel->getAmount(), [
'display_label' => __('Regular Price'),
'display_label' => '',
'price_id' => $block->getPriceId('old-price-' . $idSuffix),
'price_type' => 'oldPrice',
'include_container' => true,
......
......@@ -460,3 +460,9 @@ ul {
font-family: Outfit-Regular, sans-serif;
}
.price-final_price .old-price .price{
color: #999999;
text-decoration: line-through;
font-weight: 400;
margin-left: 5px;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment