Support » Plugin: Product Input Fields for WooCommerce » Using function

  • Resolved jslom

    (@jslom)


    How do you use this function alg_display_product_input_fields

    I am trying to add it to my template, but it is not showing. It will show if I do
    <?php echo alg_display_product_input_fields() ?> but that will not submit it to the order or cart when added. What’s the proper syntax?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support kenil802

    (@kenil802)

    Hi @jslom,

    Can you please inform us where are you adding this function alg_display_product_input_fields? Ideally, this function needs to be added within the Add to Cart form so values of the form get submitted when Add to Cart button is clicked.

    ​I hope this information is useful to you.

    Regards,
    Kenil Shah

    Thread Starter jslom

    (@jslom)

    yes, I have it in /single-product/add-to-cart/variable.php

    Plugin Support kenil802

    (@kenil802)

    Hi @jslom,

    I think the ticket has been created for the same. So, I will get back to you with an update on this on the ticket which has been created.

    Regards,
    Kenil Shah

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Using function’ is closed to new replies.