• Resolved altmoscow

    (@altmoscow)


    Hello,

    In one topic you wrote:
    Currently we don’t have shortcode. but you can callback $WC_Woocommerce_Catalog_Enquiry->frontend->add_form_for_enquiry_without_popup() or $WC_Woocommerce_Catalog_Enquiry->frontend->add_form_for_enquiry() function ( as per your catalog settings) in woocommerce hooks/filters.

    Could you write example of code of callback, unfirtunately I don’t know how to do it, but I need it for have request button at another place of product page. In general I want change this button in my theme:
    <button type=”submit” class=”button top”><?php echo esc_attr( $text ); ?></button>
    to request button.
    Thanks!

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