Inkton Posted August 30, 2017 Share Posted August 30, 2017 Cześć. Jak w temacie. Jaki plik odpowiada za ten fragment bo nie mogę go zlokalizować? Chciałbym, żeby zniknęło zarówno per szt jak i cena bo jest podwójna. Link to comment Share on other sites More sharing options...
0 e_com Posted August 30, 2017 Share Posted August 30, 2017 product.tpl w katalogu szablonu Ten warunek wyświetla cenę za jednostkę miary: {if !empty($product->unity) && $product->unit_price_ratio > 0.000000} {math equation="pprice / punit_price" pprice=$productPrice punit_price=$product->unit_price_ratio assign=unit_price} <p class="unit-price"><span id="unit_price_display">{convertPrice price=$unit_price}</span> {l s='per'} {$product->unity|escape:'html':'UTF-8'}</p> {hook h="displayProductPriceBlock" product=$product type="unit_price"} {/if} Link to comment Share on other sites More sharing options...
0 Inkton Posted August 30, 2017 Author Share Posted August 30, 2017 product.tpl w katalogu szablonu Ten warunek wyświetla cenę za jednostkę miary: {if !empty($product->unity) && $product->unit_price_ratio > 0.000000} {math equation="pprice / punit_price" pprice=$productPrice punit_price=$product->unit_price_ratio assign=unit_price} <p class="unit-price"><span id="unit_price_display">{convertPrice price=$unit_price}</span> {l s='per'} {$product->unity|escape:'html':'UTF-8'}</p> {hook h="displayProductPriceBlock" product=$product type="unit_price"} {/if} Dzięki, działa Link to comment Share on other sites More sharing options...
Question
Inkton
Cześć. Jak w temacie. Jaki plik odpowiada za ten fragment bo nie mogę go zlokalizować? Chciałbym, żeby zniknęło zarówno per szt jak i cena bo jest podwójna.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now