uzytkownik78 Posted April 12, 2016 Share Posted April 12, 2016 wieć jak widać + dostawa = cena całkowita ale chcę wyświetlać cenę bez dostawy - jak to zrobić? widzę kod php ale nie wiem jak definiowana jest cena bez dostawy <div class="cart-prices-line last-line"> <span class="price cart_block_total ajax_block_cart_total">{$total}</span> <span>{l s='Total' mod='blockcart'}</span> </div> {if $use_taxes && $display_tax_label == 1 && $show_tax} <p> {if $priceDisplay == 0} {l s='Prices are tax included' mod='blockcart'} {elseif $priceDisplay == 1} {l s='Prices are tax excluded' mod='blockcart'} {/if} </p> {/if} Link to comment Share on other sites More sharing options...
0 atomek Posted April 12, 2016 Share Posted April 12, 2016 w blockart.php znajdziesz$totalToPay = $params['cart']->getOrderTotal($useTax);spróbuj zamienić na$totalToPay = $params['cart']->getOrderTotal($useTax, Cart::BOTH_WITHOUT_SHIPPING);oczywiście w templatce koszyka będziesz musiał wyłączyć wyświetlanie kosztów wysyłki Link to comment Share on other sites More sharing options...
0 uzytkownik78 Posted April 13, 2016 Author Share Posted April 13, 2016 działa! dziękuję Link to comment Share on other sites More sharing options...
0 danieloxs Posted April 19, 2016 Share Posted April 19, 2016 Mam pytanie odnośnie usuwania z template koszyka, zmiany których dokonałem w pliku blockcart.tpl nie przynoszą pożądanego efektu... Którą linię należy usunąć aby nie wyświetlać "Shipping" w koszyku? Link to comment Share on other sites More sharing options...
0 atomek Posted April 20, 2016 Share Posted April 20, 2016 zakomentuj ten kod lub dodaj style="display:none;"około wiersza 143 <div class="cart-prices-line first-line"> <span class="price cart_block_shipping_cost ajax_cart_shipping_cost{if !($page_name == 'order-opc') && $shipping_cost_float == 0 && (!isset($cart->id_address_delivery) || !$cart->id_address_delivery)} unvisible{/if}"> {if $shipping_cost_float == 0} {if !($page_name == 'order-opc') && (!isset($cart->id_address_delivery) || !$cart->id_address_delivery)}{l s='To be determined' mod='blockcart'}{else}{l s='Free shipping!' mod='blockcart'}{/if} {else} {$shipping_cost} {/if} </span> <span{if !($page_name == 'order-opc') && $shipping_cost_float == 0 && (!isset($cart->id_address_delivery) || !$cart->id_address_delivery)} class="unvisible"{/if}> {l s='Shipping' mod='blockcart'} </span> </div> i około wiersza 278 <div class="layer_cart_row"> <strong class="dark{if $shipping_cost_float == 0 && (!isset($cart->id_address_delivery) || !$cart->id_address_delivery)} unvisible{/if}"> {l s='Total shipping' mod='blockcart'} {if $display_tax_label}{if $priceDisplay == 1}{l s='(tax excl.)' mod='blockcart'}{else}{l s='(tax incl.)' mod='blockcart'}{/if}{/if} </strong> <span class="ajax_cart_shipping_cost{if $shipping_cost_float == 0 && (!isset($cart->id_address_delivery) || !$cart->id_address_delivery)} unvisible{/if}"> {if $shipping_cost_float == 0} {if (!isset($cart->id_address_delivery) || !$cart->id_address_delivery)}{l s='To be determined' mod='blockcart'}{else}{l s='Free shipping!' mod='blockcart'}{/if} {else} {$shipping_cost} {/if} </span> </div> Link to comment Share on other sites More sharing options...
Question
uzytkownik78
wieć jak widać + dostawa = cena całkowita ale chcę wyświetlać cenę bez dostawy - jak to zrobić? widzę kod php ale nie wiem jak definiowana jest cena bez dostawy
Link to comment
Share on other sites
4 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