• Resolved almirdzankovic

    (@almirdzankovic)


    Hi.

    I am making a Storefront child-theme, and I have made a page template that I want to use for the shop’s start page. But I can’t select my template when the page is chosen as the shops start page. If I deselect it and assign it the template, it loses that setting when selected as the shop start page.

    Is there anyway to have the shop start page use my template?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi there,

    Thanks for contacting WooCommerce.com Support!

    I understand that you would like to create a custom page template and create a child theme for Storefront.

    I just tried to do that on my end, and I can see it’s working perfectly fine for me without any issue.

    Can you try to use the following child theme and disable all the plugins and only activate WooCommerce?

    https://github.com/stuartduff/storefront-child-theme

    Please let me know how it goes!

    Best,

    Thread Starter almirdzankovic

    (@almirdzankovic)

    Hi.

    I have now installed this child theme on my local server, and then deactivated all other plugins but WooCommerce, and added my template file. If I open the shop startpage, it doesn’t even show the template selection option. When I open a different page, my template can be selected and it works for that page.

    Also, I use woocommerce_page_title() to try to output the page title, but it prints the word ‘Shop’, even when the page title of that page is ‘Black Week 2022’. Is there something I’ve missed about this function?

    Regards,
    Almir

    Hi there,

    Thanks for getting back to us and explaining that.

    It seems like you have selected your home page as a shop page from WooCommerce Settings. When you select any page to a shop page, you won’t select a page template for that. You can un-select the page by going to WooCommerce > Settings > Products in order to apply the page template.

    To customize the shop page, you need to change the WooCommerce template files(for example, archive.php template) to your child’s theme.

    https://woocommerce.com/document/template-structure/

    I hope it helps!

    Best,

    Thread Starter almirdzankovic

    (@almirdzankovic)

    Ok, thanks for the information!

    Regards,
    Almir

    Glad to hear it – thanks for letting us know!

    I’ll mark this thread as resolved now. If you have any further questions, I recommend creating a new thread.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can’t select my template for store start page’ is closed to new replies.