David Cook
5a1190cdda
Remove superfluous %div from haml elements with class
...
Div is the default element in HAML, so we don't need to specify it. https://haml.info/docs/yardoc/file.REFERENCE.html#implicit-div-elements
2025-03-03 14:46:24 +01:00
Cillian O'Ruanaidh
def027efb2
Replace references to split_checkout directory in views and specs
2023-12-01 11:32:55 +00:00
Cillian O'Ruanaidh
222c6d8ac5
Rename app/views/split_checkout directory to app/views/checkout
2023-12-01 11:12:00 +00:00
Mohamed ABDELLANI
fc0cca2210
remove legacy checkout view
2023-06-13 14:58:16 +01:00
Maikel Linke
f73c32ce4b
Move rendering logic of terms to helper
...
Preparing for a third option to display.
2021-03-10 17:09:26 +11:00
Maikel Linke
4af0e61163
Simplify logic for terms and conditions display
...
Checking for `false` instead of a falsey value allows us to distinguish
from an unset variable and disable the checkout button only when a
checkbox is present and unticked.
2021-03-10 17:09:26 +11:00
Maikel Linke
b266c9df34
Enable checkout button only when terms accepted
...
This was working with the seller's terms but now it includes the
platform's terms as well.
Pending:
- Simplify Ansible code
- Unify the two terms checkboxes if both required
2021-03-10 17:09:26 +11:00
Maikel Linke
561da1f834
Show Terms of Service at checkout if required
...
The checkout page shows a checkbox to accept the platform's Terms of
Service. Ticking the box doesn't have any effect yet but at least people
are aware and are presented with a link to the terms.
2021-03-10 17:09:26 +11:00
Maikel Linke
0e8745adc3
Remove passing of unused variable
2021-03-10 17:09:26 +11:00
Luis Ramos
f3da7afd55
Replace spree_order_path with order_path so we can use scope in the routes file
2021-01-25 19:55:42 +00:00
Luis Ramos
60c3557c2d
Fix checkout form order path
2021-01-25 19:52:48 +00:00
Luis Ramos
85096a997f
Add a checkbox to checkout to tick for Terms and Conditions
...
Checkout button should be disabled if checkbox is not ticked
2020-10-30 15:08:26 +00:00
Luis Ramos
b9511d4f07
Show terms and conditions on checkout if enterprise has an associated PDF file
2020-08-31 17:40:34 +01:00
Luis Ramos
ce2a164c66
Stop using f_form_for
...
Add labels for some fields, this was done automatically by rails foundation helper
2020-04-01 12:03:39 +01:00
Matt-Yorkley
6219b3f0c3
Revert "Revert "Fix JS render-blocking in Darkswarm""
...
This reverts commit ffeca41e
2019-07-10 17:14:08 +01:00
Maikel
ffeca41ef4
Revert "Fix JS render-blocking in Darkswarm"
2019-07-10 10:24:25 +10:00
Matt-Yorkley
fbb97c3db8
Fix JS render-blocking in Darkswarm
2019-07-02 13:43:20 +01:00
stveep
33b570b117
Inject cards for current user into checkout and add selector dropdown to gateway partial.
2017-09-23 14:58:31 +10:00
Maikel Linke
f3f6714472
Add message about previous orders on checkout page
...
The message appears if the user ordered before within the same order
cycle and the shop allows to change previous orders.
2017-05-05 14:19:32 +10:00
Maikel Linke
85c99102dd
i18n: Replacing all language strings in app/view/
...
Languages strings were moved to config/locale/en.yml. All views contain
according calls to t() now.
2015-08-28 16:59:23 +10:00
Rohan Mitchell
cbb968d87f
Pass checkout form to controller method
2014-11-06 18:29:48 +11:00
Rohan Mitchell
75b250d3fe
When submitting checkout, if field is invalid, show errors
2014-11-06 18:29:48 +11:00
Rohan Mitchell
e8e5f7033c
Improve all the syntax
2014-11-06 18:29:48 +11:00
Rohan Mitchell
fc1c3abb9f
Remove duplicate data injection (duplicated in darkswarm layout)
2014-10-31 12:22:02 +11:00
Rafael Schouten
01aa8cb761
Use serialiser instead of rabl for current order injection
2014-10-10 15:30:53 +11:00
Rob H
b8fadb50ae
Special Instructions in checkout are actually wired up
2014-09-06 12:00:27 +10:00
Rob H
400f2ea9b9
Don't add payment forms to checkout DOM unless required
2014-08-27 15:09:41 +10:00
summerscope
6515f0f096
Tweak labels to make page heading more consistent, give useful names to SHopping cart and Checkout pages
2014-08-06 13:34:06 +10:00
Will Marshall
547d9f9f5c
Moving payment methods and shipping methods into their own services
2014-07-17 14:19:39 +10:00
Will Marshall
8bb5f75ea0
Temporary fix to get staging working
2014-06-20 13:51:21 +10:00
summerscope
3ae1eb863d
Update behaviour on Place Order Now button so it is disabled but not hidden when unavailable
2014-06-05 16:20:14 +10:00
Will Marshall
5b2e9e9c30
Final set of regression issues
2014-05-09 16:43:57 +10:00
Will Marshall
573d479e08
Fixing test regressions
2014-05-09 16:43:57 +10:00
Will Marshall
f25617dde7
Tweaks for laura, reworking authentication workflow, tidying up checkout
2014-05-09 16:42:51 +10:00
summerscope
7bf969ca1b
Removing empty containers and adding classes for padding required
2014-05-09 16:27:28 +10:00
summerscope
3d2d6fa33c
Styling for checkout page and the hubs heading above shopping section
2014-05-09 14:34:42 +10:00
summerscope
d227fb24fe
Styling checkout page
2014-05-08 17:36:17 +10:00
Will Marshall
b907616749
Renaming our partials
2014-05-02 14:47:12 +10:00