Support » Plugin: Striper - Stripe Integration for WooCommerce » Override templates

  • Resolved miocene22


    I am using a bootstrap-based theme for my site and would like the form fields to be marked up accordingly. Is there anyway to override the payment.php template you have inside the plugin? E.g. using a hook. I’d rather not edit the plugin files directly.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Sean Voss


    Hey Miocene,

    Unfortunately the way I have Striper setup now, it’s not overriding any templates, it just includes that file.

    I will explore a way to add your own custom template, it should be possible, I’m sure wordpress will let me find the path to the currently loaded template, but for now, just override payment.php, I’m afraid.

    Plugin Author mgiulio


    Hi Sean,

    I implemented(just some final testing to do)a templating system based on the one provided by WooCommerce.

    So, to override payments.php(or any other template), a plugin user has to put its version in the ‘striper’ folder in its theme.

    You can see the src on my gh fork(so is a fork of the 0.28 plugin version):

    I’m very interested in contributions/takeover. Next step would be the I18N task, I think.

    Let me know how you would like to proceed.


    Plugin Author mgiulio


    This will ship in 0.30.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Override templates’ is closed to new replies.