VirtueMart Forum

VirtueMart General => Your Live Sites => Topic started by: iamheaddown on August 10, 2006, 20:01:46 PM

Title: Check out My Site
Post by: iamheaddown on August 10, 2006, 20:01:46 PM
Hey VirtueMart Friends,

I have incorporated several hacks with my website, including integrating Adobe Flash with the VirtueMart cart etc.  Check it out and let me know what you think.

http://www.midwestautogear.com

Thanks goes to Soeren!!  Great job man, keep it up!   ;D

-iamheaddown [Skydiver at Heart!]
Title: Re: Check out My Site
Post by: iamheaddown on August 14, 2006, 01:14:39 AM
What a lively bunch!  :o

All these views and no responses??   :o

-iamheaddown [Skydiver at Heart!]
Title: Re: Check out My Site
Post by: youngmoneyblog on August 14, 2006, 02:47:35 AM
looks nice!

how did you do the image swapping thing for your products!?
Title: Re: Check out My Site
Post by: jeffr on August 28, 2006, 08:30:04 AM
I'm new here, but I'll give you a comment.

Your site is extremely slick looking. Nice graphics, nice colors. I think you've got a very attractive integration there.
Title: Re: Check out My Site
Post by: Adam Bazaroff on August 28, 2006, 10:34:31 AM
Very nice!
How you make a shopping cart with "del" buttons?
Title: Re: Check out My Site
Post by: bruno on August 28, 2006, 14:34:37 PM
looks nice!

can you post the instructions for image swapping (HOW TO with javascript and virtuemart hacked file)?

Thanks in advance
Title: Re: Check out My Site
Post by: gwen on August 28, 2006, 14:58:44 PM
hi iamheaddown,

now you've feedback and you're not here anymore  :)

looks great

how did you link the flash and the cart to obtain

GT Custom Cover
Base Color: Grabber Orange Metallic
GT Color: Grabber Orange Metallic
Inset Color: Grabber Orange Metallic
Rib Color: Grabber Orange Metallic
Center Rib Color:
Total Package Price: (=$199.90)
Title: Re: Check out My Site
Post by: iamheaddown on August 29, 2006, 17:19:58 PM
Hey everyone,  :D

Thanks for the replies finally!  I have been waiting so I could share some of my lessons learned.

I will get to the image swapping later today, that was fairly difficult, but to answer the Macromedia Flash question right away given it was so exciting when I figured this one out!

In VirtueMart, when I created a product, I listed several attributes but did not list values for those attributes.
 
These are the attributes I created for my product, GT Custom Cover, product ID = 136:
Base Color;GT Color;Inset Color;Rib Color;Center Rib Color;Total Package Price

Then, in my Flash movie, the button that is labeled "Add to Cart" has the following actionscript:
on (release) {
        //This creates an object called LoadVars that simply stores all of the attribute variables
        var myVars:LoadVars = new LoadVars();
       
       //Below loads all of the attribute values into LoadVars
//This is the Custom Products ID in VirtueMart, this should be a constant, never changes
               
                myVars.product_id = 136;

               //The following variables below such as _root.base_color are variables in Flash that contain
                   info I will send eventually to VirtueMart.  Notice how myVars.Base_Color is the
                   name of the attribute in VirtueMart.  = _root.base_color is the name of the
                   variable in Flash.
               
                myVars.Base_Color = _root.base_color;
myVars.GT_Color = _root.gt_color;
myVars.Inset_Color = _root.inset_color;
myVars.Rib_Color = _root.rib_color;
myVars.Center_Rib_Color = _root.ctr_rib_color;

               //The next statement below is naming the exact price you want for your product.
                 The POST method will send Total_Package_Price[=199.90] for the product price
                 for the configuration that gwen referenced in the reply above.               

                myVars.Total_Package_Price = "[=" + _root.total_price2 + "]";
myVars.quantity = qty.value;

               //The following variables below are variables required by VirtueMart to know what it is
                  doing with the variables being passed to it.
               
               myVars.flypage = "shop.flypage";
myVars.page = "shop.cart";
myVars.manufacturer_id = 1;
myVars.category_id = 1;
myVars.func = "cartAdd";
myVars.option = "com_virtuemart";
myVars.Itemid = 47;
myVars.send("http://www.yourdomainname.com/index.php", "_parent", "POST");
}


And that is it!  Flash will POST the variables to the cartAdd function in VirtueMart and add it to your cart.  Any further questions let me know and I'll step you through it.  Glad to see some interest in this powerful development.  You can do alot with Flash integrating with VirtueMart, the possibilities are endless, customize your products and send them to the shopping cart!  Have fun!

-iamheaddown [Skydiver at Heart!]
Title: Re: Check out My Site
Post by: gwen on August 30, 2006, 16:08:06 PM
hi,

this is very good  :D
thanks for sharing

Title: Re: Check out My Site
Post by: mushmushi on September 02, 2006, 14:14:12 PM
Proper nice looking site.  Looks professional and highly functional, really nice photos and lots of cool stuff The only minor thing I'd change would be the animated verisign thing because whenever I click on a new product my eyes were drawn away from it by the movement of the verisign animation which seemed to degrade from the impact of looking at a new product. Maybe you could have an unanimated version on certain pages.

Conngrats on a wicked site.  ;)
Title: Re: Check out My Site
Post by: bruno on September 02, 2006, 15:24:29 PM
Hi,
can explain how did you do the image swapping?  8)
http://www.midwestautogear.com/index.php?page=shop.product_details&flypage=shop.flypage&product_id=69&category_id=1&manufacturer_id=0&option=com_virtuemart&Itemid=47
thanks for sharing
Title: Re: Check out My Site
Post by: bbemis on September 03, 2006, 21:49:28 PM
Really nice site...great job! It looks like there's a problem with the text on the front page though....things seem to be bunching up.
Title: Re: Check out My Site
Post by: iamheaddown on September 06, 2006, 17:03:36 PM
bbemis,

What browser are you using??  Let me know, I like for my site to be as compatible as possible across all browsers, a real challenge.  I have seen the bunching you are describing in the beta IE 7.

Keep in mind, there is an "Acid2 Test" out there for browsers that has been created by the Web Standards Project.  You can check it out here:

http://www.webstandards.org/action/acid2/

IE 7 beta is awful on this test.  Does that surprise anyone??  I think the only browser that renders the smiley face correctly is Safari and Opera 9.

Anyways. Cheers!   ;D
Title: Re: Check out My Site
Post by: macallf on September 06, 2006, 17:22:30 PM
Quote from: Adam Bazaroff on August 28, 2006, 10:34:31 AM
Very nice!
How you make a shopping cart with "del" buttons?

check this link http://virtuemart.net/index.php?option=com_smf&Itemid=71&topic=16326.0

Mark
Title: Re: Check out My Site
Post by: coos on September 20, 2006, 18:26:09 PM
This site really is something special.

A great example of what can be acheived when you put the hours in on the graphics side of things.

IAMHEADDOWN, any chance you could tell us how many hours you spent on all this? It might be inspiration for others looking to create equally stunning sites!  ;)

I LOVE the Flash integration, and the javascript call for image switching is very nice. Any chance of a look at the code?

Kind regards,

Coos



Title: Re: Check out My Site
Post by: yorick smeets on January 03, 2007, 02:41:20 AM
Can you make us a .fla so we can see how it's done in flash?
Title: Re: Check out My Site
Post by: iamheaddown on February 26, 2007, 19:46:08 PM
I have received several requests for an .FLA example and tutorial on my flash modifications to VirtueMart.

I have been extremely busy opening a Joomla! Designer's Club JoomlaStorm (http://www.joomlastorm.com), and now I will be working on setting up a tutorial with example .FLA source files etc.

So, give me until later this week and the tutorial will be up and hopefully help everyone out!

-Les  :D
Title: Re: Check out My Site
Post by: yorick smeets on February 26, 2007, 21:29:51 PM
Nice :D
Title: Re: Check out My Site
Post by: iamheaddown on March 13, 2007, 17:13:23 PM
OK everyone.  I have the tutorial setup and ready for anyone who is interested at:

JoomlaStorm Designer's Club (http://www.joomlastorm.com/index.php?option=com_content&task=view&id=53&Itemid=187)

Hope this helps everyone!

-Les  ;)
Title: Re: Check out My Site
Post by: niwang on July 22, 2007, 18:20:59 PM
//The next statement below is naming the exact price you want for your product.
  The POST method will send Total_Package_Price[=199.90] for the product price
  for the configuration that gwen referenced in the reply above.               

                myVars.Total_Package_Price = "[=" + _root.total_price2 + "]";


Hi,iamheaddown

I follow your step to setup my actionscript ,but this step since not work. Is there anything I want setup in VM? I want the products add exact price $40 when someone choice the special style.

Thanks u very much!


Title: Re: Check out My Site
Post by: TomC on July 25, 2007, 02:40:09 AM
Quote from: iamheaddown on March 13, 2007, 17:13:23 PM
OK everyone.  I have the tutorial setup and ready for anyone who is interested at:

JoomlaStorm Designer's Club (http://www.joomlastorm.com/index.php?option=com_content&task=view&id=53&Itemid=187)


Why is the site offline ??

:(
Hope this helps everyone!

-Les  ;)
Title: Re: Check out My Site
Post by: robkristie on November 28, 2007, 08:12:30 AM
Hey guys,
I got this working pretty good, you can check out the build site here
http://www.rosiedogcreative.com/vander/index.php?option=com_wrapper&Itemid=28

Only thing is the add to cart is having trouble in firefox, always seems to timeout.  Works good in IE6 though.
Anyone have any idea why it has so much trouble in firefox?
Title: Re: Check out My Site
Post by: arttoart on December 01, 2007, 21:28:22 PM
Hai robkristie,
Looks very nice. is there a posibility that you want to chare your custumasations.

Thxs in advance
Title: Re: Check out My Site
Post by: MixLSD on December 23, 2007, 23:09:50 PM
nice:)
Very nice looking site. A lot of Photos and other cool stuf