• Resolved castlebuilder

    (@castlebuilder)


    The information entered in the Product Input Field is not being passed to the cart. It happens on different products and whether I use the normal method or the shortcode, and it is happening on all different types of fields.

    If I required it, even when text is entered, I get the alert that it is empty. If not required, it doesn’t appear in cart or order, etc. People think they have given info that is not received.

    Using latest free version. Thanks for any ideas.

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

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support oluisrael

    (@oluisrael)

    Hi @castlebuilder,

    I’ve performed a series of tests on several of my sites (both live and local) which have the latest versions of WordPress, WooCommerce, Storefront theme, and our Product Input Fields for WooCommerce plugin (latest version) as the only enabled software and no code snippets added. When doing so I’ve not been able to replicate the behavior which you describe with the information (data entered by users) not being passed to the cart.

    As a test, can you try to use the Storefront theme and see if the information entered in the input fields gets passed to the cart? If the information does then let me have the theme name you’re running to check from my side.

    Thread Starter castlebuilder

    (@castlebuilder)

    Can you confirm that you see the problem at the link I posted above (“The page I need help with”)?

    Thanks for your response.

    Thread Starter castlebuilder

    (@castlebuilder)

    I switched to Storefront and the same thing happened, so it’s not the theme (which is a custom one). I’ve also deactivated most plugins one by one and not had any luck finding the problem if it is a plugin conflict. Are there plugins that tend to be a problem with yours?

    Thanks for the help.

    I am facing the same issue. It is not passed for the first time, as I have ajax add to cart, it works for the second time but it is frustrating for the customer.

    Hi,

    I am also experiencing the same issue after updating to the latest version of the plugin.
    When the field is marked as required, even when it is filled, it doesn’t add to cart and I get the message to enter the information of the field.
    When I make the field not required, it adds to cart but doesn’t pass the info from the field.

    I have checked and couldn’t find incompatibility with other plugins and themes, as the issue only happens when I update this plugin.

    Here is a video demonstrating the issue:
    https://video.emmecreative.com/conversations/c09b6f4c-bc86-50f5-9c26-a27f7be9fbd2

    Thanks in advance.

    Plugin Support oluisrael

    (@oluisrael)

    @castlebuilder @mohsinrasool @rafaelmiura

    This will be looked into asap and I’ll reach out as soon as a patch is ready.

    Thanks for your patience.

    Thanks for the support @oluisrael. Much appreciated!

    Plugin Support oluisrael

    (@oluisrael)

    @rafaelmiura @mohsinrasool @castlebuilder kindly add the filter below to your active theme’s functions.php file

    function alg_wc_pif_remove_form_cart_attribute_callback( $form_cart_attribute ){
    	$form_cart_attribute = true;
    	return $form_cart_attribute;
    }
    add_filter( 'alg_wc_pif_remove_form_cart_attribute', 'alg_wc_pif_remove_form_cart_attribute_callback' );

    Let me know if this works.

    Thread Starter castlebuilder

    (@castlebuilder)

    This works for me. Thank you, @oluisrael!

    Plugin Support oluisrael

    (@oluisrael)

    @castlebuilder, thank you for the feedback.

    That worked for me too! Thank you very much @oluisrael!

    Plugin Support oluisrael

    (@oluisrael)

    Thank you for the feedback @rafaelmiura

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Data not passed to cart’ is closed to new replies.