WordPress.org

Ready to get started?Download WordPress

Forums

Product Enquiry for WooCommerce
[resolved] Product enquiry button after "add to cart" (5 posts)

  1. Elektra3
    Member
    Posted 1 year ago #

    Hi!

    I'd like to know if it's possible to have the "Make a product enquiry" button appear right next to the "add to cart" woocommerce button on single product pages?
    I've also noticed that the z-index of the "contact-form" is above all woocommerce product summary content, so you cannot select any variables for each product...

    http://wordpress.org/extend/plugins/product-enquiry-for-woocommerce/

  2. WisdmLabs
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Elektra,

    Visit plugin's main file

    product-enquiry-for-woocommerce.php

    At line no. 18 and 30, you will find

    add_action('woocommerce_after_single_product_summary', 'ask_about_product');

    Try replacing them with

    add_action('woocommerce_single_product_summary', 'ask_about_product',40);

    Hope, this will work.

    Thanks,
    WisdmLabs

  3. Elektra3
    Member
    Posted 1 year ago #

    Thanks so much! :)

  4. tillieb20
    Member
    Posted 1 year ago #

    THAAAAAAANK YOU!

    Theese hooks and actions are really tough to understand. This is all I wanted. Thanks again.

  5. gerygreen
    Member
    Posted 11 months ago #

    good for me! :)

    any chance to get translation files for this plugin?

    thank!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic