File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ class ProductOptionsModifier(BaseCartModifier):
7
7
This modifier adds an extra field to the cart to let the lineitem "know"
8
8
about product options and their respective price.
9
9
'''
10
- def process_cart_item (self , cart_item ):
10
+ def process_cart_item (self , cart_item , state ):
11
11
'''
12
12
This adds a list of price modifiers depending on the product options
13
13
the client selected for the current cart_item (if any)
@@ -28,7 +28,7 @@ class TextOptionsModifier(BaseCartModifier):
28
28
This price modifier appends all the text options it finds in the database for
29
29
a given cart item to the item's extra_price_fields.
30
30
"""
31
- def process_cart_item (self , cart_item ):
31
+ def process_cart_item (self , cart_item , state ):
32
32
text_options = CartItemTextOption .objects .filter (cartitem = cart_item )
33
33
for text_opt in text_options :
34
34
price = text_opt .text_option .price
You can’t perform that action at this time.
0 commit comments