addition of success message

This commit is contained in:
Marion Muszynski 2016-10-21 11:57:17 +02:00
parent e2a4385a5e
commit 6f00da4000
3 changed files with 11 additions and 0 deletions

View File

@ -12,6 +12,15 @@
box-shadow: 2px 2px 5px #CCC;
text-align: center;
}
#module-ant_changeaddress-change_address #center_column p.info-success{
text-align: center;
line-height: 30px;
font-size: 16px;
margin-bottom: 10px;
background: #99D288;
color: #fff;
opacity: 0.9;
}
#module-ant_changeaddress-change_address #center_column form p.info{
font-size: 14px;
color: #514c8c;

View File

@ -111,6 +111,7 @@ if ($cookie->isLogged()) {
prid = "'.pSQL(Tools::getValue('prid', '')).'"
WHERE id_cart = '.pSQL(intval(Tools::getValue('id_cart'))));
}
$smarty->assign(array('confirmation' => 1));
}
}
} else {

View File

@ -5,6 +5,7 @@
<h1>{l s='Change your delivery address for this order' mod='ant_changeaddress'}</h1>
{if $current_address}
{if isset($confirmation)}<p class="info-success">{l s='Your delivery address has been updated' mod='ant_changeaddress'}</p>{/if}
<form action="{$request_uri|escape:'htmlall':'UTF-8'}" class="std" method="post">
<fieldset>
<h3>{$mode[$cookie->id_lang]}</h3>