Hobi, Check what I did, which works for me, using admin inlines and unregistering and re-registering the ProductOptions model:
http://juanjoalvarez.net/es/detail/2009/jul/27/why-bad-idea-tm-override-product-model-satchmo/ On 10 ago, 21:53, hobi <[email protected]> wrote: > Very sorry if this is a duplicate post (I can't find the last one I > submitted an hour ago) > > I followed the directions > here:http://www.satchmoproject.com/docs/svn/custom-product.html > In addition, I added the app to settings.py, and I imported config in > model.py > > I now see "MyNewProduct" as it's own module, which although was not my > intended goal, does make perfect sense, since admin.py says: > > admin.site.register(MyNewProduct) > > However I expected it to show up in the "products" module. So after > selecting my new product, and ONLY my new product in the site settings/ > product settings, I went back to localhost:8000/admin/product, where I > found that the new product was not there. In fact, nothing had changed > at all. It lists: > > Categories > Configurable Products > Custom Products > Custom text fields > Discounts > Downloadable Products > Option Groups > Option Items > Product variations > Products > Subscription Products > Tax Classes > > This problem occurs whether or not I load my custom product. No matter > what I select in settings for products, the product module always > contains that entire list. So it's completely ignoring whatever I set > in /admin/settings. I was expecting it to change. > > I suspect these two problems are related. Did I stumble upon a bug, in > that the following are ignored: > > settings.py> > 'CUSTOM_PRODUCT_MODULES' : ['mystore.MyNewProduct',], > > MyNewProduct/config.py> > PRODUCT_TYPES.add_choice(('mystore.MyNewProduct::MyNewProduct', _('My > New Product'))) > > Or is there a probable error that I have made? > > Thanks in advance --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
