My favorites
▼
|
Sign in
substruct
Open-source Ruby on Rails E-Commerce
Project Home
Downloads
Wiki
Issues
Source
READ-ONLY: This project has been
archived
. For more information see
this post
.
Search
Search within:
All issues
Open issues
New issues
Issues to verify
for
Advanced search
Search tips
Subscriptions
Issue
54
attachment: dont_add_the_shipping_price_twice.patch
(741 bytes)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: /home/edmundo/workspace_aptana/trunk/vendor/plugins/substruct/app/controllers/store_controller.rb
===================================================================
--- /home/edmundo/workspace_aptana/trunk/vendor/plugins/substruct/app/controllers/store_controller.rb (revision 104)
+++ /home/edmundo/workspace_aptana/trunk/vendor/plugins/substruct/app/controllers/store_controller.rb (working copy)
@@ -262,6 +261,7 @@
end
@items = @order.order_line_items
+ @order.shipping_cost = 0
session[:order_shipping_types] = @order.get_shipping_prices
# Set default price to pick what radio button should be entered
@default_price = session[:order_shipping_types][0].id if session[:order_shipping_types][0]
Powered by
Google Project Hosting