Author Topic: Check out My Site  (Read 20755 times)

iamheaddown

  • Beginner
  • *
  • Posts: 16
  • Finding my Way!
Check out My Site
« 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!]
Corporate Online Media Developer - Prestwick Group, Inc.

iamheaddown

  • Beginner
  • *
  • Posts: 16
  • Finding my Way!
Re: Check out My Site
« Reply #1 on: August 14, 2006, 01:14:39 am »
What a lively bunch!  :o

All these views and no responses??   :o

-iamheaddown [Skydiver at Heart!]
Corporate Online Media Developer - Prestwick Group, Inc.

youngmoneyblog

  • Beginner
  • *
  • Posts: 42
Re: Check out My Site
« Reply #2 on: August 14, 2006, 02:47:35 am »
looks nice!

how did you do the image swapping thing for your products!?

jeffr

  • Beginner
  • *
  • Posts: 3
Re: Check out My Site
« Reply #3 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.

Adam Bazaroff

  • Jr. Member
  • **
  • Posts: 90
Re: Check out My Site
« Reply #4 on: August 28, 2006, 10:34:31 am »
Very nice!
How you make a shopping cart with "del" buttons?
/Adam'B ... Poor english mode [ON] ;D

bruno

  • Beginner
  • *
  • Posts: 40
Re: Check out My Site
« Reply #5 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

gwen

  • Jr. Member
  • **
  • Posts: 332
Re: Check out My Site
« Reply #6 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)
Gwen ex-dev team member. I used virtuemart to build www.doudouplanet.com a very good experience for me !

iamheaddown

  • Beginner
  • *
  • Posts: 16
  • Finding my Way!
Re: Check out My Site
« Reply #7 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:
Code: [Select]
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:
Code: [Select]
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!]
Corporate Online Media Developer - Prestwick Group, Inc.

gwen

  • Jr. Member
  • **
  • Posts: 332
Re: Check out My Site
« Reply #8 on: August 30, 2006, 16:08:06 pm »
hi,

this is very good  :D
thanks for sharing

Gwen ex-dev team member. I used virtuemart to build www.doudouplanet.com a very good experience for me !

mushmushi

  • Beginner
  • *
  • Posts: 5
Re: Check out My Site
« Reply #9 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.  ;)

bruno

  • Beginner
  • *
  • Posts: 40
Re: Check out My Site
« Reply #10 on: September 02, 2006, 15:24:29 pm »

bbemis

  • Beginner
  • *
  • Posts: 5
Re: Check out My Site
« Reply #11 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.

iamheaddown

  • Beginner
  • *
  • Posts: 16
  • Finding my Way!
Re: Check out My Site
« Reply #12 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
Corporate Online Media Developer - Prestwick Group, Inc.

macallf

  • Full Member
  • ***
  • Posts: 2411
    • Mark Callf Design
Re: Check out My Site
« Reply #13 on: September 06, 2006, 17:22:30 pm »
Mark
All of My old mods are now available on my website.
Mark Callf Designs

If you like the work I've done for VM please fell free to Donate

Please Note: I am no longer actively developing or involved with VM development.

coos

  • Jr. Member
  • **
  • Posts: 70
    • Coos Creations
Re: Check out My Site
« Reply #14 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