WC Vendors – Show the “AI” overlay on the product image

// Add an “AI used” checkbox to the vendor’s own product edit form, after Tax Class (General tab) add_action( ‘wcv_product_options_tax’, function( $post_id ) { \WC_Vendors\Classes\Front\WCV_Form_Helper::input( array( ‘id’ => ‘_wcv_ai_generated’, ‘post_id’ => $post_id, ‘type’ => ‘checkbox’, ‘label’ => __( ‘This product…Continue reading

[TEMP BUG FIX] Meta for WooCommerce WC 11 Save Bridge

function rd_register_meta_woocommerce_11_save_bridge() { if ( ! defined( ‘WC_VERSION’ ) || ‘11.1.2’ !== WC_VERSION || ! function_exists( ‘facebook_for_woocommerce’ ) ) { return; } add_action( ‘woocommerce_admin_process_product_object’, ‘rd_schedule_meta_product_sync_on_wc_11’, 40 ); } add_action( ‘plugins_loaded’, ‘rd_register_meta_woocommerce_11_save_bridge’, 20 ); function rd_schedule_meta_product_sync_on_wc_11( $product ) { if (…Continue reading