• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Woocommerce and Genesis Connect: Are there templates for the ‘Cart’, ‘Checkout’

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Woocommerce and Genesis Connect: Are there templates for the ‘Cart’, ‘Checkout’

This topic is: not resolved

Tagged: genesis connect, WooCommerce

  • This topic has 2 replies, 2 voices, and was last updated 5 years, 6 months ago by Jeffreydotfong.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • February 9, 2017 at 6:34 am #200836
    Jeffreydotfong
    Member

    Are there templates for the Cart, Account and Checkout pages that I can adjust instead of creating my own?

    I have managed to load my custom header by copying the single-product and archive-product files from Genesis connect into my child theme /woocommerce folder.

    remove_action( 'genesis_header', 'genesis_header_markup_open', 5 );
    remove_action( 'genesis_header', 'genesis_do_header' );
    remove_action( 'genesis_header', 'genesis_header_markup_close', 15 );
    
    add_action('genesis_header', 'load_aboutus_page_header');
        function load_aboutus_page_header() {
            get_header('store'); 
    }

    However I can’t work out how to load the same header onto the Cart page. There is no straight forward template. I have copied the entire “cart” folder from the original woocommerce plugin into my /woocommerce child theme folder and have managed to get my footer attached via the method above. But the header will not work. I’m guessing there is something a bit more complicated here at play that I do not understand?

    February 9, 2017 at 10:41 am #200851
    Victor Font
    Moderator

    The standard WooCommerce pages created during the plugin install are just normal pages. If you add your code to functions.php and wrap it in the is_page() conditional designating the specific pages for which you want your custom header, it should work. There shouldn't be any reason to mess with the WooCommerce templates. https://codex.wordpress.org/Conditional_Tags


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    February 9, 2017 at 5:32 pm #200876
    Jeffreydotfong
    Member

    Great, thanks Victor.

    I'm running a bit of a weird system where I have a different header file and a different page template for each page so I will try this method.

    Thanks,

    Jeff

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2022 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble