Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter csalmeida

    (@csalmeida)

    Hey AW,

    I see, okay I think this is useful to know, I’ll have another look when I have some spare time as it does seem to be slightly more convoluted as I initially thought.

    I completely understand that you cannot help further, I am very grateful for the time you took to reach out and it has been very helpful. Thank you!

    I’ll be sure to look through those resources. 🙏

    Thread Starter csalmeida

    (@csalmeida)

    Hi AW, thank you for taking the time to get back to me on this, it is very helpful and appreciated.

    That makes a lot of sense I have found that the markup I wanted to change was split across an array of template files present in [WooCommerce](https://github.com/woocommerce/woocommerce).

    One issue I came across is that Woo Commerce makes use of the markup available in checkout/form-billing.php to render billing details, once I edited the markup to the layout I’m building that was fine but when using the express checkout plugin, it renders a completely different set of markup for that same section which results in an unstyled without the markup I wrote. I’m unsure on how to override that step without making a copy of the plugin.

    This markup is rendered from /wp-content/plugins/woocommerce-gateway-paypal-express-checkout/includes/class-wc-gateway-ppec-checkout-handler.php and it seems it is triggered by an action called paypal_billing_details.

    I believe this action is possible to override? The reason I’m unsure is that this seems to be a method of a class so it must require the instance in order to work, is that right?

    Any thoughts would be deeply appreciated.

    Thank you so much for your help so far!

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