Jump to content

[SOLVED]blockcart x to ks


Recommended Posts

Hi all, how can i change this 

this.jpg

 

to this 

tothis.jpg

 

And another detail. When i add product and reload page. Then price is different. (74,92kč=>83,39). How it is possible?

 

My eshop si here http://presta.simplydesign.sk/

 

 

solution:

blockcart.tpl

<script type="text/javascript">
{if $ajax_allowed}
var CUSTOMIZE_TEXTFIELD = {$CUSTOMIZE_TEXTFIELD};
var img_dir = '{$img_dir|addslashes}';
{/if}
var customizationIdMessage = '{l s='Customization #' mod='blockcart' js=1}';
var freeShippingTranslation = '{l s='Free shipping!' mod='blockcart' js=1}';
var freeProductTranslation = '{l s='Free!' mod='blockcart' js=1}';
var delete_txt = '{l s='Delete' mod='blockcart' js=1}';
var generated_date = {$smarty.now|intval};
</script>
<!-- MODULE Block cart -->
<div id="cart_block" class="block exclusive">
	<p class="title_block">
		<a href="{$link->getPageLink("$order_process", true)|escape:'html'}" title="{l s='View my shopping cart' mod='blockcart'}" rel="nofollow">{l s='Cart' mod='blockcart'}
		{if $ajax_allowed}
		<span id="block_cart_expand" {if isset($colapseExpandStatus) && $colapseExpandStatus eq 'expanded' || !isset($colapseExpandStatus)}class="hidden"{/if}> </span>
		<span id="block_cart_collapse" {if isset($colapseExpandStatus) && $colapseExpandStatus eq 'collapsed'}class="hidden"{/if}> </span>
		{/if}</a>
	</p>
	<div class="block_content">
    <div class="kosikos"> </div>
	<!-- block summary -->
    <span class="obsahuje">Váš nákupní košík obsahuje</span>
            <div class="clearfix"> </div>
   
    <span id="cart_block_total" class="price ajax_block_cart_total">{displayPrice price=$cart->getordertotal(true)}</span>
     <div class="kus"><span class="ajax_cart_quantity" {if $cart_qties <= 0}style="display:none;"{/if}>{$cart_qties}</span>ks.</div>


 <div class="clearfix"> </div>
		<p id="cart-buttons">
			{if $order_process == 'order'}<a href="{$link->getPageLink("$order_process", true)|escape:'html'}" class="button_small" title="{l s='View my shopping cart' mod='blockcart'}" rel="nofollow">{l s='Carts' mod='blockcart'}</a>{/if}
			<a href="{$link->getPageLink("$order_process", true)|escape:'html'}" id="button_order_cart" class="exclusive{if $order_process == 'order-opc'}_large{/if}" title="{l s='Check out' mod='blockcart'}" rel="nofollow"><span></span>{l s='Check out' mod='blockcart'}</a>
		</p>

	</div>
</div>
<!-- /MODULE Block cart -->
Edited by tozi (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...