{* variables: showtoolbar catalog_view per_row *} {if isset($showtoolbar) && $showtoolbar == 1}
{else} {if !isset($catalog_view)} {$catalog_view = 'grid'} {/if} {/if} {$favList = waRequest::cookie('shop_favorites')} {assign var=favList value=","|explode:$favList} {$skus = $wa->shop->skus(array_keys($products))} {*$images = $wa->shop->images(array_keys($products))*} {* Availability *} {assign var=availability value=[ 'yes' => "[`In stock`]", "no" => "[`Out of stock`]", "preorder" => "[`Pre-order only`]", "unavailable" => "[`Unavailable`]" ]} {if $catalog_view == 'grid' || $catalog_view == 'slider'} {if !(isset($per_row) && $per_row) && (isset($theme_settings.catalog_products_per_row) && $theme_settings.catalog_products_per_row)} {$per_row = $theme_settings.catalog_products_per_row} {else} {$per_row = 4} {/if} {if $theme_settings.catalog_larger_images} {$larger_images = "larger_images"} {else} {$larger_images = ""} {/if}