close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Cart Doesn't Work

Thread began 7/27/2011 2:10 pm by rob294118 | Last modified 8/03/2011 3:32 pm by Jason Byrnes | 3656 views | 52 replies |

rob294118

Cart Doesn't Work

I followed the eCart Getting Started instructions and nothing works.

The product images don't display as images (yes I have it set to "image" in eCart).

The "Add to Cart" button does nothing.

Link: products_eyes.com

Sign in to reply to this post

Jason ByrnesWebAssist

I am not able to access the page at the link you provided, it keeps timing out.


send a copy of the pages a in a zip archive and a working link where i can see the problem in the browser to troubleshoot.

Sign in to reply to this post

rob294118

Files

products_eyes.php

Attached Files
webassist.zip
Sign in to reply to this post

Jason ByrnesWebAssist

1) in ordder to show the product images on the product p[ages, you need to add an image tag:

php:
<p><?php echo $row_rsProducts['ProductThumb']; ?></p>

<p><?php echo $row_rsProducts['ProductImage']; ?></p>



should be:

php:
<p><img  src="path/to/images/<?php echo $row_rsProducts['ProductThumb']; ?>" /></p>

<p><img  src="path/to/images/<?php echo $row_rsProducts['ProductImage']; ?>" /></p>




where path/to/images/ is the path to the folder the image files are stored in.

2) in the add to cart behavior on the products_eyes.php you have set it to redirect to the cart.php page after adding the item.

3) on the cart.php page, add the following code at line 1:

php:
<?php

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

rob294118

Can you check my 2 files? It adds it to the cart but it's not going to the cart.php page after I add the product.

Attached Files
webassist.zip
Sign in to reply to this post

Jason ByrnesWebAssist

you need to edit the add to cart button behavior and set it to go to the cart.php page after adding the item.

Sign in to reply to this post

rob294118

How do I have a "View More" for all of the products so I can show a more detailed description of the product?

Sign in to reply to this post

Jason ByrnesWebAssist

this is refereed to as a Master Detail Page set.


You can use the DataAssist to create this as a results and detail page


or you can create it manually, to create it manually, see the following from the Dreamweaver help:
help.html?content=WScbb6b82af5544594822510a94ae8d65-78b7.html

Sign in to reply to this post

rob294118

Everything is working correctly now.

If I want to add options like "Colors" for certain products, how do I handle this? I'd like to do this like Powerstore does it where it only shows the options if it exists for a product.

Is there an easy way to do this?

Sign in to reply to this post

Jason ByrnesWebAssist

see the "Product Options with eCart" tutorial on the eCart support page:
ecart/

Sign in to reply to this post
loading

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