Oscar has a view that gets called any time the user clicks on ‘My account’ or
similar. By default it’s a dumb redirect to the view configured with this
setting. But you could also override the view to display a more useful
account summary page or such like.

A dictionary that specifies the facets to use with the search backend. It
needs to be a dict with keys fields and queries for field- and
query-type facets. The default is:

OSCAR_SEARCH_FACETS={'fields':OrderedDict([('product_class',{'name':_('Type'),'field':'product_class'}),('rating',{'name':_('Rating'),'field':'rating'}),]),'queries':OrderedDict([('price_range',{'name':_('Price range'),'field':'price','queries':[# This is a list of (name, query) tuples where the name will# be displayed on the front-end.(_('0 to 20'),u'[0 TO 20]'),(_('20 to 40'),u'[20 TO 40]'),(_('40 to 60'),u'[40 TO 60]'),(_('60+'),u'[60 TO *]'),]}),]),}

OSCAR_DASHBOARD_NAVIGATION allows passing an access function for each node
which is used to determine whether to show the node for a specific user or not.
If no access function is defined, the function specified here is used.
The default function integrates with the permission-based dashboard and shows
the node if the user will be able to access it. That should be sufficient for
most cases.

The pipeline defines the statuses that an order or line item can have and what
transitions are allowed in any given status. The pipeline is defined as a
dictionary where the keys are the available statuses. Allowed transitions are
defined as iterable values for the corresponding status.

A sample pipeline (as used in the Oscar sandbox) might look like this:

This defines a mapping of status changes for order lines which ‘cascade’ down
from an order status change.

For example:

OSCAR_ORDER_STATUS_CASCADE={'Being processed':'In progress'}

With this mapping, when an order has it’s status set to ‘Being processed’, all
lines within it have their status set to ‘In progress’. In a sense, the status
change cascades down to the related objects.

Note that this cascade ignores restrictions from the
OSCAR_LINE_STATUS_PIPELINE.

This enables sending alert notifications/emails instantly when products get
back in stock by listening to stock record update signals this might impact
performance for large numbers stock record updates.
Alternatively, the management command oscar_send_alerts can be used to
run periodically, e.g. as a cronjob. In this case instant alerts should be
disabled.

If enabled, a post_delete hook will attempt to delete any image files and
created thumbnails when a model with an ImageField is deleted. This is
usually desired, but might not be what you want when using a remote storage.

A dictionary to map strings to more readable versions for including in URL
slugs. This mapping is appled before the slugify function.
This is useful when names contain characters which would normally be
stripped. For instance:

The slugify function to use. Note that is used within Oscar’s slugify wrapper
(in oscar.core.utils) which applies the custom map and blacklist. String
notation is recommended, but specifying a callable is supported for
backwards-compatibility.

Example:

# in myproject.utilsdefsome_slugify(value):returnvalue# in settings.pyOSCAR_SLUG_FUNCTION='myproject.utils.some_slugify'