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

#   Continue Shopping - Set to go back 1 or 2 pages

##

- **[chris711](/forum/user/371-chris711 "View chris711's Profile")**
- [![chris711's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/371-chris711 "View chris711's Profile") Topic Author
- [ Offline](/forum/user/371-chris711)

Less More

- Posts: 96
- Thank you received: 4
-
-

15 years 11 months ago [\#2368](#2368) by [chris711](/forum/user/371-chris711 "View chris711's Profile")  *[Continue Shopping - Set to go back 1 or 2 pages](/forum/4-how-to/2368-continue-shopping-set-to-go-back-1-or-2-pages#2368 "Is it possible to set the &quot;Continue Shopping&quot; button to Go Back by 1 or 2 Pages rather than to a specific URL? This would allow users to return to the specific product category they were last shopping in.  Thanks  Chris")* was created by *[chris711](/forum/user/371-chris711 "View chris711's Profile")*

Is it possible to set the "Continue Shopping" button to Go Back by 1 or 2 Pages rather than to a specific URL? This would allow users to return to the specific product category they were last shopping in.

Thanks

Chris

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

- **[chaka](/forum/user/158-chaka "View chaka's Profile")**
- [![chaka's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar158.jpg)](/forum/user/158-chaka "View chaka's Profile")
- [ Offline](/forum/user/158-chaka)

Less More

- Posts: 135
- Thank you received: 0
-
-

15 years 11 months ago [\#2370](#2370) by [chaka](/forum/user/158-chaka "View chaka's Profile")  Replied by *[chaka](/forum/user/158-chaka "View chaka's Profile")* on topic *[Re: Continue Shopping - Set to go back 1 or 2 pages](/forum/4-how-to/2368-continue-shopping-set-to-go-back-1-or-2-pages#2370 "Is it possible to set the &quot;Continue Shopping&quot; button to Go Back by 1 or 2 Pages rather than to a specific URL? This would allow users to return to the specific product category they were last shopping in.  Thanks  Chris")*

**chris711 wrote:**

> Is it possible to set the "Continue Shopping" button to Go Back by 1 or 2 Pages rather than to a specific URL? This would allow users to return to the specific product category they were last shopping in.
>
> Thanks
>
> Chris

yeah me too

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 11 months ago [\#2371](#2371) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Continue Shopping - Set to go back 1 or 2 pages](/forum/4-how-to/2368-continue-shopping-set-to-go-back-1-or-2-pages#2371 "Is it possible to set the &quot;Continue Shopping&quot; button to Go Back by 1 or 2 Pages rather than to a specific URL? This would allow users to return to the specific product category they were last shopping in.  Thanks  Chris")*

Yes. You can edit the file step of the view checkout and change the code Code:

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"');

by the code Code:

echo $this-&gt;cart-&gt;displayButton(JText::_('CONTINUE_SHOPPING'),'continue_shopping',$this-&gt;params,JRoute::_($this-&gt;continueShopping),'history.back();return false;','id="hikashop_checkout_shopping_button"');

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

- **[chris711](/forum/user/371-chris711 "View chris711's Profile")**
- [![chris711's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/371-chris711 "View chris711's Profile") Topic Author
- [ Offline](/forum/user/371-chris711)

Less More

- Posts: 96
- Thank you received: 4
-
-

15 years 11 months ago [\#2431](#2431) by [chris711](/forum/user/371-chris711 "View chris711's Profile")  Replied by *[chris711](/forum/user/371-chris711 "View chris711's Profile")* on topic *[Re: Continue Shopping - Set to go back 1 or 2 pages](/forum/4-how-to/2368-continue-shopping-set-to-go-back-1-or-2-pages#2431 "Is it possible to set the &quot;Continue Shopping&quot; button to Go Back by 1 or 2 Pages rather than to a specific URL? This would allow users to return to the specific product category they were last shopping in.  Thanks  Chris")*

Many thanks for that - I will give it a try on Monday and will let you know how it works out.

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

- **[chris711](/forum/user/371-chris711 "View chris711's Profile")**
- [![chris711's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/371-chris711 "View chris711's Profile") Topic Author
- [ Offline](/forum/user/371-chris711)

Less More

- Posts: 96
- Thank you received: 4
-
-

15 years 11 months ago [\#3136](#3136) by [chris711](/forum/user/371-chris711 "View chris711's Profile")  Replied by *[chris711](/forum/user/371-chris711 "View chris711's Profile")* on topic *[Re: Continue Shopping - Set to go back 1 or 2 pages](/forum/4-how-to/2368-continue-shopping-set-to-go-back-1-or-2-pages#3136 "Is it possible to set the &quot;Continue Shopping&quot; button to Go Back by 1 or 2 Pages rather than to a specific URL? This would allow users to return to the specific product category they were last shopping in.  Thanks  Chris")*

Works well to step back one page.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIzNjgtY29udGludWUtc2hvcHBpbmctc2V0LXRvLWdvLWJhY2stMS1vci0yLXBhZ2VzP3RtcGw9bWFya2Rvd24=) 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.058 seconds

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