11 / 11
Aug 2009

Testing cart before launch -



1. I added an item - cart opens

2. checked remove box and clicked "update cart"

3. NEW SCREEN - Your cart is empty. When I click "CONTINUE SHOPPING" it goes BACK to the previous cart screen with one item in it - when it SHOULD close the lightbox and return to the shopping page in my site.



what to do?

  • created

    Aug '09
  • last reply

    Aug '09
  • 10

    replies

  • 1.5k

    views

  • 3

    users

  • 3

    links

I tried to go to your site Tuzigoot.com but the page I got said it was down for maintenance. Can you tell us the URL of your live sales page with out cart buttons on it?

Your site appears to be using some sort of custom lightbox approach rather than our cart's standard lightbox behavior. I think that custom implementation is causing your problem, as our standard button code and cart does not behave that way or produce the problem you described.



You will need to either troubleshoot whatever is going wrong with your custom lightbox code (which you would need to do on your own, since we know nothing about whatever custom approach you're using for that), or just replace your site's button codes with our standard code (and we can help you troubleshoot any problems you may have with that).

I used the lightbox that was included with the template becuase the e-junkie cart didn't work without it (it opened cart in new page - not in overlay)



I guess you guys use thickbox, correct?



How would I install that js on a joomla site?

I think our overlay-style cart rendering is loosely based on Thickbox, but we have modified it considerably from that basis; this should not concern you, as the cart overlay code is included with our standard View Cart button code, so you just need to get that code into your page somehow.



You will need to figure out now Joomla might allow you to paste-in ready-made HTML code that would be saved to your page as-is, without having that pasted code modified in any way. I found this post which you may find helpful:

http://www.e-junkie.com/bb/topic/3478#post10502

Turned off WYSIWYS and pasted the button - code stayed verbatim - sure enough, the continue shopping button worked like it was supposed to - BUT the whole cart opened and closed in a new window, not a lightbox/thickbox.



somehow, joomla is ignoring the javascript, even tho it remains there in the code.



BTW - site is live, so I had to revert the button it's previous dodgy state (for now)

We would need to see a page with the problematic code in it to troubleshoot any further; we can't help much if we can't see what's actually going on and what the code looks like. Maybe you can create a secret test page (unlinked from any public page) and send us the direct URL to that page?

Aha, you need at least one block of View Cart button code on every page that has any Add to Cart buttons. The View Cart code calls upon all the programming that generates the nice cart overlay, so without that code anywhere in the page, the Add to Carts will operate in "fallback mode" by opening the cart in a new window/tab.

bingo! works perfectly now -



I guess when I shut off WYSIWYG, I only replaced the ADD TO CART code and left the old, truncated VIEW CART button



thanks!