• Resolved diegosomar

    (@diegosomar)


    First of all thank you for this plugin. It’s really amazing.

    I’m using Gutenberg to develop the site.
    One of the steps in the flow is the checkout, where I can choose one of the 3 templates:

    1) Default;
    2) Carflows – Boxed;
    3) Template for Page Builders.

    I would like to fully customize this page, so I chose the third option. However, this option doesn’t seem to fully load Gutenberg on the front.

    For example, I set the width of elements within group block, but it doesn’t work. If I change to option 1 (default), it works normally.

    To solve it, I added a custom template, called BLANK (in theme.json), which will load the contents of the page. However, when trying to associate the template with the checkout page, an error appears, writing: “Failed to update. Invalid parameter(s): template”

    I tried to add a template directly through the FSE and when trying to associate this template, the same error occurs. That is, I can only use one of the 3 templates above, none of which allow me to use Gutenberg FSE in its complete form.

    Thank you if you can help me to solve this problem.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Sravan Bhaskaravajjula

    (@bhshravankumar)

    Hello @diegosomar,

    If you use the ‘default’ template it allows your themes header and footer on your CartFlows page, if you are able to use this template without any issues and if you are OK to show themes header and footer you can use this template.

    Please let me know your views on this scenario.

    Thread Starter diegosomar

    (@diegosomar)

    Hello, tks by your message!

    The default template works. But in my case, I need another page template, not the default ??

    Plugin Support Aamir

    (@aamiribsf)

    Hello @diegosomar,

    Thanks for getting back to us.

    You can try to add the custom template to the theme and then use the Cartflows filter to use those templates inside Cartflows pages.

    You can fetch your custom templates in CartFlows by using the following custom code:

    add_filter( ‘cartflows_show_all_page_templates’, ‘__return_true’);

    Please add the filter code to your child theme’s functions.php -or- use a code snippets plugin to add the filter code.

    Hope this helps.

    Let me know how it goes.

    Thread Starter diegosomar

    (@diegosomar)

    Hello @aamiribsf ! With this filter, I was able to define a custom template. Thanks for the help.

    Plugin Support Sravan Bhaskaravajjula

    (@bhshravankumar)

    Hello @diegosomar,

    Thanks for the update.

    Let us know if we could be of any further assistance.?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Gutenberg] Can’t assign custom template to step’ is closed to new replies.