Share via E-Mail
Share on Google Buzz
Share on Twitter
Share on Facebook
E-junkie Blog
E-junkie FaceBook Page
E-junkie @ Twitter

E-junkie Ecommerce Forums » E-junkie Discussions

Tag Cloud for this topic:

Special instructions box in E-junkie cart



guest_user
member
Posts: 1302


Is there a way to include a 'special instructions' correspondence box somewhere along the process?


#
POSTED ON: December 16, 2007 @ 15:23 GMT -7




Shivani
member
Posts: 1358


Add the following to your view cart code:

function EJEJC_config() { EJEJC_POSTCALL=true; }
function EJEJC_shown() {
jQuery('#tdSell').attr("innerHTML", '<div>Any html here ..</div>');

}


#
POSTED ON: December 16, 2007 @ 15:23 GMT -7




raelyn
member
Posts: 5


Thanks for this NatashaSen - where exactly does this code need to be added?

At the moment my code looks like this, and I cant see a special instructions box

<a href="blah" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="https://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() {
jQuery('#tdSell').attr("innerHTML", '<div>Any html here ..</div>');

}
</script>

<script type="text/javascript" src="https://www.e-junkie.com/ecom/box.js"></script>


#
POSTED ON: June 3, 2008 @ 06:06 GMT -7




E-junkieChef
E-Junkie Crew
Posts: 936


Can you post the URL where you have pasted this code?


#
POSTED ON: June 3, 2008 @ 13:09 GMT -7




raelyn
member
Posts: 5




#
POSTED ON: June 3, 2008 @ 14:55 GMT -7




E-junkieChef
E-Junkie Crew
Posts: 936


Your page has a few JS errors.

<script type="text/javascript"><!--</p>
<p> function EJEJC_lc(th) { return false; }
// -->
function EJEJC_config() { EJEJC_POSTCALL=true; }
function EJEJC_shown() {
jQuery(’#tdSell’).attr(”innerHTML”, ‘
</script></p>

You have p tags in the source, you have not closed the EJEJC_show function and it seems like your html editor did a number on the statement in that function.

So please fix the code and also ensure that you are pasting the code as-it-is and that your html editor is not messing it up.

Also, you are including box.js twice .. which is bad for your page's load time


#
POSTED ON: June 3, 2008 @ 14:59 GMT -7


You must be logged in to make a post. Please click here to login.

30 Day Money Back Guarantee
PayPal Certified Integration
Google Checkout Certified Integration
Slam the Online Scam