Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #2525159
Missing CSS class .woocommerce-variation-add-to-cart to enable paypal-express plugin to hook in
Closed

Comments

  • Jonas started the conversation

    Hello,
    I am using standard products and variable products and now with your plugin also bundled products.
    The problem ist I am using the following plugin for PayPal Plus and PayPal Express. This works fine for standard and variable products and can be seen below the "add to cart" button. It seems to use the following class "woocommerce-variation-add-to-cart" to know where to add its own code for the PayPal express button.

    See attachments. One Idea would be to hook at the end of your plugins code and add the css class to the "add to cart" button via a filter.
    Is that idea possible and what line of code do I need to add to the functions.php?

    Kind regards

    Jonas

  •  767
    Janilyn replied

    Hi Jonas,

    Thank you for contacting WPClever Support Forum. 

    We’ve received your ticket and assigned one of our developers to help you with that. 

    He’ll be looking into your question and responding with specific instructions as soon as possible. 

    Please stay patient as we're having very heavy workloads, it might take some time for our developers to reach back.

    Best regards.

    Janilyn T. - WPClever Support Agent