:: shop_items_overview[include]
	<<set _items to $wardrobe.shopItemList($shop_clothing_current.shopId,_mainfilters,$shop_clothing_current.baseprice)>>
	/*<<set _items to $wardrobe.filterItems(_items,objectFilter($wardrobeShopFilter,_filterFields))>>*/
	<<set _items to setup.filterDict(_items,objectFilter($wardrobeShopFilter,_filterFields))>>
	<<run console.log('Shop Items:',_items)>>
	<<set _freeMoney = $finances.available>>
	<<for _item range _items>>
		<<set _hideItem = false>>
		<<set _itemInhibMode = $wardrobe.wearbleInhibition(_item.id)>>
		<<capture _item>>
			<<set _styleClass = 'item linkedImage '>>
			<<if $wardrobe.has(_item.id)>>
				<<set _styleClass += 'owned '>>
				<<if !$wardrobe.filters.shop_owned>><<set _hideItem = true>><</if>>
			<</if>>
			<<if _freeMoney < _item.price>>
				<<set _styleClass += 'insufficientFunds '>>
				<<if !$wardrobeShopFilter.price.includes(2)>>
					<<set _hideItem = true>>
				<</if>>
			<<else>>
				<<if !$wardrobeShopFilter.price.includes(1)>>
					<<set _hideItem = true>>
				<</if>>
			<</if>>
			<<if $shop_clothing_current.type == 'clothes'>>
				<<switch _itemInhibMode>>
					<<case 2>>
						<<if !$wardrobeShopFilter.inhib.includes(0)>><<set _hideItem = true>><</if>>
					<<case 1>>
						<<if !$wardrobeShopFilter.inhib.includes(1)>><<set _hideItem = true>><</if>>
					<<default>>
						<<set _styleClass += 'inhibBlock '>>
						<<if !$wardrobeShopFilter.inhib.includes(2)>><<set _hideItem = true>><</if>>
				<</switch>>
			<</if>>

			<<if !_hideItem>>
				<div @class=_styleClass>
					<<image `$wardrobe.itemImage(_item.id)`>>
					<<link `_item.price.toLocaleString()+' ₽'`>>
						<<gt 'shop_item' `_item.id` `_item.price`>>
					<</link>>
				</div>
			<</if>>
		<</capture>>
	<</for>>