Andy Brett
|
759c5d6bdd
|
don't override existing addresses on order with AddressFinder
|
2021-08-25 13:11:48 -07:00 |
|
Jean-Baptiste Bellet
|
b5024c5a16
|
On summary page, display shipping address as well as billing one
|
2021-08-25 16:31:45 +02:00 |
|
Jean-Baptiste Bellet
|
642e822e0e
|
button is rounded
|
2021-08-25 15:58:55 +02:00 |
|
Jean-Baptiste Bellet
|
10ddaf4384
|
Last step (ie. summary) is larger than the two previous step
|
2021-08-25 15:53:22 +02:00 |
|
Jean-Baptiste Bellet
|
75390d2a48
|
Specify right i18n key
|
2021-08-25 15:29:24 +02:00 |
|
Jean-Baptiste Bellet
|
82ea33e9ca
|
Do not display ship address form if not needed
ie. the shipping method does not require any address
|
2021-08-25 11:10:47 +02:00 |
|
Andy Brett
|
d86148420a
|
improve shipping_method_id handling
|
2021-08-24 12:29:48 -07:00 |
|
Andy Brett
|
7dd2c09641
|
ensure terms are accepted before order is placed
|
2021-08-24 12:29:23 -07:00 |
|
Andy Brett
|
3414d9f057
|
clear errors on ship address as well
|
2021-08-24 12:15:20 -07:00 |
|
Andy Brett
|
71076d36a1
|
favor dig to protect against nils
|
2021-08-24 11:54:02 -07:00 |
|
Andy Brett
|
ea6739d565
|
guard against a nil value for @order.user
|
2021-08-24 11:46:50 -07:00 |
|
Andy Brett
|
874e1d7f02
|
only advance order to payment if no payment exists
|
2021-08-24 11:23:08 -07:00 |
|
Andy Brett
|
417770e716
|
guard against nil when populating ship address
|
2021-08-24 11:22:20 -07:00 |
|
Andy Brett
|
ea695105b5
|
populate ship address with bill address if no ship address
|
2021-08-24 10:57:36 -07:00 |
|
Jean-Baptiste Bellet
|
9fd126ca0f
|
The ship address is filled from bill address for some attributes
firstname, lastname and phone are the same between those two address. Fill it automatically.
|
2021-08-23 15:42:29 +02:00 |
|
Jean-Baptiste Bellet
|
1ecfeca88c
|
Populate view with both shipping_method_id & ship_address_same_as_billing
... and then handle correctly the display of the form
|
2021-08-23 15:23:53 +02:00 |
|
Jean-Baptiste Bellet
|
fe65359d71
|
Display no shipping method selected error
|
2021-08-23 10:16:53 +02:00 |
|
Andy Brett
|
3bee30ac60
|
clear error messages on order and bill address on first load
|
2021-08-20 09:18:08 -07:00 |
|
Jean-Baptiste Bellet
|
26c5361b0a
|
set shipping method only if param is present
|
2021-08-20 09:18:08 -07:00 |
|
Andy Brett
|
138b7824ba
|
remove ship address if shipping method does not require it
|
2021-08-19 10:18:11 -07:00 |
|
Andy Brett
|
dd00c30503
|
fill ship address with bill address if checkbox is checked
|
2021-08-19 10:17:51 -07:00 |
|
Andy Brett
|
c07046e2f6
|
return an error if no shipping method is selected
|
2021-08-19 10:16:46 -07:00 |
|
Jean-Baptiste Bellet
|
402bfdac30
|
Show/Hide shipping address form depending on the checkbox/radio state
|
2021-08-19 10:34:07 +02:00 |
|
Jean-Baptiste Bellet
|
c806b3e889
|
Be more generic: address is enough
as it could be billing or shipping address
|
2021-08-19 10:33:16 +02:00 |
|
jibees
|
1ab7cb517f
|
Merge pull request #8058 from Matt-Yorkley/n-plus-ones
Fix some N+1s
|
2021-08-17 10:02:20 +02:00 |
|
Matt-Yorkley
|
63dc188d5e
|
Merge pull request #8032 from Matt-Yorkley/order-confirm
Split checkout backend
|
2021-08-16 23:12:06 +02:00 |
|
Matt-Yorkley
|
28bf71e77e
|
Fix N+1 in CachedEnterpriseSerializer
|
2021-08-16 14:58:52 +01:00 |
|
Matt-Yorkley
|
20a3940605
|
Fix N+1 in #items_bought_by_user
|
2021-08-16 14:58:52 +01:00 |
|
Matt-Yorkley
|
b94c586bc5
|
Merge pull request #7992 from jibees/7959-populate-hub-for-packing-report
Add appropriate distributors and suppliers to the packing report
|
2021-08-14 12:38:35 +02:00 |
|
Matt-Yorkley
|
5c4a225180
|
Merge pull request #8026 from Matt-Yorkley/angular-update
Angular version bump
|
2021-08-14 10:46:24 +02:00 |
|
Matt-Yorkley
|
fb6ee65865
|
Remove more (currently) unused code
|
2021-08-12 17:24:20 +01:00 |
|
Matt-Yorkley
|
1d074c2151
|
Extract callbacks to a concern
|
2021-08-12 13:06:50 +01:00 |
|
Matt-Yorkley
|
1147c5b2ca
|
Update saved address loading
|
2021-08-12 12:53:45 +01:00 |
|
Matt-Yorkley
|
026e51081c
|
Clear invalid payments
When going back and changing the payment option, the previous payment gets invalidated.
|
2021-08-12 12:53:45 +01:00 |
|
Matt-Yorkley
|
98ae82147c
|
Avoid using Angular in shipping and payment method display
|
2021-08-12 12:53:45 +01:00 |
|
Matt-Yorkley
|
41c62b97d5
|
Use flash.now unless redirecting
|
2021-08-12 12:53:45 +01:00 |
|
Matt-Yorkley
|
dbefd95b5e
|
Improve order workflow shipping method selection
|
2021-08-12 12:53:45 +01:00 |
|
Matt-Yorkley
|
5fb3943634
|
Validate payment object exists before advancing from payment to confirmation
|
2021-08-12 12:53:45 +01:00 |
|
Matt-Yorkley
|
6c885f0f42
|
Declare validations together
|
2021-08-12 12:53:45 +01:00 |
|
Matt-Yorkley
|
5d9c4315d8
|
Remove dead code
|
2021-08-12 12:53:45 +01:00 |
|
Matt-Yorkley
|
99f0672f9d
|
Set order amount when creating payment object
|
2021-08-12 12:53:45 +01:00 |
|
Matt-Yorkley
|
598e81ed32
|
Progress order to address at start of checkout
|
2021-08-12 12:53:45 +01:00 |
|
Matt-Yorkley
|
7e8daea233
|
Reduce data loading on steps
|
2021-08-12 12:53:45 +01:00 |
|
Matt-Yorkley
|
4916f823aa
|
Handle order confirmation
|
2021-08-12 12:53:45 +01:00 |
|
Matt-Yorkley
|
ffc3736f4b
|
Update fields on confirmation page
|
2021-08-12 12:53:45 +01:00 |
|
Matt-Yorkley
|
41ffffe170
|
Tidy up use of @checkout_step
|
2021-08-12 12:53:45 +01:00 |
|
Matt-Yorkley
|
2a12e21cf4
|
Merge pull request #8034 from Matt-Yorkley/live
Fix deprecated syntax for live() function
|
2021-08-12 13:47:50 +02:00 |
|
Matt-Yorkley
|
0158106f28
|
Merge pull request #7949 from Matt-Yorkley/producers-caching
Fragment-Cache producers AMS data
|
2021-08-12 13:27:41 +02:00 |
|
Matt-Yorkley
|
fa94392fb6
|
Fix deprecated syntax for live() function
|
2021-08-12 12:09:55 +01:00 |
|
Matt-Yorkley
|
3c2c3a1801
|
Extract helper and update tabs
|
2021-08-11 16:17:29 +01:00 |
|