close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Continue shopping not working

Thread begun 5/28/2010 8:54 am by Miguel | Last modified 6/02/2010 2:15 pm by Jimmy Wu | 2292 views | 4 replies |

Miguel

Continue shopping not working

Hello im working with server side includes (ADDT) cause this site will not be moved to a php 5.3 server it will always remain on php5.2,but i have the cart page on its own page without the server sides i added the

<?php 
error_reporting(E_ALL);
ini_set('display_errors','on');
?>



No errores display here

i also added at the end of the page

<?php var_dump($_SESSION); ?>



this displays the following

array(22) { ["KT_lastsiteroot"]=>  string(32) "15e3eacf32101fac18c32abf386ba185" ["tfi_listusers1_estado_u"]=>  string(0) "" ["KT_backArr"]=>  array(1) { [0]=>  string(59) "http://localhost/folder/folder/main.php?action=users" } ["KT_lastUsedList"]=>  string(13) "listusers1" ["tfi_listusers1_UserID"]=>  string(0) "" ["tfi_listusers1_foto"]=>  string(0) "" ["tfi_listusers1_correo"]=>  string(0) "" ["tfi_listusers1_nombre"]=>  string(0) "" ["tfi_listusers1_apellido"]=>  string(0) "" ["tfi_listusers1_pais"]=>  string(0) "" ["tfi_listusers1_edad_u"]=>  string(0) "" ["tfi_listusers1_level"]=>  string(0) "" ["tfi_listusers1_type_acc"]=>  string(0) "" ["tfi_listusers1_payment_usr"]=>  string(0) "" ["tfi_listusers1_coordinator"]=>  string(0) "" ["filter_tfi_listusers1"]=>  string(3) "1=1" ["sorter_tso_listusers1"]=>  string(20) "usuariox.UsersID DESC" ["default_max_rows_nav_listusers1"]=>  int(20) ["max_rows_nav_listusers1"]=>  int(20) ["WADbSearch1_planes_prod_Results"]=>  string(0) "" ["Ecart_Items"]=>  string(272) "2|WAECART|prueba2|WAECART|222|WAECART|0|WAECART|1|WAECART|8000|WAECART|Main|WAECART||WAECART|0|WAECART|8000|WAECART|1 prueba2 (2)§1|WAECART|prueba|WAECART|servicio de prueba|WAECART|0|WAECART|1|WAECART|9000|WAECART|Main|WAECART||WAECART|0|WAECART|9000|WAECART|1 prueba (1)" ["WAEC_ContinueRedirect"]=>  string(41) "/folder/main.php?action=detail&id=1" }

I also changed the continue behavoir to the following

<?php
// WA eCart Continue Shopping
if (isset($_POST["Ecart_Continue_100"]) || isset($_POST["Ecart_Continue_100_x"])) {
$Redirect_redirStr="main.php?Search_pro=&action=results&Search.x=48&Search.y=4&Search=Search";
if (true && isset($_SESSION['WAEC_ContinueRedirect'])) {
$Redirect_redirStr="main.php?Search_pro=&action=results&Search.x=48&Search.y=4&Search=Search";
}
if ($Redirect_redirStr != "") {
$Ecart->redirStr = $Redirect_redirStr;
}
$Ecart->cartAction = "Continue";
}
?>



Readed every post about this button and did changes suggested to those users but with no luck if i click continue shopping it just stays on the cart page but doesnt change to any, what else should i do or what am i missing?

Sign in to reply to this post

Miguel

Nevermind fix it moving the order of stuff on top of the page, this behavoir has happened to me on multiple site but mostly when working with templates on this page i have no template, what i did was check other sites i made and saw the issue, it seems that the codes

<?php
// WA eCart Redirect
if ($Ecart->redirStr != "") {
header("Location: ".$Ecart->redirStr);
}
?>

where placed at the wrong spot i moved it to the end just before <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

the wizard added al the show cart stuff but left that just after

<?php
$Ecart->GetContent();
?>

after moving it things worked good.

Now this is not the first time i have to move stuff around after the wizards finish, i think WA should trouble shoot this why stuff are placed randomly or not placed in the correct order, but its not always for me it was just only when using templates but today it happened without a template on the page.

Sign in to reply to this post

Jimmy Wu

Do you have some specific steps to reproduce the incorrect placement of the code? We would be glad to troubleshoot it if we were able to reproduce it consistently.

Sign in to reply to this post

Miguel

No specific steps, but it always happens when i make a template with dreamweaver or if i use a premade one for example using dataassist telling it to use a template if i use the validator toolkit after it places always at the wrong spot the validation and i have to move them, or for example if i build a product page using a normal query made by dreamweaver if the page has a template after building the product page adding a repeat region just small stuff when i apply the add to cart button i have to move the libary or require files from place also the redirection stuff, if i dont have a template on the page it adds all fine until this last proyect, and the only new thing i have on extension is css form builder but i doubt thats the problem.

Sign in to reply to this post

Jimmy Wu

Ok, I'll try those steps to see if we are able to reproduce the error and if we are I will log a bug for this.

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