close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

cart6 Continue shopping button

Thread began 1/26/2017 11:19 am by john70964 | Last modified 1/30/2017 12:18 pm by Ray Borduin | 2060 views | 7 replies |

john70964

cart6 Continue shopping button

I would like to change the destination of the button Continue Shopping in the page cart.php from products_detail.php to products_result.php

The code for the button is
<input type="submit" name="eCart1_Continue_100" id="eCart1_Continue_100" value="Continue Shopping" class="eC_FormButton" /> and gives me no clue as to how this change can be carried out.

Can anyone explain please?
Many thanks
John

Sign in to reply to this post

Ray BorduinWebAssist

Just change it from type="submit" to type="button" and add: onclick="document.locaiton.href='plugins/plugins/product_results.php';"

Sign in to reply to this post
Did this help? Tips are appreciated...

john70964

Hello Ray
Thanks for the help
Can you please let me know where I
add: onclick="document.locaton.href='plugins/plugins/product_results.php';" into the present code

<input type="button" name="eCart1_Continue_100" id="eCart1_Continue_100" value="Continue Shopping" class="eC_FormButton" />
Many thanks
John

Sign in to reply to this post

Ray BorduinWebAssist

<input type="button" name="eCart1_Continue_100" id="eCart1_Continue_100" value="Continue Shopping" class="eC_FormButton" onclick="document.locaton.href='plugins/plugins/product_results.php'" />

Sign in to reply to this post
Did this help? Tips are appreciated...

john70964

Hello Ray
I changed the code as you advised but would you believe it still goes to http://localhost/Ecart6FB2/products_detail.php?ProductID=3

<input type="button" name="eCart1_Continue_100" id="eCart1_Continue_100" value="Continue Shopping" class="eC_FormButton" onclick="document.locaton.href='../product_results.php'" />

Thanks
John

Sign in to reply to this post

Ray BorduinWebAssist

Sorry that should have been input type="button"

Sign in to reply to this post
Did this help? Tips are appreciated...

john70964

Hello Ray
I changed this to
<input type="button" name="eCart1_Continue_100" id="eCart1_Continue_100" value="Continue Shopping" class="eC_FormButton" onclick="document.locaton.href='plugins/plugins/plugins/product_results.php'" />
when I click the button nothing happens.
Regards
John

Sign in to reply to this post

Ray BorduinWebAssist

It looks like the cart is from a plugin, so you have to account for the change in directories.

The button should probably look like:
<input type="button" name="eCart1_Continue_100" id="eCart1_Continue_100" value="Continue Shopping" class="eC_FormButton" onclick="document.locaton.href='../../product_results.php'" />

Just make sure the path to the product_results.php page is the correct path relative to the page you are updating.

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...