Hi Jimmy,
I have been using the template page for all pages in the site. I created the template page as a regular php page, and then made it template with insert - template objects.
I modified the template page to hold the quick cart (not the entire quick cart, I am just using the number of items and the amount), and this is the code that is added to the top:
<?php
//WA eCart Include
require_once("../WA_eCart/cartname_PHP.php");
?><?php
$cartname->GetContent();
?>
<?php
// WA eCart Redirect
if ($cartname->redirStr != "") {
header("Location: ".$cartname->redirStr);
}
?>
I had deleted the behaviors regarding the buttons.
Now, when I open a new page based on the template, the code appears at the top. But the existing pages do not have the code even though they were updated. Also applying the template does not get the code on the pages.
I don't have that many pages, so I decided to go ahead and paste the code to every page that does not have the code. The cart and the checkout pages have the code already.