Jan Lysý
5ef632bacd
Add missing div element with ID for WooCommerce emails
...
[MAILPOET-3485]
2021-05-17 09:57:56 +02:00
Rostislav Wolny
0a0c63cd1f
Show only allowed countries in options for customer country segment
...
[MAILPOET-3226]
2021-05-11 14:25:16 +02:00
Rostislav Wolny
173a4a124c
Load WooCommerce countries for segment form
...
[MAILPOET-3226]
2021-05-11 14:25:16 +02:00
Jan Lysý
5b194018fc
Add getter for currency symbol to WC helper
...
[MAILPOET-3227]
2021-04-26 11:29:48 +02:00
wxa
37ac7fd381
Remove unused imports
...
[MAILPOET-3484]
2021-03-29 14:31:44 +02:00
Jan Lysý
dffaab10a2
Use getCurrentWPUser from SubscribersRepository
...
[MAILPOET-3268]
2021-03-16 14:39:47 +01:00
Rodrigo Primo
edbb69a239
Use the woocommerce_email action to customize WC emails
...
This commit changes the WC action that MailPoet uses to hook into WC and
customize the footer and the header of WC e-mails. Before, MailPoet was
using the woommerce_init action. The problem with using this action to customize
the e-mails is that it runs on every request. Furthermore, since we were calling
WC->mailer() inside the callback, we were instantiating WC_Emails on
every single request (WooCommerce instantiate this class only when
needed).
Replacing woocommerce_init with woocommerce_email means that our code
will run only when needed (right after WooCommerce adds callbacks to the
actions woocommerce_email_header and woocommerce_email_footer) and that
we won't be unnecessarily instantiating WC_Emails ourselves. We get the
singleton instance of this class as a parameter.
[MAILPOET-3421]
2021-03-01 14:14:19 +01:00
Jan Lysý
9e9270f13b
Use email heading from Woo for email header
...
We want to use email heading from Woo in title of rendered email for
WooCommerce Transactional Email.
[MAILPOET-3329]
2021-01-25 11:08:00 +01:00
wxa
f571506129
Use woocommerce_form_field for WC checkout optin [MAILPOET-2925]
2021-01-04 14:22:42 +01:00
wxa
ce27fd08fe
Add customize button above WC email settings table [MAILPOET-2584]
2020-11-12 16:49:20 +01:00
wxa
fd6ff25cd9
Make render preview call more readable [MAILPOET-2979]
2020-10-07 11:48:50 +02: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
Pavel Dohnal
fbc6786058
Split class to prevent circular dependency
...
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
Pavel Dohnal
c3686d9973
Move data from constructor
...
[MAILPOET-2899]
2020-05-28 11:28:51 +02:00
wxa
aac8619f8f
Subscribe to custom lists on WC checkout [MAILPOET-2897]
2020-05-27 13:30:05 +02:00
Jan Jakeš
f986da4d7f
Return input & output filters back to API endpoint
...
[MAILPOET-2900]
2020-05-25 17:49:07 +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
Rostislav Wolny
daf5bafe93
Strip unwanted tags from WooCommerce mail footer text
...
When we initially generate WooCommerce transactional email template
we must exclude tags that can't be inserted to paragraph tag.
[MAILPOET-2821]
2020-03-29 21:39:01 +02:00
Jan Jakeš
b39dac75d6
Autofix number of newlines between methods
...
[MAILPOET-2715]
2020-02-19 19:12:53 +00:00
Jan Jakeš
3bbc8ea2af
Convert variable names to camel case in strings
...
[MAILPOET-1796]
2020-01-14 15:22:42 +01:00
Jan Jakeš
8c848cfa28
Convert property names to camel case
...
[MAILPOET-1796]
2020-01-14 15:22:42 +01: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
wxa
20d42af4dc
Remove the WC customizer feature flag [MAILPOET-2285]
2019-12-24 17:01:32 +03:00
wxa
d84c45e5f1
Fix colors in rendering [MAILPOET-2569]
2019-12-23 21:55:40 +03:00
wxa
fa81c24825
Sync WC customizer styles to WooCommerce settings [MAILPOET-2569]
2019-12-23 21:55:40 +03:00
wxa
f9ec25213d
Always fetch styles from WooCommerce [MAILPOET-2569]
2019-12-23 21:55:40 +03:00
Rostislav Wolny
c5314abfd4
Move css-tidy to MailPoetVendor prefixed libraries
...
[MAILPOET-2563]
2019-12-12 12:46:19 +00:00
wxa
ed6bc90754
Add global styles for use in WC header and content blocks [MAILPOET-2521]
2019-12-11 18:22:46 +00:00
wxa
393b377437
Fix colors and font sizes, add default logo, remove CTA button [MAILPOET-2520]
2019-12-10 10:07:11 +00:00
Amine Ben hammou
2c0f16b0dd
Fix tests and default values
...
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
a5dc30c4b6
Use Doctrine to create the newsletter
...
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
a178b5d1e8
Use DI to inject csstidy
...
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
9a8a353095
Fix PHPStan errors
...
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
822f48468e
Show default heading if WC one is empty
...
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
aa129f5987
Use template for WooCommerce transactional emails
...
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
f56ced0ef5
Add Email renderer
...
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
45da91f670
Separate the template creation into a class
...
[MAILPOET-2286]
2019-11-28 14:07:38 +00:00
Amine Ben hammou
9f594f7666
Add check
...
[MAILPOET-2282]
2019-11-13 10:44:27 +00:00
Amine Ben hammou
22b5981d5c
Replace headings placeholders
...
[MAILPOET-2282]
2019-11-13 10:44:27 +00:00
Amine Ben hammou
bd5f18af29
Load all headings and display the selected one
...
[MAILPOET-2282]
2019-11-13 10:44:27 +00:00
wxa
a38d08eb7c
Create the WC transactional email only when it's first invoked [MAILPOET-2514]
2019-11-11 16:00:40 +00:00
wxa
68eb3ade6e
Customize the WC transactional email template based on WC settings [MAILPOET-2339]
2019-11-06 17:06:07 +00:00
Amine Ben hammou
ad899e436c
Add heading content
...
[MAILPOET-2278]
2019-10-18 09:41:34 +01:00
Amine Ben hammou
8b2bb9d69f
Add heading widget to the transactional email template
...
[MAILPOET-2278]
2019-10-18 09:41:34 +01:00
Amine Ben hammou
96cbce78a3
Add content block to template
...
[MAILPOET-2279]
2019-10-15 15:45:37 +01:00
Ján Mikláš
fa183bec6d
Fix checking correct WooCommerce settings tab
...
[MAILPOET-2283]
2019-10-03 09:25:19 +01:00
Ján Mikláš
c11b1a78f1
Use Twig to render WooCommerce settings overlay
...
[MAILPOET-2283]
2019-10-03 09:25:19 +01:00