Can I use a separate theme for my store pages on MarketPress?

I want to continue to use my current theme for my website, but I want to use the FrameMarket theme for my store pages. Is there an easy way to do that?

  • Ash

    Hello @Dan

    Welcome to WPMU community!

    I hope you are well today and thanks for asking the question.

    There is a plugin Page Theme that allows you to set specific theme for a specific page. But you can set a theme for dynamic page.

    In MP, products, store etc pages are dynamic. What you can do is to use framemarket theme as default theme, so that store pages an get that theme and for all other pages select other theme that you want. I know this is time expensive as you have to do to it for all pages, but there is no other way I am aware of.

    Hope it helps :slight_smile: Please feel free to ask more question if you have.


  • dmuchnok

    Hi Ash,

    Thanks for the feedback. We were actually thinking about that as a solution, specifically because the MP pages are dynamic. We are also thinking about trying a sub-site for the storefront since we are using a multisite install for this particular site.

    I did see that there are instructions on using page templates under the Presentation tab of MP. Is this a viable alternative as well (even though it is some work up front)?



  • Timothy Bowers

    Not really, They we more subtle changes.

    You can make your own custom templates but really that's more for creating customised layouts within your current theme.

    Themeing MarketPress

    There are two methods to create custom designs for MarketPress stores:

    Basic Styles:

    Basic styles are comprised of a css file and an optional images folder that is loaded
    and applied on store pages. To create a basic style:

    1. Create a css file in the /wp-content/marketpress-styles/ directory with your custom styles. It
    may be easiest to copy our default.css theme and modify it.
    2. Make sure to add the custom theme header with your theme's name at the top of the css file:
    MarketPress Style: CUSTOMNAME
    Including this header will cause your custom theme to show in the dropdown on the
    Store Settings -> Presentation page so it may be selected.
    3. You can also optionally create a subdirectory for your css images in the /wp-content/marketpress-styles/ folder and
    link to images within it with relative urls like "image-folder/my-image.jpg".

    Advanced Themes:

    MarketPress uses custom post types to display it's products. This means that you can use
    the same WP theme templating system you are familiar with. We simply provide a customized
    subset of template functions so you don't have to worry about dealing with post meta. Template
    functions are fully documented and can be found in the /marketpress/marketpress-includes/template-functions.php file.

    E.g. to create a custom product page:

    1. Make a copy of the page.php template file in your theme directory and rename it mp_product.php

    2. mp_product.php must use the mp_* functions instead of the_content(), see template-functions.php for a list of functions relevant to products.

    MarketPress searches your current theme folder for template files specific to store pages. If
    a template file does not exist it loads the theme's page template instead. Just like WP, the
    plugin will search for templates in order of priority from top to bottom. Here are possible
    file names for store templates in order:

    Single Product Page

    Store Page

    Cart/Checkout Page

    Order Status Page

    Product List Page

    Product Category List Page

    Product Tag List Page

    Global Listings - Will only work on main site/blog
    Product List Page

    Product Category List Page

    Product Tag List Page

    Hope this helps.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.