I wonder if you have a data issue with one (or a number of) products and
those that are giving problems weren't being used when you started removing
them.

Another way to test perhaps would be to script the insert of 100, 1000,
2000, etc up to 4000 products into a different app and see if it fails.

As for the admin stuff...I think/thought you could override which form admin
uses for your product.  Not sure thats possible without touching satchmo
code if you haven't "extended" the Product model.

But it'd be worth attempting to create an admin.py file that points to a
custom form you write (that has the fields the way you want them), and then
pointing to that form in admin.py.

so it could look something like this:

class ProductAdmin(admin.ModelAdmin):
    form = MyProductForm

    class Media:
        """your custom javascript links here if need be"
admin.site.register(Product, ProductAdmin)

This of course assumes that you've created an "app" inside your satchmo
setup.

I could be way off here and there's alot of detail I'm leaving out, but I
would think that should work.

Anyone else care to weigh in?




On Thu, Oct 8, 2009 at 11:14 AM, lzantal <[email protected]> wrote:

>
> Hi,
>
> On Oct 7, 5:34 am, Ryan Headley <[email protected]> wrote:
> > 4000 products in a drop down list -- aside from possibly causing you any
> > problems -- is probably a bad idea all around, mainly for usability
> > purposes.  You may want to re-think your user interface.
> >
>
> Its in the admin interface so looks like I have to edit some core
> files to switch to a text input field.
> But yes it is definetly a bad idea to have a drop down for products.
>
> > I doubt that is your problem, but anything is possible...is this question
> > still in regards to getting the "This field is required" error?
> >
>
> I was surprise to when it start working by removing products from
> inventory.
> Yes it is still for the "This field is Required" error.
> Since it did not display the product dropdown when I updated the
> product status
> and wanted to save the it was missing the product.
> I am looking into using an autocomplete filed for it.
>
> thank you
> lzantal
>
> >
> >
> > On Tue, Oct 6, 2009 at 5:03 PM, lzantal <[email protected]> wrote:
> >
> > > Hi,
> > > I think I figured it out.
> > > The store has 4300+ products. If I remove most of the products
> > > so the store only has 100 products then it displays all the drop downs
> > > with products.
> >
> > > Is it a satchmo or django issue that it cant display 4000+ prodcts x 5
> > > drop down?
> > > Id there a better way to display it than in a drop down?
> > > So poor server does not have to create 5 really long <select> on a
> > > page?
> >
> > > thank you
> >
> > > lzantal
> >
> > > On Oct 1, 6:50 am, Ryan Headley <[email protected]> wrote:
> > > > I believe I was getting this error when I didn't have a shipping
> > > > configuration...of course this was a long time ago.  There are a
> number
> > > of
> > > > configuration steps (in /admin and /settings) that you have to go
> through
> > > > before you get anything that works.
> >
> > > > I remember having all sorts of issues due to not having a piece
> > > configured,
> > > > (store configurations, shipping, tax, etc).  All of that is in /admin
> and
> > > > /settings, so poke around and see if there is anything you need to
> > > configure
> > > > yet.
> >
> > > > Check satchmo.log and see if there are any errors in there.  I'm
> pretty
> > > sure
> > > > thats where I found my issue as it logged the HTML line that was
> spitting
> > > > out that error, and that gave me the clue as to what I was missing.
> >
> > > > sorry my response is so rambled...been a long 7 days...
> >
> > > > On Thu, Oct 1, 2009 at 2:19 AM, lzantal <[email protected]> wrote:
> >
> > > > > Hi,
> >
> > > > > When I open an order and trying to save it I get an error at Order
> Line
> > > > > Items showing the product This field is required.
> > > > > But there is nothing to enter.It only shows the product name as
> text.
> > > > > I am using:
> > > > > python 2.5
> > > > > django 1.1
> > > > > satchmo 0.9-pre
> >
> > > > > thank you
> >
> > > > > lzantal
> >
> > > > --
> > >http://www.sudovi.com/http://www.twitter.com/lifewithryanhttp://www.t.
> ..
> >
> > --
> http://www.sudovi.com/http://www.twitter.com/lifewithryanhttp://www.thecommontongue.comhttp://www.lifewithryan.com/
> >
>


-- 
http://www.sudovi.com/
http://www.twitter.com/lifewithryan
http://www.thecommontongue.com
http://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