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

2 Questions re: View cart, Images

Thread began 5/21/2010 11:05 pm by chriscaldwell11357847 | Last modified 6/01/2010 2:17 pm by CraigR | 2002 views | 19 replies |

chriscaldwell11357847

2 Questions re: View cart, Images

Hello,
Hope someone can help!

1. When I add a text link at the top of my pages for View Cart, is there a way to display the quantity of items in the cart? Like Macys.com, Nordstrom.com, etc.

2. My items are static, and although I've created a folder to store thumbnail images in, no image displays on the checkout page.

Thank you,
Chris

Sign in to reply to this post

CraigRBeta Tester

1. depends on how detailed you want it.

You could add a quick cart, by going to eCart -> display manager and choose display type of quick cart.

this gives you number of items in cart, value, and some navigation buttons.

if you only want to show the number of items, paste the following line...

<?php echo $CARTNAME->TotalColumn("Quantity").' items in cart'; ?>

where CARTNAME is the name of your cart

2. can you post your page, it'll help someone debug it.
I haven't used static data in ecart, but i can take a look

Sign in to reply to this post

chriscaldwell11357847

Uploading issue

Hello,
I need help. I've spent several days and nights and am not getting anywhere. When I bought ecart, I thought this will be a piece of cake. I can simply use this extension in my already built html site. I thought it looked so simple on the video clip. Now, here I am several days later, absolutely confused and my client doesn't understand what's the issue. We just wanted a simple site to sell some darn tshirts and hats and prints. I cannot figure out how in the world to specify different sizes of shirts or hats when a person is ordering. The posters are all the same size. When I used Paypal's add to cart, i was able to do this easily. ecart doesn't have this option I guess? Every time I search here, I see similar issues that people are having, but the fixes seem to apply to their unique situation, (ie different prices for different sizes.). In my situation, everything's the same price, no matter what size shirt they buy. I simply cannot understand how to do this.

I would love to upload the site so someone could help me understand what is wrong, but even that is a chore. Whereas HTML was a piece of cake to upload, using PHP required me to install xampp, php, etc. to test on my computer. Now, when I try to upload to my actual paid hosting service, I can't do it. The DW CS4 interface asks me "What URL would you use to browse to the root folder of your site?" By default, it says: localhost
SO I just kept that there. When I click TEST URL, I get a pop up, "Dreamweaver cannot use the prefix you entered to display live data" WHAT?

This should have been simple, point and click. But it seems that a person must have an incredible amount of understanding. I thought I was pretty smart, but I'm totally lost in the woods. Not only that my thumbnail images don't even display. I specified the exact folder they were in, too.

Sign in to reply to this post

chriscaldwell11357847

cart always empty

Okay, i finally got the site uploaded. Now comes the fun part...debugging:

index.php is the home page,
and i'm trying to get the add to cart stuff working as it should.

I am a newbie, so I need a little handholding.

1. When I go this page, for example: prints.php
and i look at the first poster, i click on the add to cart button, but then the cart page:

cart.php indicates cart is empty.

This was working on my local machine, but not now that it has been uploaded to my paid hosting server.

2. When I go this page: hats.php

I experience the same thing. My goal on this page was to have different hat size options. All the same price, just wanted small, medium. large, xl, xxl to be options.

I think I'll start with this debugging, and then move to the next issue! Thank you so much for any help you can offer. I really want this to work, so that I can then make my client happy and get even more work and buy more extensions from Web Assist.

My apologies for being a bit of a novice. But i'm a quick learner. Also, this is a static cart. I'm learning about database stuff for the next site.
Chris

Sign in to reply to this post

CraigRBeta Tester

ECart can be a really useful extension, but to get it to work well, a bit of php (and database) knowledge can really help.
There are some great books on php, (but I'm sure that's not what you want to hear right now).

I think that's why WA brought out powerstore

All I can suggest is read the guides and the forums, get a feel of the product, and post to the forum.

There are lots of people out there, in Webassist, and others like me, who have been through the steep learning curve before, who are all happy to help.

Good luck with it.

Sign in to reply to this post

Jason ByrnesWebAssist

where it was working for you locally, but is now not working on the server, I suspect a session management issue.


see the following thread for a php script that can be used to test the servers session management:
showpost.php?p=23826&postcount=2

If the session test fails, you will need to contact the host to have them fix the problem.

Sign in to reply to this post

chriscaldwell11357847

Here's the reply I got from hosting company:



Hello,

I'm writing in regards to ticket #7080061, on your shopping cart issues.

I've checked your account and the configuration of your settings on the server appears to be correct at this time. It seems that your website is designed with custom coding, and unfortunately we do not provide support for any third-party scripting issues.

If there are any adjustments you need made to the account for your scripts to function, we can assist with those. Alternatively, you can make any necessary adjustments to your PHP settings for the account by accessing your php.ini file within the Control Panel at PHPplus.bml

If you have any further questions regarding this issue, please feel free to reply to this ticket through your Support Console or via email/telephone. Thank you for contacting us.

Sign in to reply to this post

Jason ByrnesWebAssist

what was the result of the session test?

can you please send a link to the sessiontest.php page.

Sign in to reply to this post

chriscaldwell11357847

Hi,
I appreciate the help so much.

Here's the link to the Session Test page:

sessionTest.php

thanks,
Chris

Sign in to reply to this post

Jason ByrnesWebAssist

OK, so the session test page is failing.

This means that the problem is on the host end.

Probably, the session.save_path is not set correctly.

This is not an issue with "Custom Code" as the host claims.

The session test page is a very simple page with minimal coding.

if consists of 2 links, the first goes to:
sessionTest.php?test=test


the querystring variable test=test is used to trigger code that sets a session variable.

the second link goes to:
sessionTest.php

without the querystring variable. The second link has no effect on the session variables value. but the value is being lost.

The host will need to fix the problem on their end, show them the session test script, send them the link and ask them to test it for themselves.

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