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:

Add to cart button with variations, in flash!



Jakobi
member
Posts: 2


Hi,

I would appreciate it if anybody could help me with this.
What I'm trying to do is to make a 'Add to cart' button BUT for a product with variations.
In other words - how to make a dropdown menu in flash and point it right.

As I have understood it, there are plenty of ways to achieve this, but I cant get it right.
So if anyone could help me with the actionscript or even show an example code it would be great.

Thanks

The text below is from the help-section on how to make a simple 'Add to cart' button if that is any help.


---------------------------------------------------------------------- ----------------------
Add to Cart code you get from E-junkie admin:
<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&i=1&cl=37&ejc=2" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="https://www.e-junkie.com/ej/ej_add_to_cart.gif" border="0"></a>
...when used in Flash should be written like:

on (release) {
getURL("javascript:EJEJC_lc('https://www.e-junkie.com/ecom/gb.php?c=cart&i=1&cl=37&ejc=2')");
}
NOTE: If your E-junkie button code contains dropdown menus (only relevant when your products have Variants), then you will need to create dropdowns in Flash using Flash's standard components, and your button will need to pick the menu values and append those as parameters to the URL above.


#
POSTED ON: February 5, 2009 @ 04:33 GMT -7




harryo
member
Posts: 5


Hi,
I have managed to achieve this in flash 8 after hours upon hours of searching google & e-junkie & via emails from a flash developer called 'Bryon' who helped me out alot (www.bryonkeck.com). I have put together a small example of what i think you mean here:
www.hookerandhooker.com/variantEJ.html
Let me know if this is what you mean & if so i can then assist you further.
cheers
h


#
POSTED ON: April 9, 2009 @ 08:32 GMT -7




Lucifus
member
Posts: 1


Hey there,

Let me start by saying that 'small example' of yours seems to be exactly what I'm looking for. I'm new to webdesign, mainly using my skills in photoshop to design and slice a template for my friend, and basic knownledge of html and css.

I have gotten to the point, that all I need now is a add to cart button that I can customize to have the fields: Size, and Frame.

The dimensions for the size are as follows; and the frames, I'm not too sure of just yet.

12*12
16*20
24*36
24*48
36*48
40*60

I'm not asking anyone to make this stuff for me, but simply point me in the right direction. I have designed what i believe to be an excellent site. My friend for whom I'm developing it for also loves the design, but all of this work will be for naught if I can't figure out how to get options onto this damn button. -_-

Hope one o you guys can help.


#
POSTED ON: April 19, 2009 @ 02:26 GMT -7




harryo
member
Posts: 5


Hi,
I have provided some actionscript code & a code breakdown in another topic which you can see by going to view this topic:
http://www.e-junkie.com/bb/topic/3272
cheers
h


#
POSTED ON: April 21, 2009 @ 07:10 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