W TRAKCIE Tabela w mailu i tło

Dyskusja w 'Zmiana wyglądu sklepu i edycja zaawansowana' rozpoczęta przez użytkownika wues, 25 Luty 2016.

  1. wues

    wues Pomocnik

    Wiadomości:
    120
    Docenione treści:
    4
    Witam! mam taki kod maila. Chciałbym żeby to wszystko wleciało w jedną tabele, obramówkę poza którą będzie szare tło. Jest ktoś w stanie pomóc?

    Kod:
    <p style="text-align: center;"><a href="http://www.iopen.pl" target="_blank"><img src="http://www.sklep.iopen.pl/public/assets/mail iopenpng1.png" width="*" height="*" style="display: block; margin-left: auto; margin-right: auto;" /></a></p>
    <p style="text-align: center;"></p>
    <p style="text-align: center;"><strong><span style="font-family: arial, helvetica, sans-serif; font-size: 14pt;">Dziękujemy za złożenie zamówienia.</span></strong></p>
    <hr />
    <p></p>
    <p style="text-align: left;"><span style="font-size: 12pt;"><strong><span style="font-family: arial, helvetica, sans-serif;">Witaj {bill_firstname}!</span></strong></span></p>
    <p style="text-align: left;"><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;">Abyśmy mogli dokończyć proces twojego zamówienia kliknij w link poniżej. {if confirmation}</span></p>
    <p style="text-align: left;"><span style="font-size: 10pt;">{link}</span></p>
    <hr />
    <p></p>
    <p style="text-align: left;"><span style="font-size: 12pt;"><strong><span style="font-family: arial, helvetica, sans-serif;">Pozycję do wysłania do {deliv_firstname} {deliv_lastname}.</span></strong></span></p>
    <table cellpadding="7" cellspacing="0" style="font-family: Tahoma; font-size: 12px; border-collapse: collapse;" width="774" height="239">
    <tbody>
    <tr style="background-color: #000000;">
    <td style="text-align: center; border: 1px solid #AAA;"><span style="font-family: arial, helvetica, sans-serif; color: white; font-size: 12pt;"><strong>nr. {order_id}</strong></span></td>
    <td style="text-align: center; border: 1px solid #AAA;"><span style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: white;"><strong>Nazwa produktu</strong></span></td>
    <td style="text-align: center; border: 1px solid #AAA;"><span style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: white;"><strong>Ilość</strong></span></td>
    <td style="text-align: center; border: 1px solid #AAA;"><span style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: white;"><strong>Cena {products}</strong></span></td>
    </tr>
    <tr>
    <td style="border: 1px solid #AAA;"><center><img src="{products.img}" width="110" height="110" /></center></td>
    <td style="border: 1px solid #AAA;"><span style="font-family: arial, helvetica, sans-serif; font-size: 12pt;">{products.name}</span><br /><span style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"> <em>{products.option}</em></span></td>
    <td style="text-align: center; border: 1px solid #AAA;"><span style="font-family: arial, helvetica, sans-serif; font-size: 12pt;">{products.quantity} {products.unit}</span></td>
    <td style="text-align: right; border: 1px solid #AAA;"><span style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"><strong>{products.amount}</strong>{/products}</span></td>
    </tr>
    <tr>
    <td colspan="3" style="text-align: right;"><span style="font-family: arial, helvetica, sans-serif; font-size: 12pt;">Dostawa - {shipping}</span></td>
    <td style="border: 1px solid #AAA; text-align: right;"><span style="font-family: arial, helvetica, sans-serif; font-size: 12pt;">{shipping_cost}</span></td>
    </tr>
    <tr>
    <td colspan="3" style="text-align: right;"><span style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"><strong>Całkowita wartość zamówienia:</strong></span></td>
    <td style="border: 1px solid #AAA; background-color: #000000; ; text-align: right; padding-top: 5px; padding-bottom: 5px;"><span style="font-size: 12pt; font-family: arial, helvetica, sans-serif; color: white;"><strong>{sum}</strong></span></td>
    </tr>
    </tbody>
    </table>
    <p><span style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"><strong>Odbiorca:</strong></span></p>
    <p><span style="font-size: 10pt; font-family: arial, helvetica, sans-serif;">{bill_company} {bill_firstname} {bill_lastname}<br />{bill_street_1} {bill_street_2}<br />{bill_postcode} {bill_city}<br />{bill_country}<br />{phone_1}<br />{bill_tax_id}</span></p>
    <hr />
    <p><strong><span style="font-family: arial, helvetica, sans-serif; font-size: 12pt;">Informację na temat wysyłki:</span></strong></p>
    <p><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;">Kwota do zapłaty: {sum}</span><br /><span style="font-family: arial, helvetica, sans-serif; font-size: 10pt;">Metoda płatności: {payment}</span></p>
    <p><span style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"><strong>Adres wysyłki:</strong></span></p>
    <p><span style="font-family: arial, helvetica, sans-serif;"><span style="font-size: 10pt;">{deliv_company} {deliv_firstname} {deliv_lastname}<br />{deliv_street_1} {deliv_street_2}<br />{deliv_postcode} {deliv_city}<br />{deliv_country}</span><span style="font-size: 14pt;"><strong><br /></strong></span></span></p>
     
    Last edited by a moderator: 25 Luty 2016
  2. TheL

    TheL @Lider VIP Beta-tester

    Wiadomości:
    2 403
    Docenione treści:
    535
    no daj to w
    Kod:
    <table><tr><td> treść </td></tr></table>
    
    i tak masz tam tabelki więc nie ma co używać stylu
    do table możesz dać jakiś wymagany width=
    a zewnętrznie powinno zadziałać
    Kod:
    <body style="background-color:#666666">
    
    chociaż tego ostatniego nie testowałem
     
    wues lubi to.
  3. wues

    wues Pomocnik

    Wiadomości:
    120
    Docenione treści:
    4
    W edytorze jest obramowanie natomiast na mailu nie widać tej tabeli tło jakby też nie działa
     

Poleć forum znajomym