This repository was archived by the owner on Feb 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Allowing 0% discount (no discount) for abandoned cart reminders #6
Open
vallka
wants to merge
2
commits into
PrestaShop:dev
Choose a base branch
from
vallka:dev
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,121 @@ | ||
|
|
||
| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd"> | ||
| <html> | ||
| <head> | ||
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" /> | ||
| <title>Message from {shop_name}</title> | ||
|
|
||
|
|
||
| <style> | ||
| /****** responsive ********/ | ||
| @media only screen and (max-width: 300px){ | ||
| body { | ||
| width:218px !important; | ||
| margin:auto !important; | ||
| } | ||
| .table {width:195px !important;margin:auto !important;} | ||
| .logo, .titleblock, .linkbelow, .box, .footer, .space_footer{width:auto !important;display: block !important;} | ||
| span.title{font-size:20px !important;line-height: 23px !important} | ||
| span.subtitle{font-size: 14px !important;line-height: 18px !important;padding-top:10px !important;display:block !important;} | ||
| td.box p{font-size: 12px !important;font-weight: bold !important;} | ||
| .table-recap table, .table-recap thead, .table-recap tbody, .table-recap th, .table-recap td, .table-recap tr { | ||
| display: block !important; | ||
| } | ||
| .table-recap{width: 200px!important;} | ||
| .table-recap tr td, .conf_body td{text-align:center !important;} | ||
| .address{display: block !important;margin-bottom: 10px !important;} | ||
| .space_address{display: none !important;} | ||
| } | ||
|
|
||
| @media only screen and (min-width: 301px) and (max-width: 500px) { | ||
| body {width:308px!important;margin:auto!important;} | ||
| .table {width:285px!important;margin:auto!important;} | ||
| .logo, .titleblock, .linkbelow, .box, .footer, .space_footer{width:auto!important;display: block!important;} | ||
| .table-recap table, .table-recap thead, .table-recap tbody, .table-recap th, .table-recap td, .table-recap tr { | ||
| display: block !important; | ||
| } | ||
| .table-recap{width: 293px !important;} | ||
| .table-recap tr td, .conf_body td{text-align:center !important;} | ||
|
|
||
| } | ||
|
|
||
| @media only screen and (min-width: 501px) and (max-width: 768px) { | ||
| body {width:478px!important;margin:auto!important;} | ||
| .table {width:450px!important;margin:auto!important;} | ||
| .logo, .titleblock, .linkbelow, .box, .footer, .space_footer{width:auto!important;display: block!important;} | ||
| } | ||
|
|
||
|
|
||
| /* Mobile */ | ||
|
|
||
| @media only screen and (max-device-width: 480px) { | ||
| body {width:308px!important;margin:auto!important;} | ||
| .table {width:285px;margin:auto!important;} | ||
| .logo, .titleblock, .linkbelow, .box, .footer, .space_footer{width:auto!important;display: block!important;} | ||
|
|
||
| .table-recap{width: 285px!important;} | ||
| .table-recap tr td, .conf_body td{text-align:center!important;} | ||
| .address{display: block !important;margin-bottom: 10px !important;} | ||
| .space_address{display: none !important;} | ||
| } | ||
| </style> | ||
|
|
||
| </head> | ||
| <body style="background-color:#fff;width:650px;font-family:Open-sans, sans-serif;color:#555454;font-size:13px;line-height:18px;margin:auto"> | ||
| <table class="table table-mail" style="width:100%;margin-top:10px;-moz-box-shadow:0 0 5px #afafaf;-webkit-box-shadow:0 0 5px #afafaf;-o-box-shadow:0 0 5px #afafaf;box-shadow:0 0 5px #afafaf;filter:progid:DXImageTransform.Microsoft.Shadow(color=#afafaf,Direction=134,Strength=5)"> | ||
| <tr> | ||
| <td class="space" style="width:20px;border:none;padding:7px 0"> </td> | ||
| <td align="center" style="border:none;padding:7px 0"> | ||
| <table class="table" style="width:100%;background-color:#fff"> | ||
| <tr> | ||
| <td align="center" class="logo" style="border-bottom:4px solid #333!important;border:none;padding:7px 0"> | ||
| <a title="{shop_name}" href="{shop_url}" style="color:#337ff1"> | ||
| <img src="{shop_logo}" alt="{shop_name}" /> | ||
| </a> | ||
| </td> | ||
| </tr> | ||
|
|
||
| <tr> | ||
| <td align="center" class="titleblock" style="border:none;padding:7px 0"> | ||
| <span class="title" style="font-weight:500;font-size:28px;text-transform:uppercase;line-height:33px">Hi {firstname} {lastname},</span> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td class="space_footer" style="padding:0!important;border:none"> </td> | ||
| </tr> | ||
| <tr> | ||
| <td class="box" style="background-color:#fbfbfb;border:1px solid #d6d4d4!important;padding:10px!important"> | ||
| <p data-html-only="1" style="margin:3px 0 7px;text-transform:uppercase;font-weight:500;font-size:18px;border-bottom:1px solid #d6d4d4!important;padding-bottom:10px"> | ||
| Your cart at {shop_name} </p> | ||
| <span style="color:#777"> | ||
| We noticed that during your last visit on {shop_name}, you did not complete the order you had started.<br /> <br /> | ||
| Your cart has been saved, you can resume your order by visiting our shop: <span style="color:#333"><strong><a title="{shop_name}" href="{shop_url}" style="color:#337ff1">{shop_url}</a></strong></span><br /><br /> | ||
| </span> | ||
| </td> | ||
| </tr> | ||
| <tr> | ||
| <td class="space_footer" style="padding:0!important;border:none"> </td> | ||
| </tr> | ||
| <tr> | ||
| <td class="box" style="background-color:#fbfbfb;border:1px solid #d6d4d4!important;padding:10px!important"> | ||
| <p style="margin:3px 0 7px;text-transform:uppercase;font-weight:500;font-size:18px;border-bottom:1px solid #d6d4d4!important;padding-bottom:10px"> | ||
| Your {shop_name} login details </p> | ||
| </td> | ||
| </tr> | ||
|
|
||
| <tr> | ||
| <td class="space_footer" style="padding:0!important;border:none"> </td> | ||
| </tr> | ||
| <tr> | ||
| <td class="footer" style="border-top:4px solid #333!important;border:none;padding:7px 0"> | ||
| <span><a href="{shop_url}" style="color:#337ff1">{shop_name}</a> powered by <a href="http://www.prestashop.com/" style="color:#337ff1">PrestaShop™</a></span> | ||
| </td> | ||
| </tr> | ||
| </table> | ||
| </td> | ||
| <td class="space" style="width:20px;border:none;padding:7px 0"> </td> | ||
| </tr> | ||
| </table> | ||
| </body> | ||
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
|
|
||
| [{shop_url}] | ||
|
|
||
| Hi {firstname} {lastname}, | ||
|
|
||
| We noticed that during your last visit on {shop_name}, you did not | ||
| complete the order you had started. | ||
|
|
||
| Your cart has been saved, you can resume your order by visiting our | ||
| shop: {shop_name} [{shop_url}] | ||
|
|
||
| Your {shop_name} login details | ||
|
|
||
| {shop_name} [{shop_url}] powered by | ||
| PrestaShop(tm) [http://www.prestashop.com/] | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove commented line ;)