Adds hidden attribute handling to detail and basket page