I thought that selecting MyNewProduct on the "site settings" would do
something. But as it stands, it's completely unnecessary for me to do
anything in the site settings/product settings page, because it
ignores anything I do there.

I would imagine that you click on "downloadable products", and then in
the products module, that would be the only link you get.



On Aug 10, 3:00 pm, Ryan Headley <[email protected]> wrote:
> On Mon, Aug 10, 2009 at 2:53 PM, 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
>
> It is my understanding that this is the intended behavior.  I could be wrong
> being that I am just a "newbie" to Satchmo but I think, as I said, this is
> the intended behavior.  This way you extend Satchmo without touching Satchmo
> code.  Unless I'm misunderstanding what you are trying to do.  For that
> matter, what is that you would "expect" to see?
>
> --http://www.sudovi.com/http://www.twitter.com/lifewithryanhttp://www.thecommontongue.comhttp://www.lifewithryan.com/
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to