Reply To: Product Specific Category Feeds

Home Support Reply To: Product Specific Category Feeds

#1659
Mishu
Keymaster

seems you can add another array for

$feed_fields[‘all_products’] = array(
‘label’ => __( ‘Products’, ‘woogool’ ),
‘type’ => ‘checkbox’,
‘desc’ => __( ‘Enable all products feed’, ‘woogool’ ),
‘fields’ => array(
array(
‘label’ => __( ‘All’, ‘woogool’ ),
‘value’ => ‘on’,
‘checked’ => get_post_meta( $feed_id, ‘_all_products’, true ),
‘class’ => ‘woogool-all-product-checkbox-feed woogool-field’,
),
),
);

For specific product categories.