|
@@ -25,7 +25,8 @@ Things that have been heavily rewritten:
|
25
|
25
|
|
26
|
26
|
- Adding product to the basket
|
27
|
27
|
|
28
|
|
-Shipping functionality got a thorough re-working.
|
|
28
|
+Shipping functionality got a thorough re-working including a new dashboard for
|
|
29
|
+weight-based shipping methods.
|
29
|
30
|
|
30
|
31
|
Lots of methods deprecated in the 0.6 release have now been removed.
|
31
|
32
|
Specifically, the partner "wrapper" functionality is now gone. All price and
|
|
@@ -63,8 +64,8 @@ Customisation just got easier!
|
63
|
64
|
Reworked shipping app
|
64
|
65
|
~~~~~~~~~~~~~~~~~~~~~
|
65
|
66
|
|
66
|
|
-Several parts of the shipping app have been changed. The most important is a
|
67
|
|
-change to the API of shipping methods to avoid a potential thread safety issue.
|
|
67
|
+Several parts of the shipping app have been altered The most important change is a
|
|
68
|
+to the API of shipping methods to avoid a potential thread safety issue.
|
68
|
69
|
Any existing Oscar sites with custom shipping methods will need to adjust them
|
69
|
70
|
to confirm to the new API.
|
70
|
71
|
|
|
@@ -85,6 +86,28 @@ for the shipping app and the
|
85
|
86
|
:doc:`guide to configuring shipping </howto/how_to_configure_shipping>`
|
86
|
87
|
for more information.
|
87
|
88
|
|
|
89
|
+Dashboard for weight-based shipping methods
|
|
90
|
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
91
|
+
|
|
92
|
+There is a new dashboard for weight-based shipping methods. It isn't enabled by
|
|
93
|
+default as weight-based shipping methods are enabled by default. To add it to
|
|
94
|
+the dashboard menu, include this snippet in your ``OSCAR_DASHBOARD_NAVIGATION``
|
|
95
|
+setting:
|
|
96
|
+
|
|
97
|
+.. code-block:: python
|
|
98
|
+
|
|
99
|
+ OSCAR_DASHBOARD_NAVIGATION = [
|
|
100
|
+ ...
|
|
101
|
+ {
|
|
102
|
+ 'label': _('Shipping charges'),
|
|
103
|
+ 'url_name': 'dashboard:shipping-method-list',
|
|
104
|
+ },
|
|
105
|
+ ...
|
|
106
|
+ ]
|
|
107
|
+
|
|
108
|
+You'll also need to modify your shipping repository class to return weight-based
|
|
109
|
+shipping methods too.
|
|
110
|
+
|
88
|
111
|
US demo site
|
89
|
112
|
~~~~~~~~~~~~
|
90
|
113
|
|