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 Sat, 5 Nov 2011 00:49:12 GMT Wed, 19 Jun 2013 11:58:46 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 #2 http://www.e-junkie.com/bb/topic/5546/pg/0#post19521 http://www.e-junkie.com/bb/topic/5546/pg/0#post19521 Sat, 5 Nov 2011 00:49:12 GMT
The multiadd function is an "unsupported hack" that we don't have a lot of experience implementing, we're not programmers here on the support team and even if we were, we couldn't give layman's instructions on how to rewrite everything clearly, so we aren't able to give any detailed support on advanced customizations.

If it is possible at all to use multiadd with variants it would be best to contact a developer who knows how to write that code, experienced developers familiar with our cart can be found here:
http://www.e-junkie.com/ej/developer-directory.htm]]>
E-junkie Discussions; E-JunkieMonster
Post #1 http://www.e-junkie.com/bb/topic/5546/pg/0#post19521 http://www.e-junkie.com/bb/topic/5546/pg/0#post19521 Fri, 4 Nov 2011 16:39:48 GMT
Conflicting code snippet #1:

<script language="javascript" type="text/javascript">
<!--
function EJEJC_lc(th) { return false; }
// -->
</script>

---------------------------versus----------------------
Conflicting code snippet #2:

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



I've managed to "work around" this by putting each snippet of code only on pages where currently needed (pages where I don't need both sorts of coding) - but this tells me that I may eventually have trouble when a product with a select dropdown needs to appear on the same page that has a button used to add more than one product.

Here is the code I use to add a product that requires a selection:

<form name='ejChoicesSelect' action='https://www.e-junkie.com/ecom/gb.php?c=cart&i=27
&cl=11392&ejc=2' target='ej_ejc' method='POST' accept-charset='UTF-8' onSubmit='return validate_ej_form_dd ( );'>

<input type='hidden' name='on0' value='Color'/>
<select name='os0'>
<option selected>Choose Color
<option value='black'>black<option value='gold'>gold
</select>

<input type='image' src='https://www.e-junkie.com/ej/ej_add_to_cart.gif' border='0' alt='Add to Cart' class='ec_ejc_thkbx'/>
</form>

<a href='https://www.e-junkie.com/ecom/gb.php?c=cart&cl=11392&ejc=2' target='ej_ejc' class='ec_ejc_thkbx'><img src='https://www.e-junkie.com/ej/ej_view_cart.gif' border='0' alt='View Cart'/></a>

[I haven't pasted in the javascript "validate_ej_form_dd" called above as it seems to not be causing the issue.]

=====================

Here's the code I use to add multiple products:

<a href="javascript:EJEJC_multiAdd(Array(
'https://www.e-junkie.com/ecom/gb.php?c=cart&i=5&cl=11392&ejc=2',
'https://www.e-junkie.com/ecom/gb.php?c=cart&i=28&cl=11392&ejc=2'
));"><img src='..files/icons/AddBothToKart.gif' border='0' alt='Add to Cart'/></a>
 <a href='https://www.e-junkie.com/ecom/gb.php?c=cart&cl=11392&ejc=2' target='ej_ejc' class='ec_ejc_thkbx'><img src='https://www.e-junkie.com/ej/ej_view_cart.gif' border='0' alt='View Cart'/></a>

=====================

And, here is the code I use (can also appear alongside code above) that adds a single product to the cart:

<a href='https://www.e-junkie.com/ecom/gb.php?c=cart&i=5&cl=11392&ejc=2' target='ej_ejc' class='ec_ejc_thkbx'><img src='https://www.e-junkie.com/ej/ej_add_to_cart.gif' border='0' alt='Add to Cart'/></a>

Any thoughts on what might be causing the conflict?]]>
E-junkie Discussions; tvsmvp