Hi,
I have just added a discount, for every item in the store of 15%. It
works fine when entering the code and on the confirm order page the
discount is displayed. However the table that holds the order details
to be sent to PayPal does not respect the discount. Each order item is
calculated using this code:
{% for item in order.orderitem_set.all %}
<input type="hidden" name="item_name_{{forloop.counter}}"
value="{{item}}" />
<input type="hidden" name="amount_{{forloop.counter}}"
value="{{item.unit_price|truncate_decimal:2}}" />
<input type="hidden" name="quantity_{{forloop.counter}}"
value="{{item.quantity|truncate_decimal:0}}" />
{% endfor %}
The probelm is {{item.unit_price|truncate_decimal:2}} does not respect
the discount applied.
Is this something that has not yet been implemented in Satchmo? If so
any ideas on the best way I can patch the template to fix this. The
template is:
satchmo/apps/satchmo_store/shop/templates/shop/checkout/paypal/
comfirm.html
Many thanks,
Arthur
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---