• Resolved pnuggz

    (@pnuggz)


    Hi,

    I am currently in the process of implementing the PPOM select fields to my products, however I am having an issue where the the select fields are duplicated after the page has loaded. I have tried the existing fix, adding “add_filter(‘ppom_remove_duplicate_fields’, function($apply){ return false; }, 999);” to the bottom of my theme functions.php, but to no avail.

    Could you please help/advise a solution.

    Let me know if you require any other information.

    Many thanks,
    Ryan

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter pnuggz

    (@pnuggz)

    I’ve resorted to using a radio input instead, which works fine. However if you have any idea as to the cause of this issue and a fix, that would be much appreciated.

    EDIT: I tried adding other type of fields (text input or textarea input) and it is having the same issues. This is a major problem as I cannot substitute these fields for a radio input. Your help would be greatly appreciated.

    Thank you.

    • This reply was modified 5 years, 5 months ago by pnuggz.
    Thread Starter pnuggz

    (@pnuggz)

    Another update, for the time being I’ve resorted to writing a javascript script that loops through all the PPOM fields and removes any input fields that have a different id to the required wrapping id. It works for the moment because when submitted to cart, it assigns the correct values and amount.

    However once again, if you have a proper fix that doesn’t rely on a fix after the fact, that would be great.

    Thanks for your time.

    Hi @pnuggz,

    we have shared details on this issue here: https://www.ads-software.com/support/topic/duplicate-fields-product-page/

    it’s because of outdated theme’s templates for WooCommerce.

    Thread Starter pnuggz

    (@pnuggz)

    Hi, thank you very much for your response. As I mentioned in my first post, I have already tried this method and did not achieve the fix required. Would you be able to explain in a bit more detail what script would be causing this issue so I can look into it further?

    Once again, thank you for your help and time.

    Ok I see, you are facing an issue when use select option (with %) + WC variations? right?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PPOM Fields Duplicated (Tried Existing Fix)’ is closed to new replies.