Commit Graph

23 Commits

Author SHA1 Message Date
Brezo Cordero
683c5fa01f Fix subscribe on Order Pay form
[MAILPOET-3598]
2021-10-18 13:12:14 +02:00
Rostislav Wolny
1aef43cfc9 Add classed to Woo checkout optin to match other checkboxes
[MAILPOET-3498]
2021-09-13 10:25:35 +02:00
Rostislav Wolny
3e57bc187f Fix subscriber in subscription via checkout for older WooCommerce
We use hidden field to indicate that the option checkbox was rendered.
The support for the hidden field was added in Woo 4.6.0 (51afe3207a (diff-019fb1a3da8e1f8d9f148c7407195e640587dfeb3e7830ef8e8fa6f29aa0a6ed))
This commit adds a workaround that can be removed we drop support of older WooCommerce versions.
[MAILPOET-3772]
2021-08-31 12:22:01 +02:00
Rostislav Wolny
35058bca63 Add unsubscribes tracking for WooCommerce checkout
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
3cedca311d Unsubscribe on checkout only when opt-in is checkbox is present
This change unifies behaviour with registration page opt-in checkbox.
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
12c9019939 Mark customers without optin as unsubscribed
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Rostislav Wolny
b46335a562 Fix filter for rendering WooCommerce checkou optin
Without the return argument the input is immediately rendered
and the function returns null. The filter than received null
instead of HTML string and the input was already rendered before
the filter was called.
[MAILPOET-3657]
2021-08-09 16:51:27 +02:00
Jan Lysý
dffaab10a2 Use getCurrentWPUser from SubscribersRepository
[MAILPOET-3268]
2021-03-16 14:39:47 +01:00
wxa
f571506129 Use woocommerce_form_field for WC checkout optin [MAILPOET-2925] 2021-01-04 14:22:42 +01:00
Rostislav Wolny
4f50c94dcb Use new confirmation mailer send method with duplicate check
[MAILPOET-2876]
2020-09-09 13:09:06 +02:00
Rostislav Wolny
9f5b8d042f Refactor subscription opt-in in WooCommerce acceptance tests
[MAILPOET-2992]
2020-06-25 16:15:43 +02:00
wxa
aac8619f8f Subscribe to custom lists on WC checkout [MAILPOET-2897] 2020-05-27 13:30:05 +02:00
Pavel Dohnal
fa9203ce50 Refactor the code
[MAILPOET-2799]
2020-04-02 14:24:38 +02:00
Pavel Dohnal
4396f8370b Send confirmation email on wc checkout
[MAILPOET-2799]
2020-04-02 14:24:38 +02:00
Jan Jakeš
54549ff037 Convert variable names to camel case
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Amine Ben hammou
43df66d162 Add public keyword to methods
[MAILPOET-2413]
2019-12-26 18:09:45 +03:00
Jan Jakeš
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Pavel Dohnal
24d5125ba7 Stay checked after billing update
[MAILPOET-2217]
2019-09-12 14:31:15 +02:00
Pavel Dohnal
ea0a3ff159 Update global status on unsubscribe
[MAILPOET-2320]
2019-09-04 11:40:54 -04:00
Pavel Dohnal
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
wxa
8d71cc2eb9 Fix spaces in concatenation [PREMIUM-94] 2019-05-13 09:12:55 -04:00
wxa
3a34d28daa Use encapsulated WP functions, remove some nesting [MAILPOET-1483] 2019-04-29 09:33:12 -04:00
wxa
12d2b9b46a Add WooCommerce checkout opt-in functionality [MAILPOET-1483] 2019-04-29 09:33:12 -04:00