Hide Total in Square Payment Integration

  • grange_concessions
    Asked on June 28, 2017 at 10:12 AM

    I am presenting a total from a customer to a field that is wider and in a better format and just sending that value to Square.  Is it possible to fill in but hide the total field that the Square plugin displays so there are not two totals?

  • BJoanna
    Replied on June 28, 2017 at 12:29 PM

    I made some test and unfortunately I was only able to hide input field I was not able to hide USD currency. 

    You can use this CSS code to hide input field:

    #input_18_donation{

        display : none!important;

    }

    Hide Total in Square Payment Integration Image 1 Screenshot 30

    I would suggest you to hide Order Total field instead. You can hide it with this CSS code: 

    li#id_19 {

        display: none;

    }

    How to Inject Custom CSS Codes

    Or you can hide it inside of field properties. 

    Hide Total in Square Payment Integration Image 2 Screenshot 41

    Hope this will help. Let us know if you need further assistance.