coffeeexistence / substruct

Automatically exported from code.google.com/p/substruct
0 stars 0 forks source link

Using a promotion at checkout results in an error and will not allow you to continue and select shipping. #140

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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"

Original issue reported on code.google.com by surveys...@gmail.com on 11 Oct 2008 at 8:06

GoogleCodeExporter commented 8 years ago
describe all steps exactly, maybe?

Original comment by rogerpack2005 on 24 Oct 2008 at 11:06

GoogleCodeExporter commented 8 years ago
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.

Original comment by surveys...@gmail.com on 24 Oct 2008 at 11:27

GoogleCodeExporter commented 8 years ago
The only promotion type that did not display the error was buy [n] get 1 free.

Original comment by surveys...@gmail.com on 24 Oct 2008 at 11:33

GoogleCodeExporter commented 8 years ago
appears to have been a bug.  Attached patch fixes it. see 
http://groups.google.com/group/substruct/browse_thread/thread/7660f4eec1622ff2

Original comment by rogerpack2005 on 19 Jan 2009 at 5:22

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed r168

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

http://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.

Original comment by subim...@gmail.com on 25 Jan 2009 at 6:25