Editing Market Press Theme Elements

Where can I locate the part of the Market Press plugin that controls the "Price:" and "Add to Cart" display? Please advise, I am going crazy here!!

  • DavidM

    Hi mantaco and first off, welcome to WPMU DEV!

    Those can be customized by creating a custom MarketPress "Store theme", which you could then select at Products > Store Settings > Presentation as illustrated here:

    I've found it's much simpler (and update safe) to override the plugin's styling by adding your own custom css to your theme's stylesheet (Appearance > Editor).

    You can target those specific elements with input.mp_button_addcart and div.mp_product_price, for example, as follows:

    background-color: #000;
    color: #fff;
    background-color: #000;
    color: #fff;

    Let us know if you have any questions on that!


  • mantaco


    I was actually trying to figure out how to hide the Add to Cart button - the plugin was being used to display products but purchases need to be handled over the phone as they are unique items. I figured this out, simply changed the type to "hidden" in the theme-functions.php.

    Additionally, I located the "Price:" there and edited it to read as we wanted it to.

    I appreciate the feedback, thanks.

    J. Finch

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.