close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

How do I add a quick cart?

Thread began 9/30/2009 12:26 pm by Roxana | Last modified 10/07/2009 6:20 pm by Roxana | 2573 views | 6 replies

Roxana

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.

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