Hey guys,
Quickie about myself:
I'm new to UberCart (toying with Drupal/Ubercart for about a month), and beginner in PHP and other web languages (HTML is my neck of the woods), but I'm not afraid to get my hands dirty. I'm launching a T-Shirt-like store, but for Hockey Jerseys. UberCart was an obvious choice because its Free, open-source, and well supported. Who could ask for more? 
Let me say this -- my site is getting there. I'm really getting the grasp of what does what -- and I've been getting my site ready SEO wise, but the problem is, I'm stuck when it comes to layouts. Product page, specifically.
So, I've put together a little presentation of what I want to do -- excuse the lameness of my photoshop skills! I've numbered the issues from 1 - 4.
http://www.killerjerseys.com/images/project.jpg
(If needed:) The Live test page I'm working with is: http://www.killerjerseys.com/content/habs
(Side-note: I've been using Contemplate for the layout output.)
1) Is there a way to force someone, via JavaScript popup or AJAX, in selecting a size before Adding to Cart? If so, how would I implement it? With Contemplate, I can't address specific Attributes, so I wouldn't know how to approach this.
2) I want to make the attributes below this attribute (IE: Name on Back, Number on Jersey, etc) to be grayed out unless the "YES" option is true. Possible? Also, Is it possible to make this radio instead of drop down? If so, How?
3) How can I limit the characters allowed to be input in this box? If I left it unlimited (or browser max), I'd be out of business faster than you could say "lmao." Same applies for the "number on the jersey" field (I haven't added it yet)
4) Is it possible to move the Price above the "Add To Cart" buttons?
Now, if using Contemplate is the wrong way to approach this, let me know -- but, Is there a way to make a selectable template per product type? I mean, this particular product is a Jersey, but what if I want to throw Hats or Gloves into the equation? I wouldn't have the "Make it your own!" header there, and therefore would have to change the theme...
Thanks for bearing with me. I tend to blabber, I know
. I'm not a programmer by any means, but like I've said before, I like to get my hands dirty. Any help at all is appreciated, as I'm kind of stumped and lost at this point. If it takes alot of your personal time to help me with this, please feel free to e-mail me, we could work something out.
Thanks guys, and keep up the great work!


), you can add '#weight' => 10 or some higher number to sink the element you want towards the bottom. Although for styling your add to cart form (and not affecting its functionality such as the above issues) you could put the Submit form pretty much wherever you want. (On my site, I've gotten rid of it entirely - except for when an attribute is selected - and made it into a button.)


Amazon better pull through with that Pro Drupal book soon!

Joined: 12/20/2007