1 / 7
Nov 2008

I have just integrated an Add To Cart button in my website (I'm using iWeb) which I built on my macbook. When I go to the site online I have no problem using the button but I tried it from my wife's PC Laptop and while the Add To Cart button appears just the same it is not live. Clicking on it does nothing. Any suggestions why it's working from my laptop but not hers? She uses Internet Explorer and Windows XP (I think). I'm using Firefox if it makes any difference.

Thanks.



BTW, I'm afraid I can't put a link to the site up as yet.

  • created

    Nov '08
  • last reply

    Jan '11
  • 6

    replies

  • 1.7k

    views

  • 4

    users

  • 4

    links

Without having a site link we can test and look at directly, we can only give general advice here which may not address your actual issue. It's okay, people post links to unfinished sites for us to look at all the time; if you wish, you can send it to us privately via email:

1http://www.e-junkie.com/ej/contact.php1



That said, first of all you do need to have your store pages published/uploaded to a live Web server for the cart to work; the buttons and cart will not work properly on a "local" copy of a page that's only saved to your own computer's hard disk alone and not accessible online.



iWeb also has a known issue where any HTML code-snippet widgets (such as our button codes) that you insert into an iWeb page do not actually get inserted directly into the raw source code of the page itself. Instead, iWeb saves each snippet you insert as a separate file, and it puts <iframe> tags in the main page that point to that separate snippet file. Our cart button codes (especially the View Cart button that makes the nice cart overlay work) cannot work properly with this iframe method, as our codes must be pasted directly into the raw HTML source of the page itself.



If iWeb does not allow you to edit the raw HTML code of the page directly somehow, then here's a trick you can use. Instead of pasting our button codes into iWeb, just use iWeb to perform all the "heavy lifting" of overall page layout and design, and type some placeholder text like XXXXX wherever and however you would want our buttons to appear on the page, then save your pages/site and close iWeb. Then open those same Web page files using a plaintext editor like TextWrangler (a free, very good app for this task), find the XXXXX placeholder text in the code, and replace that with our button code.



Download TextWrangler:

http://www.barebones.com/products/textwrangler/

Thanks for your reply but I'm afraid you mis-read my original post. I had no problem integrating the Add To Cart button into the site. The site is also uploaded to a server. As I stated when I go to the site online the Add To Cart button works fine on my computer(a mac) but not on my wife's(a PC). Here is a link to the unfinished site www.wombience.com1 and the page in question here: 1http://www.wombience.com/Site/Shop.html1



Another problem I haven't really looked into yet is why the button appears in the top left of the page, but I may just have to move the html around.

Thanks

Although the button is working fine in FireFox 3 in PC, I can see why it will not work on other browsers.



You have whole E-junkie buttons inside an "IMG" tag, basically, you've got broken HTML. Please fix that and the code will work fine.



Also, you don't have VIEW CART button pasted on your page and that's the the cart is opening in a new window instead of opening inside your page.

Thanks for that. I'll sort all that and hopefully that will be it. Cheers.

2 years later

So I tried to add text boxes with placeholder text "XXXXX" and find that in the code with Text Wrangler. I'm not seeing any of my actual text in the code file. Am I looking in the wrong folder? What file extension should I be looking for?



(perhaps I'm in a little over my head)



Cait

Aha!!!! I have found it! How exciting! It is much slicker in this format with the overlay!



I guess it's just a matter of fiddling about a bit to get the two buttons to line up nicely. It seems that even when the place marker boxes are aligned nicely within iWeb, once replaced with the add/view cart code, they are slightly off-set.



Anyway, massive improvement!



Cait