Can you tell me how to fix to display also the regular (line through) price and the discount in the cart when I add the items? See attached screenshots
If you want to check the site You can use same team permission credentials (sent on previous ticket) for Back Office. you can Add your own IP, but please DO NOT ACTIVATE shop is not ready yet.
Hi You theme the following code in the files below {if $product.has_discount} {hook h='displayProductPriceBlock' product=$product type="old_price"} <span class="regular-price">{$product.regular_price}</span> {if $product.discount_type === 'percentage'} <span class="discount-percentage discount-product">{$product.discount_percentage}</span> {elseif $product.discount_type === 'amount'} <span class="discount-amount discount-product">{$product.discount_amount_to_display}</span> {/if} {/if}
1. \themes\modern-fashion1\modules\ps_shoppingcart\modal.tpl https://prnt.sc/26jwuay 2. \themes\modern-fashion1\modules\ps_shoppingcart\ ps_shoppingcart-content.tpl https://prnt.sc/26jwvku Then add the style to the file field_style.css
Hi,
Can you tell me how to fix to display also the regular (line through) price and the discount in the cart when I add the items? See attached screenshots
If you want to check the site You can use same team permission credentials (sent on previous ticket) for Back Office. you can Add your own IP, but please DO NOT ACTIVATE shop is not ready yet.
Thanks
Hi
You theme the following code in the files below
{if $product.has_discount}
{hook h='displayProductPriceBlock' product=$product type="old_price"}
<span class="regular-price">{$product.regular_price}</span>
{if $product.discount_type === 'percentage'}
<span class="discount-percentage discount-product">{$product.discount_percentage}</span>
{elseif $product.discount_type === 'amount'}
<span class="discount-amount discount-product">{$product.discount_amount_to_display}</span>
{/if}
{/if}
1. \themes\modern-fashion1\modules\ps_shoppingcart\modal.tpl
https://prnt.sc/26jwuay
2. \themes\modern-fashion1\modules\ps_shoppingcart\
ps_shoppingcart-content.tpl
https://prnt.sc/26jwvku
Then add the style to the file field_style.css
.cart-item-product-right .regular-price, #blockcart-modal .divide-left .regular-price{
color: #000;
text-decoration: line-through;
font-size: 20px;
font-weight: 500;
margin-left: 20px;
vertical-align: bottom;
}
.cart-item-product-right .discount-amount , #blockcart-modal .divide-left .discount-amount{
display: none !important;
}
#blockcart-modal .divide-left .price{
margin: 0;
display: inline-block;
}
Thanks
Best Regards,
Andrea - FieldThemes Support Team
Hi,
I attach screen shots of solved issue.
Thank you very much
Hi
Your problem has been solved, if there is another problem, you can give us feedback, we will check for you.
Have a good day
Thanks
Best Regards,
Andrea - FieldThemes Support Team