Okay
  Public Ticket #3176589
Apple Pay Buttons
Closed

Comments

  •  24
    UK-Designer-Guy started the conversation

    Using the WooCommerce Payments plugin and ticking the Apple pay and Google Pay buttons as enabled they are showing above the "Add to cart" button.

    I've contacted WooCommerce as this can't be correct just wondered if you had any experience with this as an issue with Salient as a theme (tried searching tickets but couldn't find anything ?)

    Any help you could give would be appreciated

  •  24
    UK-Designer-Guy replied
  •  8,839
    Tahir replied

    Hey Again,

    Could you provide the product page where we can view the issue and try some Custom CSS.

    Thanks 


    ThemeNectar Support Team 

  •  24
    UK-Designer-Guy replied

    https://ukroofingstore.co.uk/product/epdm-membrane-3-05-metre-wide/

    Obviously u need a safari browser and the apple pay facility for the buttons to show

  •  8,839
    Tahir replied

    Escalating this to the developer for further response.

    Best 


    ThemeNectar Support Team 

  •  1,070
    ThemeNectar replied

    Hey UK-Designer-Guy,

    You can try altering the order of those elements with CSS alone by adding the following snippet into the custom CSS box located in the Salient options panel > General Settings > CSS/Script related tab:

    .woocommerce-variation-add-to-cart {
        display: flex;
        flex-direction: column;
    }
    .woocommerce-variation-add-to-cart * {
     order: 3;
    }
    .woocommerce-variation-add-to-cart .quantity {
      order: 1;
    }
    .woocommerce-variation-add-to-cart .single_add_to_cart_button {
      order: 2;
    }
    

    Kind regards

  •  24
    UK-Designer-Guy replied

    Great support as always, many thx

    Nearly there . . . the "-or-" is stacked below the express checkout button and it needs to be above or not shown at all if it can't be moved. Any ideas on that?


  •  1,070
    ThemeNectar replied

    You're welcomesmile.png

    You can move that separator by amending the previous to snippet to be as follows:

    .woocommerce-variation-add-to-cart {
        display: flex;
        flex-direction: column;
    }
    .woocommerce-variation-add-to-cart * {
     order: 4;
    }
    .woocommerce-variation-add-to-cart .quantity {
      order: 1;
    }
    .woocommerce-variation-add-to-cart .single_add_to_cart_button {
      order: 2;
    }
    .woocommerce-variation-add-to-cart #wc-stripe-payment-request-button-separator {
        order: 3;
    }
    
    Cheers
  •  24
    UK-Designer-Guy replied

    Just so the other thread doesnt get missed you can go and close this thread also