Jump to content

Show order button outside cart box


Recommended Posts

Hmmm

 

God morning Paul - here in Bulgaria is almost 10PM :-/

 

Yes your solution with little changes can be possible to move button in right of cart but i trying to make this with changes of blockuserinfo.tpl

 

I trying to change also number of products with total cart price from this forum topic.

Now i change blockuserinfo.tpl to this

		{if !$PS_CATALOG_MODE}
			<li id="shopping_cart">
			<div class="cartprice left">
			<a href="{$link->getPageLink($order_process, true)}" title="{l s='View my shopping cart' mod='blockuserinfo'}" rel="nofollow">{l s='' mod='blockuserinfo'}
			<strong>
			</strong>
			<span id="cart_blockuserinfo">{displayPrice price=$cart->getordertotal(false)}</span>
			</a>
			</div>
		</li>
		{/if}
		<div id="cartbutton right">
		<p>
		{if $order_process == 'order'}<a href="{$link->getPageLink("$order_process", true)}" class="button_small" title="{l s='View my shopping cart' mod='blockcart'}" rel="nofollow">{l s='Cart' mod='blockcart'}</a>{/if}
		<a href="{$link->getPageLink("$order_process", true)}" 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>

 I move checkout button with this changing of blockuserinfo.tpl  but now is problem to show properly cart (cart icon with total price) and in right checkout button.

I want my final result to be something like cart here: mypresta.eu

Edited by Detelin Markov (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...