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:

Cart button - Buyer enters quantity



bedzking
member
Posts: 14


is it possible to create a cart button drop down so that my customers can choose the quantity they order? (not have to a adjust the quantity in the cart)

as an example, see

http://www.epatiofurnituredirect.com/cushion-od03-barbados

which combines variants and quantities

I have not yet transfered this site to e-junkie cart as I need this capability

(I have loked thru all the documentation and cannot find an answer to this question)

Denis


#
POSTED ON: November 30, 2008 @ 11:38 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 3483


You could do some custom code like this:

<form action="https://www.e-junkie.com/ecom/gb.php?i=XXXXXX&c=cart&cl=YYYYY&ejc=2" method="POST" target="ej_ejc">
Quantity:<input type="text" name="quantity" size="3" />
<input type="image" src="http://www.e-junkie.com/ej/ej_add_to_cart.gif" border="0" alt="Add to Cart" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this.parentNode);"/></form>

Basically, just take the href= URL from the original Add to Cart button code we provide, and insert that URL as the form action= URL (replacing the example URL above).

If your product happens to be configured with Variations or Variants, then our standard button code is already provided as a form like the above, so you'd just need to add this tag inside the form:

<input type="text" name="quantity" size="3" />


#
POSTED ON: December 1, 2008 @ 13:54 GMT -7




bedzking
member
Posts: 14


Thanks

works great!!


#
POSTED ON: December 2, 2008 @ 17:51 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