• Resolved bnex

    (@bnex)


    Hi,

    I would like to change the label from Add to Cart to Request a Quote. I have tried the coding from a previous thread, it worked on Desktop, but on mobile it still shows “add to cart”.

    add_filter( 'mkl_pc/add_to_cart_button/label', 'my_prefix_change_add_to_cart_label' );
    function my_prefix_change_add_to_cart_label( $original_label ) {
        return 'Request a Quote';
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Marc Lacroix

    (@marcusig)

    Hi there,

    Can you try this filter instead: add_to_cart_button/default_label

    Marc

    Thread Starter bnex

    (@bnex)

    Worked. Thank you so much. Great Plugin!!!

    Hi!

    I have tried the same and it works but it changes the label on both desktop and mobile.
    I would like to change it only on mobile because only after you press it does it show the Price of the configuration.

    So I thought I change it to “show price”
    it then shows the overview and then my customers can choose add to cart and request quote.

    is this possible?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change Add to Cart label Mobile’ is closed to new replies.