Support » Plugin: PPOM for WooCommerce » Duplicate Fields Product Page

  • ResolvedPlugin Author N-Media

    (@nmedia)


    Hi,

    Thanks for loving our PPOM and we also try our best to make it better and better every day.

    Some clients are reporting that fields are duplicating in (variable) product pages. And Reason is below:

    Reason
    Some themes copy woocommerce template inside it and then they have some extra hooks in order to make it for their own need.

    Fixed in 12.6
    We have fixed this issue and we confirmed by many clients that it’s working fine.

    Reason 2
    Now some plugin like WC Subscription or may be other have also some hooks which conflict with PPOM fields and it renders twice.

    Solution
    So now we have added a filter ppom_remove_duplicate_fields with default value true. If due to some reason fields are showing twice you can use this filter and return value false.

    Use ppom_remove_duplicate_fields Filter (since 12.9.1)

        Open your theme’s functions.php
        In the bottom of your functions.php file add this code
        add_filter('ppom_remove_duplicate_fields', function($apply){ return false; }, 999);

    Thanks for using PPOM.

    • This topic was modified 1 year, 4 months ago by  N-Media.
  • The topic ‘Duplicate Fields Product Page’ is closed to new replies.