PDA

View Full Version : Bug Fix : Hot Picks Display : 05/04/07


digitalwindow
05-04-07, 16:39
Hi All,

Following the display errors of Hot Picks within your websites (when more than 3 are specified to display), we have made changes to the Client Software.

You can now download the latest version with the bug fixes, or make the necessary changes within your currentClient Software using the code below.

================================================== ================================================== =============================================

CSS Files

Line 260 within each CSS file within \templates\template_xx_xxxx\css of each template directory the code reads as follows:

.sw_hotpicks img {
float: left;
margin-right: 10px;
border: 1px solid #c0d0d9;
}

Please replace this with the following code:

.sw_hotpicks span {
float: left;
width: 100px;
height: 100px;
}

.sw_hotpicks img {
margin-right: 10px;
border: 1px solid #c0d0d9;
}

================================================== ================================================== ==============================================

Please note that the colour code #c0d0d9 in this code will vary within each template (as each template has a different colour and design). Therefore, please ensure that when you make this update within your current Client Software, you change the colour code accordingly.

================================================== ================================================== ==============================================

hot_picks.tpl

Lines 12 - 14 hot_picks.tpl file within templates\template_xx_xxxx\elements\ of each templates directory the code reads as follows:

<a href="{$oProduct->sProductLink}"><img src="{$oProduct->sProductImageUrl|default:$noImage}" /></a>

<a href="{$oProduct->sProductLink}"><h3>{$oProduct->sProductName}</h3></a>

Please replace this with the following code:

<span><a href="{$oProduct->sProductLink}"><img src="{$oProduct->sProductImageUrl|default:$noImage}" /></a></span>

<ahref="{$oProduct->sProductLink}"><h3>{$oProduct->sProductName|truncate:#productNameMax#}</h3></a>


================================================== ================================================== ===============================================

Please do not merge versions of Client Software. This will create errors in your code and may cause your Shop to break.

Regards

Amo

http://www.affiliatewindow.com/images/email_sig.gif

Amarath Singh Sokhi
ShopWindow Integration Manager
Digital Window Ltd

amarath.sokhi@digitalwindow.com (amarath.sokhi@digitalwindow.com)
Tel: 020 8269 4853
www.digitalwindow.com