added the link back for custom fields
updated the product count system for the categories