2 replies [Last post]
WebNewCastle's picture
Offline
Joined: 04/29/2009
Juice: 595

Looking for someone with hook_form_alter() knowledge - JQuery would be great too! - based on feedback I received.

I posted this last night elsewhere and realized I should have posted here. I am trying to make the info below as detailed as possible so that I won't waste anyone's time if it isn't something you for you.

Hi,

I am trying to make I have a project with a very short timeline, and I need someone who can help figure out/complete some product attribute customizations for Ubercart. The following are the types of attribute customizations that are needed:

1) File/Image Upload - does not need to be displayed (just uploaded)

2) Select image from a Graphics Library - buyer clicks link, chooses an image category, then an image, and this is captured to be submitted when purchasing the product - ideally the image is displayed on the product page

3) Select Box with Attribute Images Below it - I realize there is a fantastic Option Image contributed module, but this does something different - some products will have multiple attributes like this and there is no need for any image switching. All that is needed is for a row of attribute option images to be displayed (along with a title) underneath or above the select box. Having a larger version when clicking on the image would be great.

4) Text Area (rather than a text field)

5) A group of 4 text fields with considerable text and some images above it.

Additional Notes:

- All of the above are attribute / product customizations needed on the product page itself, and they are options that the buyer would choose prior to adding to the cart.

- These are types of product attributes needed - some products will have none of these, some will have a few, and some will have multiple attributes of a type described above.

- My "plan of attack" right now is to use hook_form_alter () to change existing attributes to work on some of the items above - such as the text area attributes and the file/image upload.

- It has also been suggested that doing some JQuery coding might work well for the selection of an image from a Graphics Library - this could be a pop-up dialogue, work along side Lightbox/Thickbox, or work through page redirects.

- Also, it would be great (probably through hook_form_alter() again) to be able to change the way some of the attributes are displayed - allowing more text above the attribute options (rather than below) - but this is low priority.

I don't think it is likely that I will be able to check back here, so please email me at:

pp1@webnewcastle.com

I can send some links to a site where the above is already being done in another system (proprietary) - although the links will only work for a couple of days. Then that site is being taken down, hence the site is being done in Drupal/Ubercart.

Thanks,

Matt

- Matt

Matthew Winters / WebNewCastle.com - Drupal & Ubercart development, training, and consulting. Drupal profile
Online community, product development, & policy management.

texas-bronius@drupal.org's picture
Offline
Joined: 01/20/2010
Juice: 170
Great work! .. now what's the secret potion?? :)

Matt-
Lovely end product. I see somehow you managed to accomplish your goals stated here in this thread, and how it works, too! Would you please close the gap here on how it all went down? It works really well on the site you're referring to here, I think.

Thanks
-Bronius

acolade's picture
Offline
Joined: 04/15/2010
Juice: 7
Attribute Type Customizations Needed

Hi,
yes customization is needed. It will be nice to have possibilities like in CCK. For example: grouping attributes to somethink like cck groups. This should leads to better theming or tabs use...

Thanks,
Karel