Thanks for the detailed steps to reproduce. I can confirm I see the same thing so I opened up a ticket to track this - http://bitbucket.org/chris1610/satchmo/issue/1185/gift-certificates-not-working-correctly-with-partial
I'll need to look into why the cart seems to be getting cleared out early. Since this is a bug we'll probably need to modify the views to handle this situation in a cleaner way. Using templates probably isn't the right approach. -Chris On Sat, Jul 24, 2010 at 1:06 AM, Nadiah <[email protected]> wrote: > Hi everyone > > I am experiencing the same behaviour as described by Griffin (July 27, > 2009) on the latest Satchmo release (http://www.satchmoproject.com/ > docs/dev/new_installation.html<http://www.satchmoproject.com/%0Adocs/dev/new_installation.html>), > however the weird behaviour is making > it quite difficult to use the gift certificates. Most pressing, the > process misplaces the items ordered by the customer, and at the very > least I will need to know where the items ordered go to before I can > complete the order. > > When a customer uses a gift certificate to make a payment for an > order, and if the gift certificate has a lower value than the amount > to be paid, then the 'balance remaining' path is entered, however the > cart loses key details about the order: > > 1) Add some items to cart with a total greater than the gift > certificate's value > > 2) At /checkout/, select "Gift certificate" > > 3) At /checkout/giftcertificate, enter 'Gift Certificate Code', select > shipping > > 3) At /checkout/giftcertificate/confirm, details all fine, select > "Purchase Items" > > 4) At /checkout/balance/[order payment number]/ > > This is the page at which the customer must choose how to pay the > remaining balance of the order. At this point the cart reads "Your > shopping cart contains 1 item totalling $0.00". Select payment method > and hit "Continue". > > 5) At /checkout/[payment method]/confirm/ > > At this point, the card reads "Your shopping cart is empty". However > it is usually possible to submit the order at this point to make it to > the success page. > > Once the errors start, I have found that the following items can no > longer be accessed through the shop templates, or have erroneous > values: > 1. order.shipping_method = No Shipping, regardless of the shipping > method chosen > 2. order.orderstatus_set contains status.status|status_label = Shipped > and status.notes = "Order immediately available for download", even > though the item is not a downloadable product > 3. order.orderitem_set is empty > > In the admin page, the Product Order is received, however the order > has the following issues: > 1. Shipping method = No Shipping, regardless of method chosen > 2. Shipping cost = $0 > 3. Order Line Items is empty (also does not appear in Order Line > Items /admin/shop/orderitem/) > > However following items in the Product Order are correct: > 1. Subtotal > 2. Total > 3. Order Payments and amounts > > I initially created a work-around, deducing the shipping method from > the difference between the subtotal and total, and editing > _order_tracking_details.html and _order_details.html to handle and > cover-up the erroneous details, however unless I can find where the > order items are going to I don't think I'll be able to create a work- > around to use the gift certificates, as I have no solid way of > determining what was ordered from the subtotal alone. > > Does anyone have any ideas on what I may have done wrong, or how I can > fix this? > > > Cheers, > Nadiah > > -- > 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]<satchmo-users%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/satchmo-users?hl=en. > > -- 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.
