__('A list or dropdown of store categories'))); } function widget($args, $options) { global $Shopp; extract($args); $title = $before_title.$options['title'].$after_title; unset($options['title']); if (empty($Shopp->Category->id)) return false; $menu = $Shopp->Category->tag('section-list',$options); echo $before_widget.$title.$menu.$after_widget; } function update($new_instance, $old_instance) { return $new_instance; } function form($options) { global $Shopp; ?>

/>
/>
/>

Settings->get('section_widget_options'); $title = $before_title.$options['title'].$after_title; unset($options['title']); if (!isset($Shopp->Category->parent) || $Shopp->Category->parent == 0) return false; $menu = $Shopp->Category->tag('section-list',$options); echo $before_widget.$title.$menu.$after_widget; } function form ($args=null) { global $Shopp; if (isset($_POST['section_widget_options'])) { $options = $_POST['shopp_section_options']; $Shopp->Settings->save('section_widget_options',$options); } $options = $Shopp->Settings->get('section_widget_options'); echo '

'; echo '

'; echo '
'; echo '
'; echo '
'; echo '

'; echo '

'; echo '
'; } }