jibees
04ed7e4a94
Merge pull request #8972 from jibees/8965-retrieve-scale-of-a-product-in-the-BOM-interface
...
Improve the way we get the unit value (g, oz, lb, ...) in the Bulk Order Management interface
2022-03-11 09:01:02 +01:00
jibees
d4a4a36b14
Merge pull request #8766 from jibees/8477-cancel-order-and-send-confirmation-email-on-last-item-deletion
...
Edit order: on last item deletion, cancel the order and conditionally send cancellation email to consumer
2022-03-11 08:56:41 +01:00
Filipe
6474055380
Merge pull request #8964 from jibees/8963-display-shipping-options-checkboxes
...
SplitCheckout: Display shipping options checkboxes on invalid form submit
2022-03-10 16:41:10 +00:00
Filipe
3cf2db68b1
Merge pull request #8945 from jibees/8914-do-not-display-shipping-method-backoffice-only-for-split-checkout
...
SplitCheckout: display only shipping method that are set as front end available
2022-03-10 16:13:42 +00:00
Filipe
1522263cfc
Merge pull request #8893 from jibees/8889-handle-redirect-to-next-step-for-the-split-checkout
...
SplitCheckout: handle navigation between steps
2022-03-10 16:07:58 +00:00
Filipe
3e4b39c26b
Merge pull request #8966 from jibees/8958-improve-use-of-checkboxes-values-in-split-checkout
...
Splitcheckout: Don't save bill|ship address when associated checkbox is not checked during checkout process
2022-03-10 15:48:27 +00:00
Jean-Baptiste Bellet
e3a529be5d
Display only shipping method that are set as front end available
...
and update the tests as well
2022-03-10 16:15:50 +01:00
Jean-Baptiste Bellet
60ad92c4ff
Display ship address options checkboxes
...
+ Create the associated test: the trick is is that the selected delivery method is the one that required address **and** is before others that do not required ship address
2022-03-10 15:55:10 +01:00
Jean-Baptiste Bellet
20d5c45b7a
Remove :debug tag
2022-03-10 15:53:19 +01:00
Filipe
6ce29f81d8
Merge pull request #8920 from apricot12/Remove_checkout_only_option_from_payment_methods_display
...
Remove checkout only option from payment methods edit form.
2022-03-10 14:38:45 +00:00
filipefurtad0
16fcde7053
Fixes rubocop offenses
2022-03-08 23:13:24 +00:00
filipefurtad0
a6486c2701
Adds assertion on the order confirmation page
2022-03-08 23:12:05 +00:00
filipefurtad0
509a114d51
Adds coverage on transaction fees for split checkout
2022-03-08 23:10:48 +00:00
filipefurtad0
1fdd36e491
Adds coverage on shipping fees, on split checkout
2022-03-08 22:30:14 +00:00
Jean-Baptiste Bellet
0ccba7f144
As the product unit is 'g', we now display information in 'g'
2022-03-08 15:52:50 +01:00
Jean-Baptiste Bellet
915714246f
Directly use the variant_unit_scale instead of VariantUnitManager.getScale
...
and update the tests as well
2022-03-08 14:59:08 +01:00
Jean-Baptiste Bellet
adcdca812d
Delete that getScale method which is now useless
...
since we now rely on the serialized variant_unit_scale
2022-03-08 14:58:34 +01:00
Jean-Baptiste Bellet
1fe7ebcec2
Check uncheck save_bill|ship_address don't save bill|ship_address
2022-03-07 17:42:06 +01:00
Jean-Baptiste Bellet
440e5aaf97
Default checked/unchecked values for checkbox is 0/1
2022-03-07 17:41:05 +01:00
Nihal Mohammed
3820d4c591
Removed checkout only from DISPLAY options on payment method edit form and updated payment_method_spec
2022-03-07 17:33:09 +05:30
Filipe
5606be7199
Merge pull request #8944 from jibees/8940-display-update-button-on-order-unless-order-is-complete
...
Split checkout: Display "Update" button on the order table page unless order is complete
2022-03-07 11:58:34 +00:00
Filipe
be2898f5a2
Merge pull request #8916 from jibees/8894-login-during-guest-checkout
...
SplitCheckout: as guest user, after login should redirect to the first step of checkout
2022-03-07 09:20:12 +00:00
Jean-Baptiste Bellet
f8f57a31db
Use the right selector
...
In test env. we don't use the stripejs but a mock. Slightly different.
2022-03-03 14:14:39 +01:00
Filipe
0a9c3b1538
Merge pull request #8932 from filipefurtad0/change_paypal_spec
...
Clarifies context in checkout_paypal_spec and implements tests as shared examples
2022-03-02 12:21:13 +00:00
Jean-Baptiste Bellet
f47de45346
Reference splitcheckout as a checkout redirect
...
This stored in session value is used to redirect after login
Update tests as well, thanks @filipefurtad0 ! 🙏
2022-03-01 15:12:18 +01:00
Jean-Baptiste Bellet
e14dad1575
Update test on payment step
2022-03-01 14:51:24 +01:00
Jean-Baptiste Bellet
3e85762143
Create a test that test the redirection after the split checkout login
...
Should be redirected on the first step
2022-03-01 14:25:41 +01:00
Jean-Baptiste Bellet
96d4ee3f4f
Extract to a method in the split checkout helper
2022-03-01 14:25:08 +01:00
Filipe
d052c4f8a4
Merge pull request #8869 from filipefurtad0/remove_signup_string
...
Removes signup string from private shop login screen
2022-03-01 08:20:06 +00:00
Filipe
1338bcbf57
Merge pull request #8939 from filipefurtad0/stock_spec_checkout_split
...
Checks stock restrictions on checkout split (system spec)
2022-02-28 16:42:58 +00:00
Filipe
d84b6ce2ad
Merge pull request #8772 from filipefurtad0/add_specs_split_checkout_payment
...
[Split Checkout] Adds tests on payments
2022-02-28 16:42:12 +00:00
Jean-Baptiste Bellet
e47198f1e5
Handle both types of redirection
...
One is based on the order step itself, the other is based on the current step passed through the params
2022-02-28 15:23:37 +01:00
jibees
eeae67e2d0
Merge pull request #8935 from mkllnk/clean-rubocop
...
Relax our style guide
2022-02-28 15:16:46 +01:00
filipefurtad0
f6304892c2
Adds controller coverage for stock restrictions
2022-02-27 22:01:48 +00:00
filipefurtad0
7a6f3d67e2
Implements shared example; Checks stock restriction on payment step
2022-02-27 21:51:03 +00:00
filipefurtad0
eb56027505
Moves out-of-stock block within correct context
2022-02-27 19:56:45 +00:00
filipefurtad0
8ac2035d0c
Addresses style issue
2022-02-25 16:47:17 +00:00
filipefurtad0
751e817deb
Renames shared_examples
2022-02-25 16:32:31 +00:00
filipefurtad0
82b6d39191
Re-names payment; addresses style issues
2022-02-25 16:06:26 +00:00
filipefurtad0
daffe333c5
Adds coverage on order completition for Cash/Paypal
2022-02-25 16:06:26 +00:00
filipefurtad0
c4bf36d402
Adds Stripe SCA to shared examples block
2022-02-25 16:06:26 +00:00
filipefurtad0
d336ab52a1
Adds Paypal to shared examples block
2022-02-25 16:06:26 +00:00
filipefurtad0
ae3eb90668
Adds shared examples block, with cash
2022-02-25 16:06:26 +00:00
filipefurtad0
09cd9b8462
Adds a test on payment method requirement
2022-02-25 16:06:26 +00:00
filipefurtad0
9449c7c919
Adds a context for existing test case
2022-02-25 16:06:26 +00:00
filipefurtad0
9dceda7e20
Creates a details test block; moves respective tests inside
2022-02-25 16:06:26 +00:00
Maikel Linke
e6b4f462ef
Revert "Add rubocop config to allow specs to be 300 lines long"
...
This reverts commit 0b51d8b297 .
I think that this config was complicated in the setup and potentially
confusing to have different rules in different places.
It's better to fix those spec files by either making them smaller or
removing the `module` block in the spec. We can reference the modules
explicitely where needed.
2022-02-25 12:05:04 +11:00
filipefurtad0
10217e2ec8
Sets guest and logged-in user as shared examples
2022-02-24 17:20:11 +00:00
filipefurtad0
9bf0667d04
Moves failed response stub into registered user context
2022-02-24 16:27:03 +00:00
Filipe
385cd49964
Merge pull request #8876 from SarvarKh/product-import-validation
...
Fix product import on existing, empty unit_type and variant_unit
2022-02-21 23:20:04 +00:00