Home Forums WoodMart support forum add button this area

add button this area

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #48066

    tugsuu
    Participant

    heyo
    how can i add custom linked button this area

    Attachments:
    You must be logged in to view attached files.
    #48069

    Eric Watson
    Participant

    Hello,

    Try to add following code snippet to the functions.php file in your child theme

    function woodmart_custom_btn() {
    	echo '<a href="#" class="button btn-color-primary btn-full-width custom-button">Custom button</a>';
    }
    add_action( 'woocommerce_review_order_before_submit', 'woodmart_custom_btn' );

    Add the following code snippet to the Custom CSS area in Theme Settings

    .custom-button{
    	margin-bottom:10px;
    }
    

    Kind Regards
    XTemos Studio

Viewing 2 posts - 1 through 2 (of 2 total)