E-junkie Ecommerce Forums » E-junkie Discussions
Tag Cloud for this topic: | |
| |
|
Rmk82 member Posts: 4 |
Is there a way for me to embedd the shopping cart script for it to show on the website without klicking the "wiev cart" button?So it stays permanent on the website without anypopup when klicking wiev cart, so it automaticly updates on the website and not the popup window? Maybe an Iframe or embeddable code? Yes? no? =) # POSTED ON: May 15, 2011 @ 14:39 GMT -7 MODIFIED ON: May 15, 2011 @ 16:40 GMT -7 |
|
E-junkieGuru E-Junkie Crew Posts: 4343 |
We do have an "unofficial hack" that can do something like that; see if this may suit your needs: http://www.e-junkie.com/bb/topic/3086 # POSTED ON: May 15, 2011 @ 23:46 GMT -7 |
|
Rmk82 member Posts: 4 |
Cant get this to work, im really terrible at coding. So, this is my Weiv chart code " <a href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=169096&ejc=2" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="http://www.e-junkie.com/ej/ej_view_cart.gif" border="0" alt="View Cart"/></a> <script language="javascript" type="text/javascript"> <!-- function EJEJC_lc(th) { return false; } // --> </script> <script src='http://www.e-junkie.com/ecom/box.js' type='text/javascript'></script> This is the code you want me to add. function EJEJC_config() { EJEJC_POSTCALL=true; } function EJEJC_shown() { document.getElementById('itemsInCart').innerHTML=EJEJC_cartsize()+" Items : Total $"+EJEJC_cartamt(); } THE FULL CODE <a href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=169096&ejc=2" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="http://www.e-junkie.com/ej/ej_view_cart.gif" border="0" alt="View Cart"/></a> <script language="javascript" type="text/javascript"> <!-- function EJEJC_lc(th) { return false; } function EJEJC_config() { EJEJC_POSTCALL=true; } function EJEJC_shown() { document.getElementById('itemsInCart').innerHTML=EJEJC_cartsize()+" Items : Total $"+EJEJC_cartamt(); } // --> </script> <script src='http://www.e-junkie.com/ecom/box.js' type='text/javascript'></script> THE BODY CODE <div id='itemsInCart'></div> What did i do wrong? it still only shows the Wiev Cart button and no window. # POSTED ON: May 16, 2011 @ 08:19 GMT -7 |
|
E-junkieGuru E-Junkie Crew Posts: 4343 |
Could you provide the URL of a page where you're using this code, so I could have a look? # POSTED ON: May 17, 2011 @ 14:40 GMT -7 |
|
Rmk82 member Posts: 4 |
http://www.garasjesalg.org/shoptest/shopcarttest.html i kinda made it work. But i have to add an item before anything shows in the window. When i refresh the page the items added goes away and i have to klick wiev cart or add to cart for it to show again. The checkout option isnt there eather. # POSTED ON: May 17, 2011 @ 15:14 GMT -7 MODIFIED ON: May 17, 2011 @ 15:17 GMT -7 |
|
E-junkieGuru E-Junkie Crew Posts: 4343 |
Yes, that's pretty much all it does and just how it works; like I said, it's just an unofficial hack. :^) We haven't developed any way to make it appear on every page as soon as the page is loaded; it only appears after the cart has been viewed on the page, and it only shows the cart total and how many items are in the cart, and that's as far we we've developed it. Conceivably, adding custom javascript into your page might be able to adapt this further towards what you need; if you'd want some help programming that, we can recommend the competent, E-junkie-experienced developers listed in our directory here: http://www.e-junkie.com/ej/developer-directory.htm # POSTED ON: May 17, 2011 @ 17:15 GMT -7 |
|
Rmk82 member Posts: 4 |
E-junkieGuruYes, that's pretty much all it does and just how it works; like I said, it's just an unofficial hack. :^) We haven't developed any way to make it appear on every page as soon as the page is loaded; it only appears after the cart has been viewed on the page, and it only shows the cart total and how many items are in the cart, and that's as far we we've developed it. I c, no wonder i couldnt get any further :D Thanks alot for your help! # POSTED ON: May 17, 2011 @ 17:32 GMT -7 |
You must be logged in to make a post. Please click here to login. | |






