close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

view cart button

Thread began 2/12/2010 3:58 pm by jim286478 | Last modified 3/29/2010 9:14 pm by Eric Mittman | 1200 views | 4 replies |

jim286478

view cart button

I have eCart working fine for this store I am working on and all the pages seem to function properly except for the view cart button. I am placing the view cart button in a DW template because I want the view cart to be on every page but every time I place a view cart button on the php pages I get an php error saying call to an undefined function. And when I remove the button everything works fine again. Is there an issue with the view cart button or something else I need to do beside what is says in the help files?
Thanks

Sign in to reply to this post

jim286478

OK, I found out a bit more! What I stateda bove is true when I insert the view cart button on the DW template so it could show up on all pages and it creates an error. However, when I insert the view cart button in a non-template page, it works fine so I gather there must be a link problem but I don't know!

Sign in to reply to this post

Eric Mittman

The code for the view cart button relies on the including of the WA_eCart/<your cart name>_PHP.php file. That include line of code would normally look like this:

php:
<?php

//WA eCart Include
require_once("WA_eCart/eCart1_PHP.php");
?>



If you have the template in a template directory you might need to add ../ to the front of this path like this:

php:
<?php

//WA eCart Include
require_once("../WA_eCart/eCart1_PHP.php");
?>
Sign in to reply to this post

jim286478

Thanks for your help.

Sign in to reply to this post

Eric Mittman

Your welcome, let us know if you have any other questions.

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