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

Size not showing up in eCart

Thread began 10/11/2017 4:49 pm by tmcbinc99963 | Last modified 10/17/2017 12:54 pm by Ray Borduin | 45 views | 15 replies |

tmcbinc99963

Size not showing up in eCart

The eCart Size column is blank (selected from a drop down menu on the previous page), though the other information is there.

The binding for 'Size' is there, and looks like the same setup as the other bindings that show results.

Sign in to reply to this post

Ray BorduinWebAssist

Are you sure you are inserting the Size value in your Add to cart properly? Have you uploaded your cart object after adding the Size column?

Sign in to reply to this post

tmcbinc99963

It was working previously. Just noticed it today, but can't figure out what happened.

Sign in to reply to this post

Ray BorduinWebAssist

It is one of 3 things.

1) you haven't uploaded a version of the cart with the Size column
2) you haven't set the value of the size column in the add to cart
3) you have a problem with the code to display the size column

I can't tell which from here, but if you look at your cart object, add to cart buttons, and maybe dump the session which includes the cart onto the page you can probably figure out which of the 3 has the problem. Then from there it should be easier to fix.

Sign in to reply to this post

tmcbinc99963

The page code looks the same on backup file and current error file.

Opened the eCart server behaviors, which look ok, but frankly, don't know php well enough to troubleshoot properly.

Don't understand what you mean by 'dump the session which includes the cart onto the page'.

Request for Quote file is attached, which is the first page where the Size is blank.

Sign in to reply to this post

Ray BorduinWebAssist

To dump the session add this code to any page... maybe create a new debug.php page:

<?php
@session_start();
var_dump($_SESSION);
?>

After adding an item with a size to the page, go to that page and see if the cart stored in the session has the size. If it doesn't then you know the issue is with the add to cart or cart object itself. If you see the size in there, then the issue is with the cart display.

I just tried your page and the size values are showing up for me in the cart.

Sign in to reply to this post

tmcbinc99963

Attached is a screen shot of what I get after entering Product number 201, quantity 22 and size 275 gallons.

I tried five different products with different quantities and sizes. Every result has errors in size and quantity - blank size and a quantity of 1. I don't see the quantity or size in the dump.

Also, the product results page doesn't redirect to the Cart any more, though the wizard has the correct value.

I've looked at both the Add to Cart on the product detail page and the eCart object, but they both seem ok.

Are you looking at the page referenced in an earlier post, because I get wrong values in both size and quantity in every instance.

Attached are the product detail, request for quote and Object files.

Sign in to reply to this post

Ray BorduinWebAssist

I can see there is no size in the cart... so the issue must be with the add to cart page.

If I use the previous url you gave it seems to work. The other link I get an error when I try to add to cart in general.

Sign in to reply to this post

tmcbinc99963

Just added error reporting to product detail page, but don't get any error messages, only flawed results.

The old test site works from the results page, but not the product detail page. I'll look at that results page for a possible solution.

Sign in to reply to this post

Ray BorduinWebAssist

Yes, so that tells you exactly what the issue is. The add to cart button on the details page isn't inserting the size value correctly.

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