• Resolved Shahadat Shuvo

    (@shuvombm02)


    Hello. First of all, thank you so much for the awesome plugin.
    I want to change the position of the form. Definitely, the change will be inside the add-to-cart form. Do you have any shortcode or something else for the form? Right now the form is before the “add to cart” button. But, I want to show it before product variation. How can I do this? Please help me. Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    Sorry for the delay in response,

    add_filter('wcpa_display_hooks', function ($hooks) {
    $hooks["fields"] = ["woocommerce_after_add_to_cart_button", 10];
    return $hooks;
    });

    You can use this filter to change the hook value.

    Please note that form only works when the fields are inside <form></form> tag. ie, works only when form fields inside add to cart form tags.

    Thank you

    • This reply was modified 3 years, 5 months ago by Rahul K.

    Hi,
    We didn’t got any reply from your side for past 6 days.
    We hope that issue with our plugin is resolved.

    Please feel free to contact us if you have further queries, by submitting a new ticket.

    Thank You!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How can I change the position of the form.’ is closed to new replies.