Commit Graph

53 Commits

Author SHA1 Message Date
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
Ján Mikláš
24cc76cfbd Fix showing overlay on specific WC email settings
[MAILPOET-2283]
2019-10-03 09:25:19 +01:00
Ján Mikláš
672c92ae31 Use WPFunctions for translations
[MAILPOET-2283]
2019-10-03 09:25:19 +01:00
Ján Mikláš
ccdadf3614 Hide it behind feature flag
[MAILPOET-2283]
2019-10-03 09:25:19 +01:00
Ján Mikláš
f2b01911f2 Inject HTML and CSS into WooCommerce settings page
[MAILPOET-2283]
2019-10-03 09:25:19 +01:00
Ján Mikláš
b22b81e63a Register hook to inject styles into WooCommerce settings page
[MAILPOET-2283]
2019-10-03 09:25:19 +01:00
Jan Jakeš
1b5b9d89ff Autofix namespace declaration spacing
[MAILPOET-2409]
2019-10-01 14:29:30 +01:00
Amine Ben hammou
5e5c744c3d Create WC transactional email
[MAILPOET-2280]
2019-09-22 10:34:06 +02: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
69e9b099d8 Prevent showing WC Customers UI to new WC website
[MAILPOET-2206]
2019-08-27 21:48:46 -04:00
Jan Jakeš
26babab9be Add WC() function to WooCommerce helper
[PREMIUM-121]
2019-07-23 12:22:19 -04:00
Jan Jakeš
574f10b029 Add background job to track historical WooCommerce revenues
[MAILPOET-1857]
2019-06-25 11:06:19 -04:00
Pavel Dohnal
5da7110eb6 Use short array syntax
[MAILPOET-2090]
2019-05-20 10:18:45 -04:00
Jan Jakeš
fc5fc01df3 Add WooCommerce revenues to computed statistics
[MAILPOET-1853]
2019-05-13 12:26:23 -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
Rostislav Wolny
29e2cebce3 Add getOrdersCount() to WooCommerce helper
[MAILPOET-1732]
2019-04-25 08:21:12 -04:00
Ján Mikláš
f81083e046 Add wc_get_product function to WC helper
[MAILPOET-1843]
2019-04-16 16:40:45 +02:00