Jump to content

Need to displace My Order with My Personal Info My Account Block


Recommended Posts

Hello , 

 

I search alot about it but couldnt find my answer , i need to displace My order with My personal Info in My Account section . 

 

From where i can to do that ?

 

post-72839-0-41742000-1388654733_thumb.jpg

 

 

 

solved 

 

in /themes/yourtemplate/modules/blockmyaccount , blockmyaccount.tpl

 

 

Just need to move {$HOOK_BLOCK_MY_ACCOUNT}  , Like below 

 

<ul class="store_list">
		   {$HOOK_BLOCK_MY_ACCOUNT}
			<li><a href="{$link->getPageLink('identity', true)}" title="{l s='My personal info' mod='blockmyaccount'}">{l s='My personal info' mod='blockmyaccount'}</a></li>
			<li><a href="{$link->getPageLink('history', true)}" title="">{l s='My orders' mod='blockmyaccount'}</a></li>
			{if $returnAllowed}<li><a href="{$link->getPageLink('order-follow', true)}" title="{l s='My merchandise returns' mod='blockmyaccount'}">{l s='My merchandise returns' mod='blockmyaccount'}</a></li>{/if}
			<li><a href="{$link->getPageLink('order-slip', true)}" title="{l s='My credit slips' mod='blockmyaccount'}">{l s='My credit slips' mod='blockmyaccount'}</a></li>
			<li><a href="{$link->getPageLink('addresses', true)}" title="{l s='My addresses' mod='blockmyaccount'}">{l s='My addresses' mod='blockmyaccount'}</a></li>
			{if $voucherAllowed}<li><a href="{$link->getPageLink('discount', true)}" title="{l s='My vouchers' mod='blockmyaccount'}">{l s='My vouchers' mod='blockmyaccount'}</a></li>{/if}
			</ul>
Edited by shahriar (see edit history)
Link to comment
Share on other sites

it's probably module named blockmyaccount.

 

open file:

 

modules/blockmyaccount/blockmyaccount.tpl

 

and change order of <li> elements in <ul> object

	<ul class="bullet">
			<li><a href="{$link->getPageLink('history', true)|escape:'html'}" title="">{l s='My orders' mod='blockmyaccount'}</a></li>
			{if $returnAllowed}<li><a href="{$link->getPageLink('order-follow', true)|escape:'html'}" title="{l s='My merchandise returns' mod='blockmyaccount'}">{l s='My merchandise returns' mod='blockmyaccount'}</a></li>{/if}
			<li><a href="{$link->getPageLink('order-slip', true)|escape:'html'}" title="{l s='My credit slips' mod='blockmyaccount'}">{l s='My credit slips' mod='blockmyaccount'}</a></li>
			<li><a href="{$link->getPageLink('addresses', true)|escape:'html'}" title="{l s='My addresses' mod='blockmyaccount'}">{l s='My addresses' mod='blockmyaccount'}</a></li>
			<li><a href="{$link->getPageLink('identity', true)|escape:'html'}" title="{l s='My personal info' mod='blockmyaccount'}">{l s='My personal info' mod='blockmyaccount'}</a></li>
			{if $voucherAllowed}<li><a href="{$link->getPageLink('discount', true)|escape:'html'}" title="{l s='My vouchers' mod='blockmyaccount'}">{l s='My vouchers' mod='blockmyaccount'}</a></li>{/if}
			{$HOOK_BLOCK_MY_ACCOUNT}
		</ul>

you can change order exactly as you want.

  • Like 1
Link to comment
Share on other sites

it's probably module named blockmyaccount.

 

open file:

 

modules/blockmyaccount/blockmyaccount.tpl

 

and change order of <li> elements in <ul> object

	<ul class="bullet">
			<li><a href="{$link->getPageLink('history', true)|escape:'html'}" title="">{l s='My orders' mod='blockmyaccount'}</a></li>
			{if $returnAllowed}<li><a href="{$link->getPageLink('order-follow', true)|escape:'html'}" title="{l s='My merchandise returns' mod='blockmyaccount'}">{l s='My merchandise returns' mod='blockmyaccount'}</a></li>{/if}
			<li><a href="{$link->getPageLink('order-slip', true)|escape:'html'}" title="{l s='My credit slips' mod='blockmyaccount'}">{l s='My credit slips' mod='blockmyaccount'}</a></li>
			<li><a href="{$link->getPageLink('addresses', true)|escape:'html'}" title="{l s='My addresses' mod='blockmyaccount'}">{l s='My addresses' mod='blockmyaccount'}</a></li>
			<li><a href="{$link->getPageLink('identity', true)|escape:'html'}" title="{l s='My personal info' mod='blockmyaccount'}">{l s='My personal info' mod='blockmyaccount'}</a></li>
			{if $voucherAllowed}<li><a href="{$link->getPageLink('discount', true)|escape:'html'}" title="{l s='My vouchers' mod='blockmyaccount'}">{l s='My vouchers' mod='blockmyaccount'}</a></li>{/if}
			{$HOOK_BLOCK_MY_ACCOUNT}
		</ul>

you can change order exactly as you want.

Thank you , 

 

But i have around 9 row and in blockmyaccount.tpl it only shows 7 , it is not include some module installed , i want that module come up than My Order and etc .

Link to comment
Share on other sites

it mean that you probably use some modules which add links to {$HOOK_BLOCK_MY_ACCOUNT}

Yes , exactly as u said the modules in HOOK , but do you know how can to put modules using hook above than link of modules on blockmyaccount.tpl

Link to comment
Share on other sites

i don't understand the question well.

 

if you want to move links up/down, just change position of the hook inside the <ul> object

 

 

i can to move up/down :  My Order , My Credit Slips , My Addresses  in blockmyaccount.tpl 

 

and can to move up/down : My Keys , Customer Loyality , Favorit products in hook 

 

the link on blockmyaccunt.tpl always are above link module in hook , 

 

I want to send up My keys at first place and above of My Order 

Link to comment
Share on other sites

×
×
  • Create New...