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).