BrightOrange Theme (.related products display..)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Il y a 14 ans
Hi,

Currently in the brightOrange theme, the display of related products/also purchased products show 4 products of 2 and 2 on top of each other. Where can I change the display so that it will show 4 horizontally and not 2 and 2 on top of each other?

Thanks in advance.
Il y a 13 ans
Hello guys !

I have the same issue , can anyone help us ?

Thank's
Il y a 13 ans
The number of related items in a row isn't handled by the theme; it is specified by the RepeatColumns property of the DataList in Modules\RelatedProducts.ascx (line #9: version 1.70).

Change the underlined portion to RepeatColumns="4" to have four related products on a row:
<asp:DataList ID="dlRelatedProducts" runat="server" RepeatColumns="2" RepeatDirection="Horizontal"
        RepeatLayout="Table" OnItemDataBound="dlRelatedProducts_ItemDataBound" ItemStyle-CssClass="item-box">

Save the file and refresh the page. You may have to adjust the style rules to make additional items fit on a row.

.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.