close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

eCart 6 Bindings Panel

Thread began 3/30/2020 6:53 am by Ian Sheldon | Last modified 3/30/2020 10:27 am by Ray Borduin | 443 views | 3 replies |

Ian Sheldon

eCart 6 Bindings Panel

Hi,

It's been a while since I used eCart but using it to build a site right now.

Is there supposed to be anything in the Dreamweaver bindings panel relating to eCart? Such as column headers, totals etc? It's not showing anything.

Cheers
Ian

Sign in to reply to this post

Ray BorduinWebAssist

If you add any eCart functionality to the page then it should show up, so bindings will appear on add to cart pages or display pages.

If you are starting from nothing then you would have to manually add the eCart reference to the page to have the bindings appear. The necessary code is:

php:
<?php

//WA eCart Include
require_once("WA_eCart/eCart1_PHP.php");
?>
<?php
$eCart1
->GetContent();
?>
<?php
// WA eCart Redirect
if ($eCart1->redirStr != "")     {
  if (
function_exists("rel2abs")) $eCart1->redirStr rel2abs($eCart1->redirStr,dirname(__FILE__));
  
header("Location: ".$eCart1->redirStr);
  die();
}
?>
Sign in to reply to this post
Did this help? Tips are appreciated...

Ian Sheldon

Hi Ray!

Thanks for the reply.

Yup, I have those on the page but nothing in the bindings panel at all the relates to eCart.

I'm running Dreamweaver 20.1 on Mac OS.

<?php 
//WA eCart Include
require_once('WA_eCart/infinityCart_PHP.php');
?>
<?php
$infinityCart->GetContent();
?>
<?php
// WA eCart Redirect
if ($infinityCart->redirStr != "") {
if (function_exists("rel2abs")) $infinityCart->redirStr = rel2abs($infinityCart->redirStr,dirname(__FILE__));
header("Location: ".$infinityCart->redirStr);
die();
}
?>



Edit ** No problem! I sussed it **. I had amended the include file to sit on one line to conform to the include code on the rest of the page. Thanks!

Sign in to reply to this post

Ray BorduinWebAssist

Does the eCart Object show in the Server Behaviors panel? Is eCart installed properly and you can open other eCart interfaces? I have the same dw version but I'm not on a mac.

If you continue to have issues please post your phone number in the private area of a reply and I can do screen sharing to see if I can find the problem.

Sign in to reply to this post
Did this help? Tips are appreciated...

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