This is the API docs for LemonStand V1, which has been discontinued. LemonStand is now a cloud based platform, available at lemonstand.com.

LemonStand API

shop:onGetCategoryFieldState event

Triggered by Shop_Category
Author LemonStand eCommerce Inc.

Event handler signature

public boolean event_onGetCategoryFieldState(string $db_name, string $field_value, Shop_Category $category)
$db_name string specifies the field name.
$field_value string specifies the field value.
$category Shop_Category specifies the category object
{return} boolean returns TRUE if the field is checked. Returns FALSE otherwise.
Determines whether a custom radio button or checkbox list option is checked. This event should be handled if you added custom radio-button and or checkbox list fields with shop:onExtendCategoryForm event.