Payments cart from sale shop and default customer payment
This commit is contained in:
parent
924097b78c
commit
56e7698a00
4
cart.py
4
cart.py
|
@ -955,6 +955,10 @@ def cart_list(lang):
|
|||
if hasattr(party, 'customer_payment_type'):
|
||||
if party.customer_payment_type:
|
||||
default_payment = party.customer_payment_type
|
||||
if party and hasattr(party, 'customer_payment_type'):
|
||||
customer_payment = party.customer_payment_type
|
||||
if not customer_payment in payments:
|
||||
payments.append(customer_payment)
|
||||
|
||||
# Get carriers. Shop carriers or Party carrier
|
||||
stockable = Carrier.get_products_stockable(products)
|
||||
|
|
Loading…
Reference in New Issue