I want to build a script which only showes the most popular control in the sidebar is there are items in the shopping basket on the shopping basket page.
i have tried this.
Code: Select all
#if($Basket.Items.Count > 0)
[[ConLib:custom/PopularProductsDialog ThumbnailPosition="Left" Caption="Most Popular" UseIconImage="true"]]
#end
[[ConLib:custom/RecentlyViewed ThumbnailPosition="Left" Caption="Recently Viewed" UseIconImage="true"]]
Rob.