Mike, would you happen to have an example of what this custom Admin
would like like?
I've created a custom product, and added the admin like this, but none
of my associated custom fields are showing up.
class MyCustomProductAdmin(ProductOptions):
pass
admin.site.register(MyCustomProduct, MyCustomAdmin)
On Nov 13, 8:07 pm, Mike Hostetler <[email protected]> wrote:
> I would make a model that inherits from products.model.Product and put your
> custom fields in that. Django will make them have a one to one relationship
> in database. You can then make a custom Admin with your custom product yet
> all the AddToCart forms will still understand it.
>
> I did not do this in my rather large Satchmo site and now it bites me once
> in a while, and I've had to customize a lot of things because I took the
> composition routes.
>
> ymmv
> On Nov 13, 2011 6:35 PM, "Chris" <[email protected]> wrote:
>
>
>
>
>
>
>
> > How would I go about adding a user-specified text field for each
> > product, for instance, I need the user to specify a text value along
> > with their product.
>
> > Configurable Product
> > Custom text: [___________________]
>
> > Qty: 1
> > [ Add to Cart ]
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Satchmo users" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group at
> >http://groups.google.com/group/satchmo-users?hl=en.
--
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/satchmo-users?hl=en.