• Customer

    I am trying to add an additional button to the side of the 'Add to Cart' button on single Product pages.

    Posted by: fonejacka1 Jan 27, 2016 at 01:00 (9 year ago)
    Hi ,

    I have added another button using a woo commerce hook to the single product page using the following code:

    add_action( ‘woocommerce_single_product_summary’, ‘my_extra_button_on_product_page’, 30 );

    function my_extra_button_on_product_page() { global $product; echo ‘Extra Button’;

    }

    What css do I need to add to your theme, to align it next to your ‘add to cart’ button and look exactly the same in terms of style.

    As well as be responsive.

    Or maybe the function code is wrong? I am not sure.

    The goal is to have a button next to the standard 'Add to cart' button (to the right of the add to cart button), which says "Call to order" that simply needs to link through to the contact page ( and looks the same as the add to cart button styling). For now, if you could just help me get the button setup, I can change the link once the contact page is ready.

    I would really appreciate your help on this, I have left my access details as well, if you could help me out . Thank you - Love the theme already!

  • Customer

    Posted by: fonejacka1, Jan 27, 2016 at 08:18 (9 year ago)

    Hi Jennifer ,

    Ok thanks for your help, can I pay you for this customisation or do I need to get this done elsewhere?

    Thanks , Sam

INSTALLATION SERVICE

Theme Installation: $49. Pay now

CUSTOMIZED SERVICES

Use our expert service to turn your ideas into reality. Please send an email to kutethemes@gmail.com to provide the more detailed information. Thanks!

WORKING TIME

Our support service works from Monday to Friday.
Mean time (GMT +7):
+ 7:30 - 11:30 AM
+ 1:30 - 5:30 PM
We will try to answer all the questions within 24 hours and solve them as quickly as possible