My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 140: Using a promotion at checkout results in an error and will not allow you to continue and select shipping.
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Jan 2009


 
Reported by surveys...@gmail.com, Oct 11, 2008
What steps will reproduce the problem?
1. create a promotion (I used $5 off anything)
2. add any item to cart and add promotion during checkout
3. click submit order information

What is the expected output? What do you see instead?
Promotion is applied and move on to select shipping method. Promotion is still applied but with 
flash error: "There were some problems with the information you entered. Please look at the 
fields below." (no fields are identified) prevents you from being able to move forward and select 
shipping.

What version of the product are you using? On what operating system?
1.0.a6/linux  also verified on Substruct demo page.

Please provide any additional information below.
log displays: "Something went bad when trying to checkout... Couldn't find Item without an ID"


Oct 24, 2008
#1 rogerpack2005
describe all steps exactly, maybe?
Oct 24, 2008
#2 surveys...@gmail.com
sure. . .
If you go to: http://substruct.subimage.com/store/show_by_tags/Weapons
add a lightsaber to your cart and checkout with promotion code FIXED_REBATE.
When you submit the order a flash message will display "There were some problems with the information you 
entered. Please look at the fields below." when there doesn't appear to be any errors in the fields.
Oct 24, 2008
#3 surveys...@gmail.com
The only promotion type that did not display the error was buy [n] get 1 free.
Jan 19, 2009
#4 rogerpack2005
appears to have been a bug.  Attached patch fixes it. see http://groups.google.com/group/substruct/browse_thread/thread/7660f4eec1622ff2
allow_promos.diff
540 bytes   View   Download
Jan 24, 2009
Project Member #5 subim...@gmail.com
Fixed r168

Thanks for the patch. I've applied it, but please next time include a proper patch as
outlined here:

https://code.google.com/p/substruct/wiki/ContributingToSubstruct

All tests should pass when you run "rake test:plugins:all PLUGIN=substruct"

It takes longer for me to apply these things if I have to write test code and verify
myself that things work as they should.
Status: Fixed

Powered by Google Project Hosting