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

#   Put in a Continue Shopping Button on Detail Page

##

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

Less More

- Posts: 103
- Thank you received: 0
-
-

14 years 2 weeks ago [\#72203](#72203) by [SuzyBGood](/forum/user/8544-suzybgood "View SuzyBGood's Profile")  *[Put in a Continue Shopping Button on Detail Page](/forum/2-general-talk-about-hikashop/72203-put-in-a-continue-shopping-button-on-detail-page#72203 "Hi Gurus,  How hard is it to add new buttons? I'd like to add a Continue Shopping Button to the Detailed Products Page.  Cheers, Susan")* was created by *[SuzyBGood](/forum/user/8544-suzybgood "View SuzyBGood's Profile")*

Hi Gurus,

How hard is it to add new buttons? I'd like to add a Continue Shopping Button to the Detailed Products Page.

Cheers,
Susan

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

14 years 2 weeks ago -  14 years 2 weeks ago [\#72228](#72228) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Re: Put in a Continue Shopping Button on Detail Page](/forum/2-general-talk-about-hikashop/72203-put-in-a-continue-shopping-button-on-detail-page#72228 "Hi Gurus,  How hard is it to add new buttons? I'd like to add a Continue Shopping Button to the Detailed Products Page.  Cheers, Susan")*

Hi there,

You can do this by adding the following line in /component/com_hikashop/views/product/tmpl/quantity.php just before the final &lt;/div&gt;:
Code:

&lt;form&gt;&lt;input type="button" class="btn button hikashop_cart_input_button" name="return" value="Continue Shopping" OnClick="window.location.href='www.thelinkyouwant.com'"/&gt;&lt;/form&gt;

Last edit: 14 years 2 weeks ago by [Eliot](/forum/user/1824-eliot "View Eliot's Profile").

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

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

Less More

- Posts: 103
- Thank you received: 0
-
-

14 years 2 weeks ago [\#72247](#72247) by [SuzyBGood](/forum/user/8544-suzybgood "View SuzyBGood's Profile")  Replied by *[SuzyBGood](/forum/user/8544-suzybgood "View SuzyBGood's Profile")* on topic *[Re: Put in a Continue Shopping Button on Detail Page](/forum/2-general-talk-about-hikashop/72203-put-in-a-continue-shopping-button-on-detail-page#72247 "Hi Gurus,  How hard is it to add new buttons? I'd like to add a Continue Shopping Button to the Detailed Products Page.  Cheers, Susan")*

Hi Eliot,

Thanks, will give it a go.

Just curious.. where do YOU edit the php files? Do you go thru the file manager on hosting server? Or is there a special place inside the hikashop?

Thanks again, big help!

Susan

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

14 years 2 weeks ago [\#72250](#72250) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Re: Put in a Continue Shopping Button on Detail Page](/forum/2-general-talk-about-hikashop/72203-put-in-a-continue-shopping-button-on-detail-page#72250 "Hi Gurus,  How hard is it to add new buttons? I'd like to add a Continue Shopping Button to the Detailed Products Page.  Cheers, Susan")*

You can do it trought the Hikashop interface in Display&gt;Views.
Then type "quantity", choose the right file depending of your template and you'll be able to add the given code ![:)](/media/kunena/emoticons/3.png ":)")

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

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

Less More

- Posts: 103
- Thank you received: 0
-
-

14 years 2 weeks ago [\#72256](#72256) by [SuzyBGood](/forum/user/8544-suzybgood "View SuzyBGood's Profile")  Replied by *[SuzyBGood](/forum/user/8544-suzybgood "View SuzyBGood's Profile")* on topic *[Re: Put in a Continue Shopping Button on Detail Page](/forum/2-general-talk-about-hikashop/72203-put-in-a-continue-shopping-button-on-detail-page#72256 "Hi Gurus,  How hard is it to add new buttons? I'd like to add a Continue Shopping Button to the Detailed Products Page.  Cheers, Susan")*

Brilliant! I put it before the final div (hey I got a BUTTON YAY) but it also puts the button on the main product listing page, in each product box under the thumbnail (not just the detail page) and when I read the code, it has lots of waitlist, no stock etc options, but nothing that sounds like it pertains, in particular, to the detail product listing page. Wrong page?

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

14 years 2 weeks ago [\#72257](#72257) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Re: Put in a Continue Shopping Button on Detail Page](/forum/2-general-talk-about-hikashop/72203-put-in-a-continue-shopping-button-on-detail-page#72257 "Hi Gurus,  How hard is it to add new buttons? I'd like to add a Continue Shopping Button to the Detailed Products Page.  Cheers, Susan")*

My bad, I didn't think about this.
Well, the solution is to delete the line in the quantity file and add it in show_default like this:
Code:

&lt;div id="hikashop_product_quantity_main" class="hikashop_product_quantity_main"&gt; &lt;?php //LAYOUT quantity $this-&gt;row = &amp; $this-&gt;element; $this-&gt;ajax = 'if(hikashopCheckChangeForm(\'item\',\'hikashop_product_form\')){ return hikashopModifyQuantity(\'' . $this-&gt;row-&gt;product_id . '\',field,1' . $form . ',\'cart\'); } else { return false; }'; $this-&gt;setLayout('quantity'); echo $this-&gt;loadTemplate(); ?&gt; &lt;form&gt;&lt;input type="button" class="btn button hikashop_cart_input_button" name="return" value="Return" OnClick="window.location.href='http://localhost'"/&gt;&lt;/form&gt; &lt;/div&gt;

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

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