Advanced Development Solutions Home
Advanced Development Solutions Home
Advanced Development Solutions Home

Description / Features
Read Me First
Installation / Upgrade
Global Configuration
Template Layouts
FAQ
     

Attribute Master Module Help for MIVA Merchant v5

Module Template Layouts Explained

This module automatically modifies your currently used Product Display Layout, PATR Missing Product Attributes Page, OUS1 Checkout: Upsell Product (Single) Page and UATR Upsell: Missing Product Attributes (Single) Page templates, when it is first installed and configured. This page contains a copy the modified Merchant Original templates and comments that will assist you with making adjustments, to the actual templates, beyond the control this module provides using the menu-driven controls. HTML and template scripting knowledge is required to make template modifications. If you do not have these skills it is recommended you contact ADS representative to get assistance with template design and customization.

Product Display Layout Sample Template:
(ADS Attribute Master items and variables are shown and explained below in red.)

<mvt:if expr="l.settings:product:weight NE 0">
Shipping Weight: <b>&mvt:product:weight;</b> &mvt:store:wtunits;<br>
</mvt:if>
<mvt:if expr="l.settings:product:inv_active">
&mvt:product:inv_long;
</mvt:if>
</mvt:item>
</td></tr>
<form method="post" action="&mvt:global:sessionurl;">
<input type="hidden" name="Action" value="ADPR">
<input type="hidden" name="Screen" value="PROD">
<input type="hidden" name="Store_Code" value="&mvte:store:code;">
<input type="hidden" name="Product_Code" value="&mvte:product:code;">
<input type="hidden" name="Category_Code" value="&mvt:global:category_code;">
<tr><td>&nbsp;</td></tr>
<tr><td align="left" valign="top">
<mvt:item name="product_attributes" param="product:id" /><!-- Original Product Attributes Item Removed by this module-->
<table border=0 cellspacing=0 cellpadding=2><!-- Outer Table for Attribute Display - Row and Cell tags are automatically generated by the module-->
<mvt:item name="ads-attrmaster" param="product:id" />
<!-- Replacement Product Attributes Item created by this module -->
</table
>
</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td align="left" valign="middle">
<mvt:item name="fonts" param="body_font">
Quantity:
<input type="text" name="Quantity" value=1 size=4>
<mvt:item name="buttons" param="AddToBasket" />
</mvt:item>
</td></tr>
</form>
<tr><td align="left" valign="middle" colspan="2">&nbsp;</td></tr>
<tr><td align="left" valign="middle" colspan="2">
<mvt:item name="fonts" param="body_font">
&mvt:product:descrip;
</mvt:item>
</td></tr>
</table>


PATR Missing Product Attributes Sample Page Template:
(ADS Attribute Master items and variables are shown and explained below in red.)

<html>
<head>
<title>&mvt:store:name;: Missing Product Attributes</title>
<base href="&mvt:global:basehref;">
<mvt:item name="head" />
</head>

<mvt:item name="body">
<mvt:item name="hdft" param="global_header" />

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td align="left" valign="bottom" colspan=2 >
<mvt:item name="navbar" />
</td></tr>

<tr><td align="left" valign="bottom">
<mvt:item name="hdft" param="header" />
</td></tr>

<tr><td align="left" valign="top" bgcolor="&mvt:colors:ctgy_bg;">
<table border="0" cellpadding="10" cellspacing="0">
<tr><td align="left" valign="top" nowrap>
<mvt:item name="fonts" param="ctgy_font">
<mvt:item name="customerlink" />
<mvt:item name="affiliatelink" />
<mvt:item name="category_tree" />
</mvt:item>
</td></tr>
</table>
</td><td align="left" valign="top" width="80%">
<br>
<blockquote>
<mvt:item name="fonts" param="body_font">
Attributes in <b>bold</b> are required.

<form method="post" action="&mvt:global:secure_sessionurl;">
<input type="hidden" name="Screen" value="&mvte:global:Screen;">
<input type="hidden" name="Action" value="&mvte:global:Action;">
<input type="hidden" name="Store_Code" value="&mvte:store:code;">
<input type="hidden" name="Category_Code" value="&mvte:global:Category_Code;">
<input type="hidden" name="Product_Code" value="&mvte:global:Product_Code;">
<input type="hidden" name="Current_Product_Code" value="&mvte:global:Current_Product_Code;">
<input type="hidden" name="Quantity" value="&mvte:global:Quantity;">
<input type="hidden" name="Offset" value="&mvte:global:Offset;">
<input type="hidden" name="Search" value="&mvte:global:Search;">

<mvt:item name="product_attributes" param="product:id" /><!-- Original Product Attributes Item Removed by this module-->
<table border=0 cellspacing=0 cellpadding=2><!-- Outer Table for Attribute Display - Row and Cell tags are automatically generated by the module-->
<mvt:item name="ads-attrmaster" param="product:id" />
<!-- Replacement Product Attributes Item created by this module -->
</table
>

<mvt:item name="buttons" param="Continue" />
</form>

</mvt:item>
</blockquote>
</td></tr>

<tr><td align="left" valign="bottom">
<mvt:item name="hdft" param="footer" />
</td></tr>
</table>

<mvt:item name="hdft" param="global_footer" />
</mvt:item>
</html>


OUS1 Checkout: Upsell Product (Single) Sample Page Template:
(ADS Attribute Master items and variables are shown and explained below in red.)

<html>
<head>
<title>&mvt:store:name;: Checkout: Special Offer</title>
<base href="&mvt:global:basehref;">
<mvt:item name="head" />
</head>

<mvt:item name="body">
<mvt:item name="hdft" param="global_header" />

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td align="left" valign="bottom">
<mvt:item name="navbar" />
</td></tr>

<tr><td align="left" valign="bottom">
<mvt:item name="hdft" param="header" />
</td></tr>

<tr><td align="left" valign="top" width="80%">
<br>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td align="left" valign="middle" colspan=3>
<mvt:item name="fonts" param="hdr_font">
<b>Special Offer:</b> &mvt:upsale:name;
</mvt:item>
</td></tr>

<tr><td align="left" valign="middle" colspan=3>
<mvt:item name="fonts" param="body_font">
<b>Save &mvt:upsale:formatted_upsell_savings;</b>
</mvt:item>
</td></tr>

<tr><td align="left" valign="middle" colspan=3>
<mvt:item name="fonts" param="body_font">
Offer valid for this order only
</mvt:item>
</td></tr>

<tr><td align="left" valign="middle" colspan=3>
&nbsp;
</td></tr>

<tr><td align="center" valign="middle" rowspan=5>
<mvt:if expr="NOT ISNULL l.settings:upsale:image">
<img src="&mvte:upsale:image;">
<mvt:else>
&nbsp;
</mvt:if>
</td><td align="left" valign="top" nowrap colspan=2>
<mvt:item name="fonts" param="body_font">
Code: <b>&mvt:upsale:code;</b><br>
Regular Price: <b>&mvt:upsale:formatted_price;</b><br>
Special Price: <b>&mvt:upsale:formatted_upsell_price;</b><br>
You Save: <b>&mvt:upsale:formatted_upsell_savings;</b><br>
Shipping Weight: <b>&mvt:upsale:weight;</b> &mvt:store:wtunits;<br>
</mvt:item>
</td></tr>

<form method="post" action="&mvt:global:secure_sessionurl;">
<input type="hidden" name="Action" value="AUPR">
<input type="hidden" name="Screen" value="OSEL">
<input type="hidden" name="Store_Code" value="&mvte:global:Store_Code;">
<input type="hidden" name="Product_Code" value="&mvte:upsale:code;">
<mvt:item name="tax" />

<tr><td colspan=2>
&nbsp;
</td></tr>

<tr><td align="left" valign="top" colspan=2>
<mvt:item name="product_attributes" param="upsale:id" /><!-- Original Product Attributes Item Removed by this module-->
<table border=0 cellspacing=0 cellpadding=2><!-- Outer Table for Attribute Display - Row and Cell tags are automatically generated by the module-->
<mvt:item name="ads-attrmaster" param="upsale:id" />
<!-- Replacement Product Attributes Item created by this module -->
</table
>
</td></tr>

<tr><td colspan=2>
&nbsp;
</td></tr>

<tr><td align="left" valign="middle">
<mvt:item name="fonts" param="body_font">
<mvt:item name="buttons" param="Add1ToOrder" />
</mvt:item>
</td>
</form>

<form method="post" action="&mvt:global:secure_sessionurl;">
<input type="hidden" name="Screen" value="OSEL">
<input type="hidden" name="Store_Code" value="&mvte:store:code;">
<mvt:item name="tax" />

<td align="left" valign="middle">
<mvt:item name="fonts" param="body_font">
<mvt:item name="buttons" param="DoNotAddToOrder" />
</mvt:item>
</td>
</form>
</tr>

<tr><td align="left" valign="middle" colspan=3>
&nbsp;
</td></tr>

<tr><td align="left" valign="middle" colspan=3>
<mvt:item name="fonts" param="body_font">
&mvt:upsale:desc;
</mvt:item>
</td></tr>
</table>
</td></tr>

<tr><td align="left" valign="bottom">
<mvt:item name="hdft" param="footer" />
</td></tr>
</table>

<mvt:item name="hdft" param="global_footer" />
</mvt:item>
</html>


UATR Upsell: Missing Product Attributes (Single) Sample Template:
(ADS Attribute Master items and variables are shown and explained below in red.)

<html>
<head>
<title>&mvt:store:name;: Missing Product Attributes</title>
<base href="&mvt:global:basehref;">
<mvt:item name="head" />
</head>

<mvt:item name="body">
<mvt:item name="hdft" param="global_header" />

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td align="left" valign="bottom">
<mvt:item name="navbar" />
</td></tr>

<tr><td align="left" valign="bottom">
<mvt:item name="hdft" param="header" />
</td></tr>

<tr><td align="left" valign="top" width="80%">
<br>

<mvt:item name="fonts" param="hdr_font">
<b>Special Offer:</b> &mvt:product:name;
</mvt:item>

<br>

<mvt:item name="fonts" param="body_font">
Attributes in <B>bold</B> are required.
</mvt:item>

<form method="post" action="&mvt:global:secure_sessionurl;">
<input type="hidden" name="Screen" value="&mvte:global:Screen;">
<input type="hidden" name="Action" value="&mvte:global:Action;">
<input type="hidden" name="Store_Code" value="&mvte:store:code;">
<input type="hidden" name="Product_Code" value="&mvte:product:code;">
<mvt:item name="tax" />

<mvt:item name="product_attributes" /><!-- Original Product Attributes Item Removed by this module-->
<table border=0 cellspacing=0 cellpadding=2><!-- Outer Table for Attribute Display - Row and Cell tags are automatically generated by the module-->
<mvt:item name="ads-attrmaster" />
<!-- Replacement Product Attributes Item created by this module -->
</table
>
<br>

<mvt:item name="fonts" param="body_font">
<mvt:item name="buttons" param="Continue" />
</mvt:item>
</form>
</td></tr>

<tr><td align="left" valign="bottom">
<mvt:item name="hdft" param="footer" />
</td></tr>
</table>

<mvt:item name="hdft" param="global_footer" />
</mvt:item>
</html>


"architects of the web since 1998"
Learn more about our services

Build Your Business Online!

SERVICES | CONTACT US | HOME