Extensions related products
Below you see an overview of the extensions with a link which are used for the related products. Below the overview you see an example code.
Example code
<div id="myshp_basket_related" style="myshop-block:related-products">
<div id="myshp_basket_related_header">
<h4 class="myshp_basket_related_title" style="myshop-style-color:{$color(3)};">Related Products</h4>
</div>
<table border="0" cellspacing="0" cellpadding="0" width="100%" style="myshop-block:productlist">
<tr style="myshop-block:product">
<td valign="top" class="myshp_basket_related_product_row>
<div class="myshp_basket_related_product_image">
<img src="myshop-product:image;" height="myshop-product:image-height" width="myshop-product:image-width" alt="myshop-product:title"/>
</div>
<div class="myshp_basket_related_product_details">
<div class="myshp_basket_related_product_title" style="myshop-product:title;"> </div>
<div class="myshp_basket_related_product_description" style="myshop-product:description-short;"> </div>
</div>
<div class="myshp_basket_related_features">
<div style="myshop-repeat:product-features">
<span class="myshp_basket_related_label" style="myshop-feature:label;"> </span>
<div style="myshop-not-is:feature-price">
<span class="myshp_basket_related_field" style="myshop-feature:value;"> </span>
</div>
<div style="myshop-is:feature-price">
<b>
<span class="myshp_basket_related_field" style="myshop-feature:value;"> </span>
</b>
</div>
</div>
<div class="myshp_control_buttons">
<div style="myshop-is:in-stock">
<div style="myshop-has:control-quantity">
<span class="myshp_basket_related_label" style="myshop-control-label:quantity"> </span>
<div class="myshp_basket_related_field">
<input style="myshop-control:quantity" size="10" class="myshp_basket_related_field"/>
<span style="myshop-control-label:quantity-metric"> </span>
</div>
</div>
</div>
<a class="myshp_basket_related_moreinfo" style="myshop-action:moreinfo;">more info</a>
<div style="myshop-is:in-stock">
<a href="#" class="myshp_button icon_align_left icon_image_shopping_cart" style="myshop-action:order">
<span class="btn_bg_left"> </span>
<span class="btn_bg_center">
<span class="btn_icon"> </span>
<span class="btn_text">Pedir</span>
</span>
<span class="btn_bg_right"> </span>
</a>
</div>
</div>
</div>
</td>
</tr>
</table>
</div>
Post your comment on this topic.