Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 Getting Started and Pre-Sales
 Continue shopping Button on Thanks page does nothi
Author    Topic »  

knowwareman
Starting Member

USA
4 Posts

Posted - 07/07/2025 :  08:59:08  
I'm trying to get the Continue Shopping button working, but it doesn't go anywhere.
I followed the instructions on another post and got this in the source code:
<div class="receiptcontinueshopping"><input type="button" value=" CONTINUE SHOPPING " class="ectbutton continueshopping" onclick="ectgoabs('https://www.chartsmartxl.com/products.php')"></div><div class="receiptprintversion"><input type="button" value=" Printable Version " class="ectbutton printversion" onclick="doprintcontent()"></div> </div>

Note: The Printable Version button does work.


Jay Arthur

dbdave
ECT Moderator

USA
10530 Posts

Posted - 07/07/2025 :  09:40:54  
Hi Jay, generally you don't want to go hacking into the code unless you really need to.
For the continue shopping, there is a parameter you can set in your includes file.

quote:
Continue shopping

If you need to change the continue shopping link on thanks.php, use the following

$thankspagecontinue="http://www.yourstoreurl.com/finishpage.php";

If you need to change Home URL in the product / category breadcrumbs, use the following

$orhomeurl="yourhomeurl.php";


If you have not altered the code and you are saying the button is not working, we need to check your site for javasscript errors, so please provide a link if that's the case.

Thanks,
David

Edited by - dbdave on 07/07/2025 09:43:21

knowwareman
Starting Member

USA
4 Posts

Posted - 07/09/2025 :  07:20:21  
I did use includes:
$thankspagecontinue="https://www.chartsmartxl.com/store/products.php";

Cart is www.chartsmartxl.com/store

Code produced by ECT is:
<div class="receiptrecemail"><strong>Thank You For Your Order!</strong> <br /><br />Please print a copy of this receipt for your records.</div><div class="receiptcontinueshopping"><input type="button" value=" CONTINUE SHOPPING " class="ectbutton continueshopping" onclick="ectgoabs('https://www.chartsmartxl.com/store/products.php')"></div><div class="receiptprintversion"><input type="button" value=" Printable Version " class="ectbutton printversion" onclick="doprintcontent()"></div> </div>


Jay Arthur

dbdave
ECT Moderator

USA
10530 Posts

Posted - 07/09/2025 :  08:36:55  
When I go to https://www.chartsmartxl.com/store/thanks.php the continue shopping link works, but points to https://www.chartsmartxl.com/store/

David

knowwareman
Starting Member

USA
4 Posts

Posted - 07/10/2025 :  07:29:36  
If I place an order, I get a Continue Shopping button and a Printable Version Button.
The Printable Version Button works.
The Continue Shopping button does nothing, but the button looks different than the one on the thanks page without placing an order.

The order fail page uses straight html, not a call to an ect function.

<div id="orderfail" style="text-align:center"><br /><strong>Sorry, there seemed to be an error !</strong><br /><br />If you need any help with your purchase, then please be sure to contact us.<br /><br /><div style="margin:50px"><strong>No matching payment system</strong></div> <a class="ectlink" href="https://www.chartsmartxl.com/store/"><strong>CONTINUE SHOPPING</strong></a>

Try placing an order for W100 (second option) at www.chartsmartxl.com/store.


Jay Arthur

Phil
ECT Moderator

United Kingdom
7753 Posts

Posted - 07/11/2025 :  00:00:52  
Hi Jay,
seems like you're missing the call for the js file on your thanks.php file

<script type="text/javascript" src="js/ectcart.js"></script>



*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

knowwareman
Starting Member

USA
4 Posts

Posted - 07/11/2025 :  07:38:13  
Thanks. That works.

Jay Arthur
     Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000