Need to add a text field to "Product" content type

wolf_halton - January 29, 2008 - 20:51

This is working well and I am madly in love with it, however...

I need a new field in the product content type. This needs to be customer-entry, filtered html to allow them to tell me what custom lines they want engraved on the product.

I tried using the apparel product, but the content of this field is not like size (S, M, L, XL) as it is entirely arbitrary text. I thought I could add this in the paypal node, but that appears to be impossible.

I added a line on the default invoicing email about it, but I see a lot of support calls from customers in our future, if I can't solve this now.

cck

coltrane - January 30, 2008 - 00:54

Get the cck module, it comes with fields you can add to content types. You could add a text field to your product content type for this. See the cck documentation for details on how to use it.

Thanks! I will look at the

wolf_halton - January 30, 2008 - 04:18

Thanks!
I will look at the cck module

not cck

dman - January 30, 2008 - 04:52

CCK doesn't answer this problem, as it allows arbitrary text to be added by the site editor, but we need it to be added by a customer during purchase. They are not annotating the product description, they are actually annotating an instance of a product order in their cart.

I also needed this - just for an arbitrary 'additional information' feedback textarea I wanted to capture during checkout. I did this with some messy hacks to checkout hooks, but ideally I want this function added to each ordered item.
It's a good request.

.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/

Concurrence

wolf_halton - January 30, 2008 - 12:27

I have not seen how to use cck to add this field either. It did a nifty job of adding another managment-filled field to the product, but as you say, that was not the requirement.

Did your messy hacks work? If this is not hidden somewhere else in the module forest, I gotta do something. I have to add about 1000 products into the db, and I really would rather get it in place now. I don't really know how to add the hacks.

I guess I could remove CCK.

I was able to attach some

dman - January 30, 2008 - 12:48

I was able to attach some user input to the 'purchase' (eg like delivery instructions) but not to the 'product' - like engraving instructions, so my mess isn't great for you.
Plus it was on a significantly older generation of the module.

.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/

seems like you may have to

mz906 - January 30, 2008 - 13:53

seems like you may have to dev this one your self and contribute it for others to user ;)

God take pity on my soul

wolf_halton - January 30, 2008 - 17:47

God take pity on my soul then. I don't even know where to start.

Where would I start to do this? RTFM? I have figured out how to add blocks, but I think this is a large step beyond that...

resolved?

lukio - June 23, 2008 - 20:18

Hello,
Did you resolved this problem? Because I need to do the same thing.

thanks!

lukio

 
 

Drupal is a registered trademark of Dries Buytaert.