OrderAnywhere button and minicart problems

General ShopSite user discussion

OrderAnywhere button and minicart problems

Postby jontaco » Wed May 14, 2008 1:58 pm

I have 2 problems with my cart system.

1. OrderAnywhere Buttons-
Step 3 of the instructions in the Pasting Mini Cart Code Into Your Store Page section of the Help file says to go to the the OrderAnywhere section of the Back Office and click Show HTML for any product and select the line that begins with http and ends with show, but I don't see it.

2. Minicart - I used the same help file as above, I created an include file for my minicart with summary theme. But each time I test it and add an item, I do not get this:

Your Shopping Cart
Contains 1 Items
Subtotal: $188.88

It remains just like it was before, which was:

Your Shopping Cart

Of course the code(s) would really help you help me so here they are:

This is what the OrderAnywhere HTML looks like in Back Office:

http://jonathantw.com/orderanywhere.txt


This is the minicart.js include file I created for the minicart summary:

http://jonathantw.com/minicart.txt

And here is how I added that include to my page template:

http://jonathantw.com/page.txt

You can see I have followed all the steps.
Any help is greatly appreciated.

Jon
jontaco
 
Posts: 39
Joined: Sun Apr 20, 2008 8:05 pm
Location: Huntsville, AL

Postby Jim » Wed May 14, 2008 2:23 pm

The orderanywhere code that you show is correct. If your item has order options or quantity then the add to cart must be a form submit for the product and not just an href.

Did you enable the mini cart on Commerce Setup > Order System > Layout Info?

Is the domain name in your shopping cart URL the same as the store page url? The Minicart works off of cookies and if the domain names are different the cookies can't be read.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

StoreID

Postby jontaco » Wed May 14, 2008 4:24 pm

But how can I be sure this code is right?

Code: Select all
var cartURL="https://mulbe4.sslcert19.com/cgi-bin/sc/order.cgi?storeid=*1a484557c5eb4b795d9463eed85a11&function=show";


I am completely confused and the help files and templates are not helping.
jontaco
 
Posts: 39
Joined: Sun Apr 20, 2008 8:05 pm
Location: Huntsville, AL

Postby Jim » Wed May 14, 2008 4:40 pm

What is the url for your store page? And what is a product that I could put in the cart to see what the cart url is?

If the domain name for the store page is not the same as the one for the cart then the mini cart will NOT work period.

I tried going to the url in the add to cart button for the store page (http: //mulberrystreetgifts. com) and that ended up in a redirect to another url (http: //www.myhomegifts. com/)so that is a strong hint that it isn't going to work.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Still

Postby jontaco » Thu May 15, 2008 10:22 am

Hi Jim,

Thanks for the help so far.

Yes, mulberrystreetgifts.com WILL redirect to a completely different domain if you try it.

Index.html intentionally redirects elsewhere because we are not ready to reveal mulberrystreetgifts.com to customers

To get around this, go to http://mulberrystreetgifts.com/store/index.php

And yes, minicart is enabled in the backoffice.

Could a conflict of domains because of this redirect be the heart of the problem? In addition, SSL security for everything was on in the back office, so I turned these OFF, but still no luck.


If you click on the shopping cart at the very top of the page, (which I don't know why it shows up there either ARRRRGGGHH!) there is yet ANOTHER error that says 70ptcruisin.auth cannot be found. What the heck does THAT mean?

Sincerely,
Helpless and lost
jontaco
 
Posts: 39
Joined: Sun Apr 20, 2008 8:05 pm
Location: Huntsville, AL

Postby Jim » Thu May 15, 2008 11:13 am

The add to cart goes to "http://mulbe4.sslcert19.com/cgi-bin/sc/order.cgi" which is where the cookie for the minicart would be created. Once you get back to your store page at http://mulberrystreetgifts.com/store/bo ... paw_ex.php that cookie can not be read because it is a different domain. So that is definitely the problem and the only way to fix it is to have your shopping cart at http://mulberrystreetgifts.com/cgi-bin/sc/order.cgi so that the domain name for the cookie will be the same on the store page and the shopping cart.

Note that the first shopping cart screen should not need to be secure since no customer information is entered on that screen. The way your store is configured is not standard in that regard since it is using a secure URL instead of the no-secure store domain name url.

For your second question about clicking on the "shopping cart at the very top of the page" are you talking about the black text in the upper left corner that says "Your Shopping Cart"? When I click on that it takes me to the shopping cart just fine.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby jontaco » Fri May 16, 2008 9:43 am

So what you are saying is this -

Shopping Cart Checkout page - non-secure?
Other Billing and Credit Card pages - secure?
the rest of the site - non-secure?

I don't understand. I thought that the certificate at http://mulbe4.sslcert19.com and http://mulberrystreetgifts.com
WERE the same thing. that was my assumption when I talked with Verio.

I am sharing a secure server with the host, Verio. That is where mulbe4.sslcert19.com comes from.

But the 2 domains are not working together.

Maybe this a problem better solved with Verio?

Jon

p.s. If I follow your logic, and put the shopping cart at http://mulberrystreetgifts.com/cgi-bin/sc/order.cgi,
then customers' credit card information will not be secure anymore, will it?
jontaco
 
Posts: 39
Joined: Sun Apr 20, 2008 8:05 pm
Location: Huntsville, AL

Postby Jim » Fri May 16, 2008 9:56 am

See my answer to this same question in this post
http://support.shopsite.com/forums/viewtopic.php?t=5793
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah


Return to User Forum

Who is online

Users browsing this forum: Google [Bot] and 122 guests