# Preparations - make api tab working
# In the affiliate_plans_config.php uncomment 'api' in the 'SubItems' array.
# In the affiliate_plans_config.php uncomment 'items' in the 'EditTabPresets' array.
# Fix affilite_plans_items.tpl - add pagination_prefix="api" parameter to the RenderElement name="combined_header" tag.
# Testing di unit changes
# login to the adm. console
# go to the {nav E-commerce > Discounts & Certificates} section
# use adm.console interface in the current section to create new discount record, with some sub-records on the Items tab
# confirn that records are created on the Items tab
# go to the {nav Logs & Reports > System Log} section
# confirm that no record with warning 'Field "Name" is not defined in "di" unit config' appeared in the System Log
# confirm that no record with notice 'Undefined index: Name' appeared in the System Log
# Testing api unit changes
# login to the adm. console
# go to the {nav E-commerce > Affiliates} sectionm go to 'Affiliate Plans' tab
# use adm.console interface in the current section to create new affiliate plan record, with some sub-records on the Items tab
# confirn that records are created on the Items tab
# go to the {nav Logs & Reports > System Log} section
# confirm that no record with warning 'Field "Name" is not defined in "api" unit config' appeared in the System Log
# confirm that no record with notice 'Undefined index: Name' appeared in the System Log