Create custom attribute source type magento

This tutorial explains how to create custom attribute source type in magento. Here I am creating an attribute and set the source type as categories in the product page.

This module creates a dropdown attribute and listed all the categories in the category section as the options.This dropdown options change dynamically based on the categories in the category section.

Add custom attribute dropdown (yes/no) magento

For adding a new custom attribute to the category page we need to create a module. In this tutorial I am explaining how to add a featured category custom attribute field to magento backend.
This field allows the client to select which category they want to display in the home page.