noob stuff

Posts: 15
Joined: 01/26/2008

Hi guys:

First of all, bravo. Really great work. I've been perusing the code, and my business partner and I are very impressed... and grateful to have it done for us! Thanks!!

I was wondering if you could point me in the right direction for documentation/tutorials having to do with any of the following:

1. automatically generating/accessing thumbnails of large product images for product pages, and having thickbox display the larger version.

2. product attributes; I understand what they should do in theory, and very much want to use them. But they're creating text input fields on my content rather than radio buttons. Are there any good tutorials or demo configurations (like your livetest) that could show me how this is supposed too be configured?

3. File attachments: how do create these? This is a Drupal thing, I know. I'm just new to the whole thing.

Thanks in advance!

Posts: 73
Joined: 12/10/2007

for product attributes when you are at admin/store/products/attributes click on the 'options' link for an attribute to define the options.

Then it will display as select box in the product. There are no other options, though I think it is on wishlist to make attributes more robust.

Posts: 332
Joined: 08/07/2007
Administrator

For file attachments, are you referring to attaching a files to a content page or are you wanting sell file downloads for products? Attaching files to content would require enabling the Upload module and for selling file downloads that would require the File Downloads module.

--

-Shawn Conn: If the Name Don't Rhyme It Ain't Mine

Posts: 5269
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Welcome aboard. Smiling I'm glad you're finding Ubercart to be useful!

A few quick responses...

1. The automatic image support offered by Ubercart depends on having a few modules enabled when you install Ubercart. If you enable them after the fact, you can go to the store status page at /admin/store and find a link to enable image support (inc. thumbnails + Thickbox displays). For more information, refer to the installation instructions.

2. As I think was mentioned, you have to create options for your attributes. Consider it this way... an attribute is some customer configurable aspect of a product, like t-shirt size. Options are the various choices they have, small/medium/large/etc. You create attribute/option sets independently of products through the attribute administration forms. Then you add attributes and options to products through the appropriate tabs on the product node's edit form. We believe this system provides maximum per-product flexibility while still allowing for some defaults to be set to speed up the product creation process. We left it so that attributes without options would be textfields to deal with special situations like engravings where you want the product to be associated with a special, custom message.

3. I'm not totally sure about what you're referring to for file attachments. Do you just want to attach files to nodes for display or are you wanting to sell file downloads? The former simply requires you to enable the upload module and ensure that the node settings for your product node types allow uploads. (Alternately you could use CCK and the filefield module.) The latter would require some extra configuration, instructions for which are sprinkled throughout the user's guide and forums.

Hope this helps! Good luck with the theming, too. I loved the mock-up, but we're no good at graphic design ourselves. Eye-wink

Posts: 15
Joined: 01/26/2008

Hi Ryan,

Great to hear from you. Thanks for the feedback!

After struggling thru the learning curve for the last week or so, my business partner and I have made a lot of strides, but we're still struggling with some of the technical details. I really appreciate your help thus far--the installation instructions are remarkably clear and concise!--and I hope it's not asking too much to run a few more things by you:

1. Take another look at hicksgibbon.com/cards (pref. with FF, as we haven't got it stable on other browsers yet Smiling ) We've managed to get most of the content there in some form, and it's styled relatively appropriately. What we're struggling to figure out is where the actual CONTENT definitions happen; ie, where is the actual HTML code for the shopping cart block coming from, and what's the best way to customize it? Similarly, where's the actual HTML code for the node listing coming from, and how do we customize what's in it?

2. Along the same lines, notice that in the mockup we have a main focus image at the top, and then a list of thumbnails under it. How can we display one product differently from the others on the page? I could have done this in WordPress by just hard-coding the php into the template files, but drupal seems to prefer cleaner methods. Any suggestions? Keep in mind that we have a number of ways we need to display the same information: in a thumbnail view, in a thickbox, on a focus page, etc. How does one manage these ways of displaying a node?

3. A thickbox related question: do you know if it's possible to make thickbox display a slideshow for images within a given node, but not for the other images in the list of nodes? In this case I want to have multiple images for each card, but I want the thickbox slideshow to only show only images for the node I clicked, not the others. Thoughts? I know thickbox isn't your product!

4. Pricing per product class. Can it be done? I want to charge the same for all our cards, but I want to be able to easily change them all, just by nature of them all belonging to the "cards" class. Is this possible?

Thanks again for your help, Ryan... and for a great product!

Regards,
Adam

Posts: 15
Joined: 01/26/2008

I figured it out. Smiling

Pricing per product class is the only thing I think I don't have a solution for, but it looks like ubercart doesn't support that at this point. Thanks for your help!

Adam

Posts: 5269
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

You might chat with Lyle and check out Editable Fields. While this won't update every product at once, it can give you an easy to modify Views listing that lets you update all the prices. I'm sure some sort of bulk update form would be a fairly simple affair given the nature of the DB.