I haven't personally used this script but it looks like it's a standalone
python file. I would recommend saving this in your project directory (same
directory as manage.py) and try running is with python  new-script-name.py

Hope that helps.

-Chris

On Fri, Jan 14, 2011 at 1:46 AM, davidl <[email protected]> wrote:

> Hi Sebastian,
>
> I'm a newbie when it comes to django and satchmo. Just installed
> Satchmo and trying to make it work, so I won't have to go back to
> Magento for my company's ecommerce site. Seems like this snippet
> http://djangosnippets.org/snippets/2255/ will save me a lot of time.
>
> However, I'm little lost on how to make this work with Satchmo. Where
> would I be placing this code snippet and make it run?
>
> David
>
> On Dec 18 2010, 2:47 am, Sebastian Zwack
> <[email protected]> wrote:
> > Right, when I encountered the ProductVariation showing up I just
> > removed the category from it.
> > I can't test it from here but what does it look like when you
> > configure a CP and PV through the admin?
> >
> > For a quick solution you could probably add the categories to the PVs
> > and filter them out in the template rendering.
> >
> > On 18 Dez., 03:43, Jeff Cook <[email protected]> wrote:
> >
> >
> >
> > > Just found a big problem with this if you want to discount by
> > > category. The script removes ProductVariations from their respective
> > > categories because if it doesn't, they will display in the list with
> > > the CPs. However, you can't discount a category if things are like
> > > that, because people can only buy individual products and not
> > > ConfigurableProducts. Since individual products aren't part of the
> > > category, the discount cannot be applied to the products that people
> > > actually buy.
> >
> > > Is there a field that makes a product not display on a category list,
> > > but still be purchaseable, etc.? If so, I need to set it ASAP. Thanks.
>
> --
> 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]<satchmo-users%[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.

Reply via email to