E-Junkie Forum http://www.e-junkie.com/bb/ E-Junkie Forum RSS en-us Copyright 2013, 19.5 Degrees. All rights reserved. webmaster@e-junkie.com webmaster@e-junkie.com Tue, 20 Dec 2011 01:35:28 GMT Mon, 20 May 2013 04:13:00 GMT 681 E-JUNKIE 5 E-Junkie Forum http://www.e-junkie.com/bb/ http://www.e-junkie.com/ej/logo.gif 290 104 Post #9 http://www.e-junkie.com/bb/topic/5618/pg/0#post19869 http://www.e-junkie.com/bb/topic/5618/pg/0#post19869 Tue, 20 Dec 2011 01:35:28 GMT E-junkie Discussions; twisted Post #8 http://www.e-junkie.com/bb/topic/5618/pg/0#post19869 http://www.e-junkie.com/bb/topic/5618/pg/0#post19869 Tue, 20 Dec 2011 01:20:59 GMT E-junkie Discussions; E-junkieGuru Post #7 http://www.e-junkie.com/bb/topic/5618/pg/0#post19869 http://www.e-junkie.com/bb/topic/5618/pg/0#post19869 Tue, 20 Dec 2011 01:11:02 GMT http://mattmower.com/ DO NOT contact him with questions or asking for help.

XXXXXX = your client id
YYYYYY = product 1
ZZZZZZ = product 2
Copy/paste to add more products:
<input class="product_choice" type="checkbox" name="i" value="ZZZZZZZ" /><label for="checkbox4">Product 2</label>


CODE BEGINS>>>>>

<script type="text/javascript">
var product_urls = [];
function tt_url_for_product_with_code( code ) {
return "https://www.e-junkie.com/ecom/gb.php?c=cart&i="+code+"&cl=XXXXXXXXXXX&ejc=2";
}
jQuery(document).ready( function() {
jQuery('input.product_choice').click( function() {
product_urls = [];
jQuery('input.product_choice').each( function( idx, elem ) {
if( jQuery(elem).is(":checked" ) ) {
product_urls.push( tt_url_for_product_with_code( jQuery(elem).attr( "value" ) ) );
}
});
if( product_urls.length < 1 ) {
jQuery("a.open_cart").attr( "href", "#" ).attr( "target", null );
} else {
jQuery("a.open_cart").attr( "href", "javascript:EJEJC_multiAdd(product_urls)" ).attr( "target", "ej_ejc" );
}
});
});
</script>
<form id="product_selection">
<input class="product_choice" type="checkbox" name="i" value="YYYYYYYY" /><label for="checkbox2">Product 1</label>
<input class="product_choice" type="checkbox" name="i" value="ZZZZZZZ" /><label for="checkbox4">Product 2</label>
<a class="open_cart" href="#"><img src="http://www.e-junkie.com/ej/ej_add_to_cart.gif" alt="Add to Cart" border="0" /></a>
</form>]]>
E-junkie Discussions; twisted
Post #6 http://www.e-junkie.com/bb/topic/5618/pg/0#post19869 http://www.e-junkie.com/bb/topic/5618/pg/0#post19869 Sun, 18 Dec 2011 20:23:29 GMT http://www.e-junkie.com/bb/topic/2121

However, combining that with the item-menu approach, if it's even possible, would require custom scripting in your page.]]>
E-junkie Discussions; E-junkieGuru
Post #5 http://www.e-junkie.com/bb/topic/5618/pg/0#post19869 http://www.e-junkie.com/bb/topic/5618/pg/0#post19869 Fri, 16 Dec 2011 23:10:47 GMT E-junkie Discussions; twisted Post #4 http://www.e-junkie.com/bb/topic/5618/pg/0#post19869 http://www.e-junkie.com/bb/topic/5618/pg/0#post19869 Fri, 16 Dec 2011 22:47:01 GMT http://www.e-junkie.com/ej/tips.variants.button-tutorial.htm

That page describes how to create a series of product URLs that contain the variant choices already programmed in, you would want to create an interface on your site so that the appropriate product and variant choices are added to our cart based on the checkboxes your buyer clicked before pressing your button. That is something an experienced developer can create for you in addition to customizing the appearance of the buttons on your site.]]>
E-junkie Discussions; E-JunkieMonster
Post #3 http://www.e-junkie.com/bb/topic/5618/pg/0#post19869 http://www.e-junkie.com/bb/topic/5618/pg/0#post19869 Fri, 16 Dec 2011 20:36:23 GMT
To be clear about adding multiple items to the cart with one button:

Are you saying it is or isn't possible to have select multiple checkboxes and one add to cart button? If it is, what does it require (changes to the form code, javascript or ejunkie code somewhere? If you could tell me where to begin that would be great.

Thanks.]]>
E-junkie Discussions; twisted
Post #2 http://www.e-junkie.com/bb/topic/5618/pg/0#post19869 http://www.e-junkie.com/bb/topic/5618/pg/0#post19869 Fri, 16 Dec 2011 19:18:51 GMT
There's quite a bit of customization that can be applied to our cart buttons when variants/variations are involved, but things as in depth as you are describing are beyond the support we can directly provide.

I'd recommend contacting one of the developers in our directory here to can provide these kind of additional customizations:
http://www.e-junkie.com/ej/developer-directory.htm]]>
E-junkie Discussions; E-JunkieMonster
Post #1 http://www.e-junkie.com/bb/topic/5618/pg/0#post19869 http://www.e-junkie.com/bb/topic/5618/pg/0#post19869 Fri, 16 Dec 2011 04:14:33 GMT 1 - Can it be setup so that you can select multiple options? For example, if you want Mac AND PC?
2 - Any input on how to skin the menu? Like the options here: http://demo2.woothemes.com/sliding/shop/addicted-to-woo/

<form action="https://www.e-junkie.com/ecom/gb.php?c=cart&cl=XXXXXX&ejc=2" target="ej_ejc" method="POST" accept-charset="UTF-8">
<select name="i">
<option value="YYYYYY">Windows</option>
<option value="ZZZZZZ">Macintosh</option>
</select><br>
<input src="http://www.e-junkie.com/ej/ej_add_to_cart.gif" alt="Add to Cart" class="ec_ejc_thkbx" onclick="javascript:return EJEJC_lc(this.parentNode);" type="image" border="0">

Thanks!]]>
E-junkie Discussions; twisted