close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

add to cart error

Thread began 1/16/2010 11:30 am by jack279078 | Last modified 1/19/2010 10:39 am by Eric Mittman | 1504 views | 3 replies |

jack279078

add to cart error

When you click "add to cart" button from the product_detail page
http://outdoorlightingfixturesonline.com//Products_Detail.php?ProductID=610
The link is incorrect, I believe. At least the page won't load.
http://products_detail.php/?ProductID=610
Now what is really confusing me is if I add the first item
http://outdoorlightingfixturesonline.com/Products_Detail.php?ProductID=110
Then all other links work and the button directs to
http://outdoorlightingfixturesonline.com/cart.php
Does anyone have an idea of how I to do this and a correction for the issue?
Thank you

Sign in to reply to this post

Eric Mittman

In the link that you posted where things are not working correctly there is an extra slash (/) present in the link:

html:
http://outdoorlightingfixturesonline.com//Products_Detail.php?ProductID=610



When I try this same link without the extra slash it seems to be working ok for me:

html:
http://outdoorlightingfixturesonline.com/Products_Detail.php?ProductID=610



It seems that you may have an extra slash present in your root URL setting in your globals file, if you remove the trailing slash it should fix this issue for you.

Sign in to reply to this post

jack279078

You guys are good. I spent hours not seeing the obvious. Iam using this definition for the site now
$WAGLOBAL_Root_URL = "http://outdoorlightingfixturesonline.com" ;
$WAGLOBAL_Site_Name = "Barn House Lighting" ;
$WAGLOBAL_Address = "503 Suncook Valley Road (Route 28)";
$WAGLOBAL_City = "Alton";
$WAGLOBAL_State = "NH";
$WAGLOBAL_Zip = "03809";
$WAGLOBAL_Country = "US";
$WAGLOBAL_GoogleAPIKey = "ABQIAAAAXafbUiGiRYj0bogExLhVCRT2yXp_ZAY8_ufC3CFXhHIE1NvwkxT5czkOfeMRZCjwJ7_QG4gFmJ1OGQ";
$WAGLOBAL_localRoot = "/powerstore/";
$WAGLOBAL_remoteRoot = "http://outdoorlightingfixturesonline.com/" ;

It seems to be working. on enother site I define it this way with good results

$WAGLOBAL_Root_URL = "http://lamppostsonline.com/" ;
$WAGLOBAL_Site_Name = "Lamp Posts" ;
$WAGLOBAL_Address = "503 Suncook Valley Road";
$WAGLOBAL_City = "Alton";
$WAGLOBAL_State = "NH";
$WAGLOBAL_Zip = "03809";
$WAGLOBAL_Country = "US";
$WAGLOBAL_GoogleAPIKey = "ABQIAAAApNJMBVqTludfPvhD1wHWixSOiLRtrAVDomgxe0iJKHDP3oS-_hTob9_J0SQQtl-mHrKUDKbawyXSFw";
$WAGLOBAL_localRoot = "/";
$WAGLOBAL_remoteRoot = "/";
Any clue to why the difference?

Also thank you web assist support has been great!

Sign in to reply to this post

Eric Mittman

You might see a difference with these setting based on the remote root setting. The slash is probably translating to the site root URL properly. If you have them setup like this and have tested to confirm that they are both working properly then it seems that it is fine.

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