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:onGetProductFieldState event

Triggered by Shop_Product
Author LemonStand eCommerce Inc.

Event handler signature

public boolean event_onGetProductFieldState(string $db_name, string $field_value, Shop_Product $product)
$db_name string specifies the field name.
$field_value string specifies the field value.
$product Shop_Product specifies the product 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:onExtendProductForm event.