• I want to overwrite these files: plugins/custom-checkout-layouts-for-woocommerce/WooCommerce/checkout into theme but not working

    so how can override this plugin template file into a theme?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Rupinder Kaur

    (@coolcoders)

    Hi @gova ,

    This plugin is not designed as an overriding purpose. Even this plugin is overriding woocommerce templates itself.
    To override the default checkout files we have used the “woocommerce_locate_template” filter with priority 20. So you can try this filter to redirect to your theme.
    Otherwise, rename the mentioned folder as “checkout-test”, it will work for you.
    Do let me know if i can help you further.

    Thanks

    Thread Starter gova

    (@gova)

    Thank you for response

    I have tried and override some files using this funcition woocommerce_locate_template but this file: form-checkout.php I cant able to override and other files same folder I have override but this one form-checkout.php I cant able to override

    So please help me how can do it?

    Thna

    Plugin Author Rupinder Kaur

    (@coolcoders)

    Hi @gova,
    Can you please let me know what exactly you want to change maybe I can help you better then.
    I mean I have kept most of the thing’s default, only the layouts are changed. Let me know what section you want to change?

    Thanks

    Thread Starter gova

    (@gova)

    Thank you for quick updated

    I have changed coupon form position and some changes that why I need to changed this file

    Also this plugin not supported language I have used polygon plugin and when update checkout via ajax then not getting active lang code

    Plugin Author Rupinder Kaur

    (@coolcoders)

    Hi @gova,

    Are you using the latest version? In the newer version, the coupon section is placed as per default. So you can alter it using filters.
    For language section, it is compatible with loco translate plugin. But still, if you are facing issues I think they can be sorted using jquery.
    I have not created any override functionality for my plugin .it is already changed so much for different layouts. so I don’t think if you try to override they will work properly or not.
    if you are still willing to change you can directly alter its files as per your need(Not a recommended way).

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘File override into template not working’ is closed to new replies.