• Resolved Bijdrager

    (@bijdrager)


    Hopefully you are able to help.

    I’m planning on using your plugin within a website with a few products and many product variations. However, this will be a catalog and no webshop. Could you please tell me how to change your add to cart button to a add to quote button? I use Woocommerce Qoute plugin. which uses the shortcode [wcqt_request_quote] on a page to display the quotelist and contactform.

    Thank you!

Viewing 1 replies (of 1 total)
  • Plugin Author WPXtension

    (@wpxteam)

    Hi,

    I hope you are doing well today. Please make sure the shortcode is capable of receiving parameters like variation ID or not.

    If it has the facility to pass extra parameters like variation ID, then try the following snippet:

    add_filter('pvtfw_row_cart_btn_is', function($default,$product_id, $cart_url, $product_url, $variant_id, $text){
    echo do_shortcode('[wcqt_request_quote variation_id="'.$variant_id.'"]');
    }

    By the way, we have a snippet for YITH Request a Quote plugin.

    Best Regards

Viewing 1 replies (of 1 total)
  • The topic ‘Use PVT with WooCommerce Quote’ is closed to new replies.