Commit Graph

28 Commits

Author SHA1 Message Date
Jan Lysý
1a80227b03 Fix button width when parent column is smaller
[MAILPOET-5732]
2024-08-05 14:09:31 +02:00
Jan Lysý
61e596e9d2 Fix width of button wrapping table
[MAILPOET-5732]
2024-08-05 14:09:31 +02:00
Jan Lysý
557e73e4cc Wrap email button to table for compatibility with Outlook 2023
[MAILPOET-5732]
2024-08-05 14:09:31 +02:00
Jan Jakes
4c44403f6c Fix checking whether an email should contain an abandoned cart block
The problem with the current conditions is that when any of these options doesn't
exist at all, the condition will not pass (= it will render the block, but it shouldn't).

[MAILPOET-5999]
2024-04-08 12:27:53 +02:00
Mike Jolley
435f638011 Apply rules on lib dir 2024-03-21 16:57:59 +01:00
Jan Lysý
525c80bac4 Fix PHPStan warnings in lib
[MAILPOET-5751]
2023-12-13 11:48:14 +01:00
Jan Jakes
b05bc86223 Remove usages of MailPoet\Tasks\Sending from renderer
[MAILPOET-4375]
2023-11-02 12:53:36 +01:00
John Oleksowicz
dae1cb19a8 Use toString instead of html
The content saved to the database already encodes content that needs
encoding, e.g. <script> tags. The problem with pQuery's `html` method is
 it decodes everything. By using toString instead, we should be getting
 the same contents that were saved to the database.

MAILPOET-5632
2023-10-18 14:40:32 +02:00
David Remer
6d8095d8b5 Render AbandonedCart in transactional and automation emails
[MAILPOET-4934]
2023-05-15 08:19:19 +02:00
 Ján Mikláš
63be8969f3 Improve strings based on translators' feedback
[MAILPOET-5201]
2023-04-10 13:03:18 +02:00
Sam Najian
6a1e734633 Fix WooCommerce wording
[MAILPOET-5098]
2023-03-02 11:30:38 +01:00
Sam Najian
c84a6894ba Throw and log the issue if coupon was not found when rendering
[MAILPOET-4983]
2023-03-01 17:46:22 +01:00
Jan Lysý
83b14013ec Add coupon block unit test
[MAILPOET-4984]
2023-02-01 11:21:49 +01:00
Jan Lysý
cd9904de7d Fix using code instead of couponCode read by id
[MAILPOET-4984]
2023-02-01 11:21:49 +01:00
Jan Lysý
1730578a23 Use coupon id instead of text
[MAILPOET-4761]
2023-01-30 09:36:21 +01:00
Sam Najian
e4c9d037b1 Add missing strict_types to Coupon.php
[MAILPOET-4678]
2023-01-23 13:31:34 +01:00
Sam Najian
31201eb3cc Generate coupon code for each coupon block missing the code
[MAILPOET-4678]
2023-01-23 13:31:34 +01:00
Sam Najian
bb7775f87b Render Coupon block in email body
[MAILPOET-4678]
2023-01-23 13:31:34 +01:00
Jan Jakes
926620e8f8 Ignore strict types rule in all existing files that don't have it
[MAILPOET-2688]
2022-11-29 15:04:09 +01:00
Jan Lysý
8d095886d4 Remove old model constant
[MAILPOET-4141]
2022-06-20 12:00:47 +02:00
Sam
bcae8ade3f Revert "Revert "Restrict dynamic blocks to public post status only""
This reverts commit 79991ae462.
2022-04-18 11:43:47 +02:00
Sam
c32dc0a372 Revert "Revert "Define BlockPostQuery for nicer args processing for quering""
This reverts commit 62e393a76d.
2022-04-18 11:43:47 +02:00
Rodrigo Primo
62e393a76d Revert "Define BlockPostQuery for nicer args processing for quering"
This reverts commit 5b40a585e7.
2022-04-11 16:30:59 -03:00
Rodrigo Primo
79991ae462 Revert "Restrict dynamic blocks to public post status only"
This reverts commit 72b3172c1a.
2022-04-11 16:30:59 -03:00
Sam Najian
72b3172c1a Restrict dynamic blocks to public post status only
[MAILPOET-4082]
2022-04-11 14:54:56 -03:00
Sam Najian
5b40a585e7 Define BlockPostQuery for nicer args processing for quering
[MAILPOET-4082]
2022-04-11 14:54:56 -03:00
Oluwaseun Olorunsola
8a3493ce4e Fix Division by zero Error in Newsletter button
[MAILPOET-4193]
2022-03-28 08:58:52 +02:00
Jan Jakes
9f790efbf0 Move plugin files to a subfolder
[MAILPOET-3988]
2022-01-18 15:30:22 +01:00