I have modified my category page to show an item as sold when it sells. My category page is VERY modified. What I need is for the sold items to NOT show in their category page at all. I still want to keep them in the category just don't want them to show on the category page. Why? Well if someone clicks on the item in say Pinterest I still want them to go to that page because it shows my related products that they may decide to purchase.
Store Settings:
Global Sock Warning
I see in your code that there is {$product.available}, so if the edit does not work, either:
* CubeCart's internal cache was not cleared and a cached unedited template was used, or
* The parameter {$product.available} must be true-ish even though it is out of stock (can be made true-ish by overridding with an admin setting, or by a logged-in admin viewing the page).