Announcement

Collapse
No announcement yet.

Products in compact rows

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Products in compact rows

    Hi,

    I followed the instructions in 'Designing with Actinic Developper' for laying out products in compact rows by creating 'Act_ProductLineCompact.html' :
    NETQUOTEVAR:ENDSEPARATOR
    NETQUOTEVAR:PRODUCTFORMBEGIN
    <tr>
    <td colspan="3">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td width="250">NETQUOTEVAR:PRODUCTNAME</td>
    <td align="right" width="100">NETQUOTEVAR:PRODUCTPRICE</td>
    <td align="right">NETQUOTEVAR:PRODUCTQUANTITY</td>
    <td align="right">NETQUOTEVAR:ADDTOCARTBUTTON</td>
    </tr>
    </table>
    </td>
    </tr>
    NETQUOTEVAR:PRODUCTFORMEND
    NETQUOTEVAR:NEXT

    It is working, but now I'd like to add a very small picture after the product name, and use more width on the screen because the all thing takes 15 centimeters only.

    If someone can help! Thank you very much.

    #2
    Hi Fred,

    To insert Product image after Product name, just add NETQUOTEVAR:PRODUCTIMAGE. This is a sample code of your Act_ProductLine template.

    ------------------------------------8<--------------------------------
    NETQUOTEVAR:ENDSEPARATOR
    NETQUOTEVAR:PRODUCTFORMBEGIN
    <tr>
    <td>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td align="left" width="300">NETQUOTEVAR:PRODUCTNAME</td>
    <td align="left" width="100">NETQUOTEVAR:PRODUCTIMAGE</td>
    <td align="left" width="100">NETQUOTEVAR:PRODUCTPRICE</td>
    <td align="right" width="100">NETQUOTEVAR:PRODUCTQUANTITY</td>
    <td align="right" width="100">NETQUOTEVAR:ADDTOCARTBUTTON</td>
    </tr>
    </table>
    </td>
    </tr>
    NETQUOTEVAR:PRODUCTFORMEND
    NETQUOTEVAR:NEXT
    ------------------------------------>8--------------------------------
    Hope this helps.

    Cheers,
    Cheers,
    Suresh Babu G

    Comment


      #3
      Thank you very much

      Comment

      Working...
      X