Possible Problem With Cart

Questions and answers about ShopSite Custom Templates

Possible Problem With Cart

Postby webdevla » Wed May 06, 2015 4:52 pm

Hi,

We have been noticing quite a bit of our visitors are leaving the site after hitting the url's: /sb/order.cgi?function=show and /sb/order.cgi

So they come to the cart, and their next click takes them to the two urls above and then they abandon the process since it throws an error when url's: /sb/order.cgi?function=show and /sb/order.cgi are called up without any parameters. We can not find any links to those two urls in the cart. Is there some sort of error or settings issue?
webdevla
 
Posts: 9
Joined: Fri Apr 24, 2015 12:55 pm

Re: Possible Problem With Cart

Postby Jim » Wed May 06, 2015 7:13 pm

The url to view a shopping cart is http://<yourdomain.com>/sb/order.cgi?function=show So you need to check your store pages that have a "view cart" kind of button / link and make sure that you have the complete url and not just the "/sb/order.cgi?function=show " part.

The /sb/order.cgi should also be your complete domain name url and not just sb/order.cgi and it needs to have the appropriate function to perform the operation that the shopper is trying to do like add to the cart or search or view, etc. Check your templates and make sure that you aren't using a relative references to those urls, they should be the complete url with the appropriate parameters.

If you provide a link to your site we might be able to see something in the html that would cause the problem.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Re: Possible Problem With Cart

Postby webdevla » Wed May 06, 2015 10:48 pm

Hi Jim,

Yes we are using the full url. I was just showing part of it without the full path to our domain in it. When I hit up those full url directly, the page shows:

We're sorry, but there was an error in your form data!

You must specify a valid value for: storeid .

Please go back and try it again.
webdevla
 
Posts: 9
Joined: Fri Apr 24, 2015 12:55 pm

Re: Possible Problem With Cart

Postby Jim » Thu May 07, 2015 7:43 am

The urls should never be gone to directly, they should always be accessed with the required parameters.
Because of PCI requirements that we don't allow random data to be passed to a url we need to do checking to see that the url content is valid and if it isn't then we need to post a message saying so. That is why the message is displayed.

If you have page links that direct to the shopping cart cgis without the required parameters then they need to be fixed so they submit the proper parameters otherwise the error messages will get displayed. I don't know any way to get around that issue.

If you can give us a way that the issue can be repeated on you website we might be able to help with a way to fix that specific problem but without actually seeing the problem it is pretty hard to guess exactly what is causing it.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah


Return to Custom Template Questions

Who is online

Users browsing this forum: No registered users and 8 guests

cron