• how do you replace instead of custom_label_0 / store_code?
    I need it for the Google merchant feed

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Antonino Scarfì

    (@antoscarface)

    Hi,

    you can use this hook:

    
    add_filter('aepc_feed_item', function($fields, $item) {
    	
    	// Use key to re-call a parameter and give the value you want
    	$fields['g:store_code'] = $fields['g:custom_label_0'];
    	
    	// Use unset to remove a field if you need
    	unset($fields['g:custom_label_0']);
    	
    	return $fields;
    }, 10, 2);
    
    
Viewing 1 replies (of 1 total)

The topic ‘custom_label’ is closed to new replies.