AdTribes Team
Member since January 2025
How To Allow Shop Manager to Manage Feeds?
#-- Allow Shop Manager to Access Product Feed Menus --# function allow_feed_menus_to_shop_manager( $capability ) { if…
Custom Availability Date for Products
/** * Availability Date Functionality * * Adds a custom availability date field to WooCommerce products…
Unified Product ID for Facebook Feed || WPML || PFE
function adt_wpml_unified_product_id( $product_data, $feed, $product ) { // Only run for Facebook dynamic remarketing feed if(…
Add Unified Product SKU with ID for Facebook Feed || WPML || PFE
function adt_wpml_unified_product_sku_id( $product_data, $feed, $product ) { // Check if the feed is for Facebook dynamic…
Add Custom Attributes and Group Them
// Step 1: Add your custom attribute(s) to a named group function add_custom_grouped_attributes( $attributes ) {…
Feed Generation Cron Script
This file will be used to run via cron and update feed based on the ID
Custom Separator for Data Manipulation
The Data Manipulation default separator is a space. You can change this to a custom separator…
Force localized currency for product feeds
This allows you to change the ISO 4217 for all the product feeds
Remove ISO 4217 Format for specific feeds
//Google Feeds add_filter('adt_pfp_localize_price_iso4217_feeds', function($feeds) { // Remove all Google feeds from ISO4217 formatting return array_filter($feeds, function($feed)…
Remove ISO 4217 for Google Feeds
// Force localization for all feeds add_filter('adt_product_feed_localize_price_args', function($args) { $args['decimal_separator'] = '.'; $args['thousand_separator'] = ','; return…