diff --git a/modules/dualpricedisplaypro/views/templates/hook/ps17/productDetailBlock.tpl b/modules/dualpricedisplaypro/views/templates/hook/ps17/productDetailBlock.tpl index 95ca5ae6..8ffe43cc 100644 --- a/modules/dualpricedisplaypro/views/templates/hook/ps17/productDetailBlock.tpl +++ b/modules/dualpricedisplaypro/views/templates/hook/ps17/productDetailBlock.tpl @@ -108,10 +108,23 @@ s{* {/if} {if ( $productPriceInDetail['price'] ) } + {assign var="customer_group" value=Group::getCurrent()} + {assign var="reduction" value=$customer_group->reduction} + {if $language.iso_code == 'pl'}Cena detaliczna{else}The retail price{/if}: {$productPriceInDetail['price']} {$dualPriceConfigData['tax_incl_label_name'][$idLang]|escape:"javascript":"UTF-8"} + + + Rabat: + {if $reduction == (int)$reduction} + {$reduction|intval} + {else} + {$reduction|string_format:"%.1f"} + {/if} + % + {/if} diff --git a/themes/at_movic/assets/css/custom.scss b/themes/at_movic/assets/css/custom.scss index d99b85f8..ebb04b01 100644 --- a/themes/at_movic/assets/css/custom.scss +++ b/themes/at_movic/assets/css/custom.scss @@ -665,3 +665,7 @@ a[href="https://redline.com.pl/pl/zamówienie?newAddress=invoice"] } } } + +.product-reduction { + font-size: 22px; +}