Add custom directives for detail button and featured products