1 / 9
Mar 2009

Hello,



I will pay anyone who can help me get the shopping cart working with flash.

I am trying to get it to work with product variants (as in dropdown menu choices).

If you can get it done in Adobe Flash it would be great, but in Swishmax Flash would be even better but not neccesary.



If you know how to do this or have previously done it contact me at:

jakobilondon@live.se





Looking forward to any kind of help.Thx

  • created

    Mar '09
  • last reply

    Jun '09
  • 8

    replies

  • 1.3k

    views

  • 5

    users

  • 6

    links

9 days later

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

Hello harryo

Yes. That is exactly what I'm looking for. And just that simple. Can a view cart button be added? Can you assist further? Reach me at rjgall@sbcglobal.net

Thanks

rjgall

Hi,

Yes a view cart button can be added that also shows the selected variants in flash. What version of flash are you using at the moment then i can provide you with more details on how to achieve this?

cheers

h

Hello h



I am using the Flash component of a CS3 Adobe Suite (Dreamweaver, Fireworks & Flash). I am new to Flash and am still working my way through its capabilities. I am modifying a Flash template for an on-line jewelry store. I know you need to have some knowledge of .php, .xml and maybe some .asp also, to make Flash user friendly, but I am short on that kind of knowledge. Thanks for your reply



Robert

Hi Robert,

This is a liitle long winded but ive tried to explain as much as possible so that you can understand it.

Below is a breakdown of the code that i have provided that will allow you to add variants in flash.

CODE BREAKDOWN

The 'btn_addcart' & 'btn_viewcart' are what your E-junkie add to cart / view cart buttons are called (instance names)

The 'c=cart&cl=37" is your ejunkie client id number (change the 37 to your e-junkie id number).

The 'dropdown0' & 'dropdown1' is what the comboboxes are called (change to your combobox instance names).

The 'Colour&os0=' & 'Size&os1=' is what will show up in the e-junkie popup window after the title of your item & shows like this:- (Colour: red) (Size: Medium) -

(you need to chane the words Colour & Size in the code to your needs)



Open up your test movie with the comboboxes in (im assuming you have a basic 1 layer & just 1 frame as this is all that is needed to set up a test your cart. Click on the 1st frame of the movie so that its selected - then click on the 'actions' tab - then simply paste the code below into the actions area while your 1st frame is selected (if done correctly you will see th 1st frame now has a dot with a small 'a' above it which means you have added some action script)

Code to copy ( from 'btn_addcart................}; ) & change to your own details as explained above........



btn_addcart.onRelease = function() {

trace("javascript:EJEJC_lc('https://www.e-junkie.com/ecom/gb.php?c=cart&cl=37&ejc=2&on0=Colour&os0=" + dropdown0 + "&on1=Size&os1=" + dropdown1 + "')");

getURL("javascript:EJEJC_lc('https://www.e-junkie.com/ecom/gb.php?c=cart&cl=37&ejc=2&on0=Colour&os0=" + dropdown0.value + "&on1=Size&os1=" + dropdown1.value + "')");

};

btn_viewcart.onRelease = function(){

getURL("javascript:EJEJC_lc('https://www.e-junkie.com/ecom/gb.php?c=cart&cl=37&ejc=2')");

};



Give it a try & all should work perfectly but any problems, give me a shout;-)

cheers

h

Thanks for pitching in to help out others here, Harry! :^)

1 month later

Thanks SO SO Much for this string. I have been wondering how to do this for awhile but decided that my lack of experience on the subject was enough of a road block, but you just knocked that theory down.



Much appreciation!

Amy T

http://www.zippycart.com - Compare eCommerce Shopping Carts Online