Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #4310890
Compatability with Advanced Product Fields Pro for WooCommerce
Open

Comments

  • Stefan started the conversation

    Hi there,

    I want to add a custom product field with the 'Advanced Product Fields Pro for WooCommerce' plugin to a smart product bundle created with your 'WPC Product Bundles for WooCommerce (Premium)' plugin, but after adding the custom field and saving the product, the custom field is gone. 

    Are the two plugins not compatible? I just bought Premium since I thought to read that this would fix the problem, but it looks like it didn't.

    Like to hear.

    Stefan

  •  1,513
    Dustin replied

    Hi Stefan,

    I'm so sorry for the late reply!

    Are you talking about the Pro version of this plugin https://wordpress.org/plugins/advanced-product-fields-for-woocommerce/

    Please add the custom code below. (How to add custom code? ↗):

    add_filter( 'wapf/admin/allowed_product_types', function ( $types ) {
    	// allowed WPC plugins
    	$types[] = 'woosg';
    	$types[] = 'woosb';
    	$types[] = 'wooco';
    	$types[] = 'composite';
    
    	return $types;
    } );

    If it still doesn't work, please send me your website credentials (wp-admin link, username, and password) or create a dev/staging site with identical configurations so I can check for any issues.

    Best regards,
    Dustin

  • Stefan replied

    Hi Dustin,

    No problem. This worked! Thanks :)

    Regards,

    Stefan