Announcement

Collapse
No announcement yet.

Best Seller via Section

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

    #16
    Hi Lee
    My fault I did not read that you can only have one product per section.
    I was tying to use 5 products per section and that is why it is laying them out in a column.

    This is what I have done.

    I have used Norman code but change the section level to 2 instead as 1. As I am using in section level 2.

    I have selected 5 products using CV and it displays them column.

    I would like it to be in a row. I have attached a photo.

    Do you know of a way to make what I have done in to a row?


    Elliott
    Attached Files
    Elliott - Weybridge Lights

    www.weybridgelights.co.uk

    Comment


      #17
      I have worked it out but not sure it's the best way of doing it.


      Code:
      <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Section%22">
      		<table border="0">
        <tr>
      	<actinic:block if="%3cactinic%3avariable%20name%3d%22SectionLevel%22%20%2f%3e%20%3d%3d%202" >
      		<actinic:block type="ProductList"/>
      
      			<actinic:block if="%3cactinic%3avariable%20name%3d%22BestSellerForSection%22%20%2f%3e" >
      		
      			<td>
      				<actinic:variable name="BestSellerItem" value="Mini Best Seller Layout" />
      				</td>
      			
      			</actinic:block>
      		</actinic:block>
      	</actinic:block>
      	  </tr>
      </table>
      
      </actinic:block>
      Elliott
      Elliott - Weybridge Lights

      www.weybridgelights.co.uk

      Comment

      Working...
      X