close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

No redirection to the cart display page after "add to cart" button clickk

Thread began 4/09/2012 7:32 am by daniel.fleury436552 | Last modified 4/11/2012 11:38 am by Jason Byrnes | 920 views | 5 replies |

daniel.fleury436552

No redirection to the cart display page after "add to cart" button clickk

Hi

In my "add to cart" button the behavior is set to redirect to the cart display page. After click the item is well added to the cart but the cart display page is not displayed and the product page is displayed again.

Strange because with a simple training eCart page all is fine but in my real pages the cart display page is not displayed after "add to cart". In both case I use the "Add to cart wizard". Any idea what should be wrong or where to check?
Of course the name of my cart display page is good ;-)
$ATC_RedirectAfter = "panier.php";

Thanks, Daniel

Sign in to reply to this post

Jason ByrnesWebAssist

send a copy of the page with the add to cart button on it so I can examine the code.

Sign in to reply to this post

daniel.fleury436552

Files

Hi, I send you somes files:

Two very similars pages with dynamic buttons :
- DynamicButton_OK.php, all is fine with this file, the redirection works
- DynamicButton_Bug.php, redirection no works and I'm unable to understand why

A only one static button page in a folder with template and eCart folder, if you need.

Thanks, Daniel

Attached Files
RedirectionProblem.zip
Sign in to reply to this post

Jason ByrnesWebAssist

the problem is caused by a blank line between php code blocks at line 76:

php:
?>


<?php




remove that blank line between the code blocks:

php:
?>

<?php
Sign in to reply to this post

daniel.fleury436552

Thanks

Fantastic ! all is OK now :-)

Thanks for your help

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

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...