[Skip to main content](#vessel-content)

#   Continue Shopping Button in Top

##

- **[condorazul](/forum/user/4911-condorazul "View condorazul's Profile")**
- [![condorazul's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4911.jpg)](/forum/user/4911-condorazul "View condorazul's Profile") Topic Author
- [ Offline](/forum/user/4911-condorazul)

Less More

- Posts: 441
- Thank you received: 24
-
- [](http://www.visual5.es)
-

12 years 9 months ago -  12 years 9 months ago [\#143721](#143721) by [condorazul](/forum/user/4911-condorazul "View condorazul's Profile")  *[Continue Shopping Button in Top](/forum/27-checkout/865811-continue-shopping-button-in-top#143721 "I would like to display the continue shopping buttom in top of the cart in the checkout instead of below it how can i do it?")* was created by *[condorazul](/forum/user/4911-condorazul "View condorazul's Profile")*

I would like to display the continue shopping buttom in top of the cart in the checkout instead of below it how can i do it?

Last edit: 12 years 9 months ago by [condorazul](/forum/user/4911-condorazul "View condorazul's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg2NTgxMS1jb250aW51ZS1zaG9wcGluZy1idXR0b24taW4tdG9wP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 9 months ago [\#143803](#143803) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Continue Shopping Button in Top](/forum/27-checkout/865811-continue-shopping-button-in-top#143803 "I would like to display the continue shopping buttom in top of the cart in the checkout instead of below it how can i do it?")*

Hi,
To do that you'll have to directly edit the code of the "Cart" file of the "Checkout" view of yoru front-end template through the page "*Hikashop-&gt;Display-&gt;Views*".
Also, showing me some screenshots of where you want your button to be displayed will probably help me to understand your issue.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg2NTgxMS1jb250aW51ZS1zaG9wcGluZy1idXR0b24taW4tdG9wP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[condorazul](/forum/user/4911-condorazul "View condorazul's Profile")**
- [![condorazul's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4911.jpg)](/forum/user/4911-condorazul "View condorazul's Profile") Topic Author
- [ Offline](/forum/user/4911-condorazul)

Less More

- Posts: 441
- Thank you received: 24
-
- [](http://www.visual5.es)
-

12 years 9 months ago [\#143811](#143811) by [condorazul](/forum/user/4911-condorazul "View condorazul's Profile")  Replied by *[condorazul](/forum/user/4911-condorazul "View condorazul's Profile")* on topic *[Continue Shopping Button in Top](/forum/27-checkout/865811-continue-shopping-button-in-top#143811 "I would like to display the continue shopping buttom in top of the cart in the checkout instead of below it how can i do it?")*

ok here is the current

[ ![h9f0162b.jpg](/forum/attachment/15287) ](/forum/attachment/15287 "h9f0162b.jpg")

and here is the desired

[ ![h85e1269.jpg](/forum/attachment/15288) ](/forum/attachment/15288 "h85e1269.jpg")

- [ ![h9f0162b.jpg](/forum/attachment/15287) ](/forum/attachment/15287 "h9f0162b.jpg") [ ](/forum/attachment/15287?download=1 "h9f0162b.jpg")
- [ ![h85e1269.jpg](/forum/attachment/15288) ](/forum/attachment/15288 "h85e1269.jpg") [ ](/forum/attachment/15288?download=1 "h85e1269.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg2NTgxMS1jb250aW51ZS1zaG9wcGluZy1idXR0b24taW4tdG9wP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 9 months ago [\#143871](#143871) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Continue Shopping Button in Top](/forum/27-checkout/865811-continue-shopping-button-in-top#143871 "I would like to display the continue shopping buttom in top of the cart in the checkout instead of below it how can i do it?")*

Then the solution will be to move this code from the "step" file of the "checkout" view of your front-end template through "*Hikashop-&gt;Display-&gt;Views*" : Code:

if($this-&gt;continueShopping){ if(strpos($this-&gt;continueShopping,'Itemid')===false){ if(strpos($this-&gt;continueShopping,'index.php?')!==false){ $this-&gt;continueShopping.=$url_itemid; } } if(!preg_match('#^https?://#',$this-&gt;continueShopping)) $this-&gt;continueShopping = JURI::base().ltrim($this-&gt;continueShopping,'/'); echo $this-&gt;cart-&gt;displayButton(JText::_('CONTINUE_SHOPPING'),'continue_shopping',$this-&gt;params,JRoute::_($this-&gt;continueShopping),'window.location=\''.JRoute::_($this-&gt;continueShopping).'\';return false;','id="hikashop_checkout_shopping_button"'); }

and add it at the beginning of the "cart" file of the "checkout" view of your front-end template.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg2NTgxMS1jb250aW51ZS1zaG9wcGluZy1idXR0b24taW4tdG9wP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[condorazul](/forum/user/4911-condorazul "View condorazul's Profile")**
- [![condorazul's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4911.jpg)](/forum/user/4911-condorazul "View condorazul's Profile") Topic Author
- [ Offline](/forum/user/4911-condorazul)

Less More

- Posts: 441
- Thank you received: 24
-
- [](http://www.visual5.es)
-

12 years 9 months ago [\#143877](#143877) by [condorazul](/forum/user/4911-condorazul "View condorazul's Profile")  Replied by *[condorazul](/forum/user/4911-condorazul "View condorazul's Profile")* on topic *[Continue Shopping Button in Top](/forum/27-checkout/865811-continue-shopping-button-in-top#143877 "I would like to display the continue shopping buttom in top of the cart in the checkout instead of below it how can i do it?")*

I tried moving it but nothing is displayed in the cart if i do it just a blank page

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg2NTgxMS1jb250aW51ZS1zaG9wcGluZy1idXR0b24taW4tdG9wP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

12 years 9 months ago [\#143921](#143921) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Continue Shopping Button in Top](/forum/27-checkout/865811-continue-shopping-button-in-top#143921 "I would like to display the continue shopping buttom in top of the cart in the checkout instead of below it how can i do it?")*

What do you exactly mean by "just a blank page" ? Did you edit the files of the good front-end template (the one that you are currently using) ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg2NTgxMS1jb250aW51ZS1zaG9wcGluZy1idXR0b24taW4tdG9wP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[condorazul](/forum/user/4911-condorazul "View condorazul's Profile")**
- [![condorazul's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4911.jpg)](/forum/user/4911-condorazul "View condorazul's Profile") Topic Author
- [ Offline](/forum/user/4911-condorazul)

Less More

- Posts: 441
- Thank you received: 24
-
- [](http://www.visual5.es)
-

12 years 9 months ago -  12 years 9 months ago [\#143929](#143929) by [condorazul](/forum/user/4911-condorazul "View condorazul's Profile")  Replied by *[condorazul](/forum/user/4911-condorazul "View condorazul's Profile")* on topic *[Continue Shopping Button in Top](/forum/27-checkout/865811-continue-shopping-button-in-top#143929 "I would like to display the continue shopping buttom in top of the cart in the checkout instead of below it how can i do it?")*

WOk Solved More or Less i copied that code
&lt;?php

if($this-&gt;continueShopping){
if(strpos($this-&gt;continueShopping,'Itemid')===false){
if(strpos($this-&gt;continueShopping,'index.php?')!==false){
$this-&gt;continueShopping.=$url_itemid;
}
}
if(!preg_match('#^https?![:/](/irritated.gif ":/")/#',$this-&gt;continueShopping)) $this-&gt;continueShopping = JURI::base().ltrim($this-&gt;continueShopping,'/');
echo $this-&gt;cart-&gt;displayButton(JText::_('CONTINUE_SHOPPING'),'continue_shopping',$this-&gt;params,JRoute::_($this-&gt;continueShopping),'window.location=\''.JRoute::_($this-&gt;continueShopping).'\';return false;','id="hikashop_checkout_shopping_button"');
}
}
?&gt;
But there is one } that i should delete for it to work, if i delete this sentence, then checkout is not workin also, so i hide in css the other button, thanks.

Last edit: 12 years 9 months ago by [condorazul](/forum/user/4911-condorazul "View condorazul's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg2NTgxMS1jb250aW51ZS1zaG9wcGluZy1idXR0b24taW4tdG9wP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.073 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
