E-junkie Ecommerce Forums » E-junkie Discussions
Tag Cloud for this topic: | |
| |
|
Amit member Posts: 3 |
Hi, I want to add the view cart code snippet to a Joomla menu item. Currently, when I create a new menu item, I cannot add this snippet to it. It just gives me an option to add an external link but with no extra html tags. How do I do this? Please help... Thanks, ~Amit # POSTED ON: July 14, 2009 @ 13:18 GMT -7 |
|
E-junkieNinja E-Junkie Crew Posts: 753 |
Amit, You can try to add just the URL portion of the code. For example here is an entire view cart code: <a href="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=XXXXX&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> You will just want to take the URL, in the case of thus example it would be: https://www.e-junkie.com/ecom/gb.php?c=cart&cl=XXXXX&ejc=2 # POSTED ON: July 14, 2009 @ 16:11 GMT -7 |
|
Amit member Posts: 3 |
But then I won't be able to get the AJAX pop-up effect. Also, when I click on continue shopping, it gets me nothing.. :( Here is my view code link: https://www.e-junkie.com/ecom/gb.php?c=cart&cl=73425&ejc=2 And here is my website link where you can see the View Cart button. I need to get that button at the top after "Contact Us" above the search box. I would like to have the same effect there too (the AJAX pop-up effect). Please help. Thanks, ~Amit # POSTED ON: July 14, 2009 @ 16:19 GMT -7 |
|
E-junkieGuru E-Junkie Crew Posts: 4343 |
Try setting this as the URL for your menu item: javascript:EJEJC_lc('https://www.e-junkie.com/ecom/gb.php?c=cart&cl=XXXXX&ejc=2') The XXXXX part would be your client ID. I noticed the example you provided had ID 73425, but you're posting here in the forum from ID 76971, so I wasn't quite certain which one is for your seller's account. You would also need to have this portion of the View Cart code somewhere in every page, as this calls the programming that generates the nice cart overlay: <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> You may need to manually edit a template file in order to insert that code someplace where it would appear on every page, and where you wouldn't risk having it mangled by Joomla's CMS somehow. It might also be a good idea to search/ask on the Joomla forum for assistance from anyone else who's used E-junkie on a Joomla site: http://forum.joomla.org/ # POSTED ON: July 14, 2009 @ 18:42 GMT -7 |
|
Amit member Posts: 3 |
That works pretty sweet as expected. I am using another login for the same. Sorry I wasn't knowing you keep track using the logins. I am into implementing this into another website and so made a separate login. I will let you know if anything goes wrong. Thanks a lot for your quick help. You guys rock!! Regards, ~Amit # POSTED ON: July 16, 2009 @ 08:57 GMT -7 |
|
jasonthewebmaster member Posts: 3 |
Cool!! This is very helpful for my joomla site also! # POSTED ON: June 5, 2011 @ 11:29 GMT -7 |
|
bewell-admin member Posts: 1 |
This worked great for Joomla. I added the extra required code on the footer section. Thanks for the great advice... popup worked great on products and cart button # POSTED ON: June 25, 2012 @ 16:27 GMT -7 |
You must be logged in to make a post. Please click here to login. | |






