removing price and buy button - gridmarket + marketpress

I'm using gridmarket and marketpress with the "Product Listings Only" option set in the marketpress options.
I've hacked the header.php to disable the cart, and now I just need to remove the price and buy buttons from both the main product page as well as the individual products. I have found several instances of show_price and show_button in the code, but commenting them out causes errors.
Could someone please point me in the right direction? Thanks in advance.

  • Tammie
    • WordPress Wizard

    Where are you commenting them out? You'd be starting in framemarket/library/functions/marketpress.php. Really need to know where you have to find out why getting errors.

    The first place would be the grid: framemarket_grid_mp_list_products

    $meta = mp_product_price(false, $post->ID, false);
          $meta .= mp_buy_button(false, 'list', $post->ID);

    Commenting those out would be the suggestion but haven't tested it so can't comment on effect. This type of customisation really we can only suggest but hopefully that's helped.

  • dubya
    • The Incredible Code Injector

    Thanks for the reply.
    I can't seem to find that code anyhere. Which file?

    edit: Duh... nevermind. I must be blind.

    Thank you Tammie. That is all the guidence I needed. My customer loves this theme.
    Keep up the great work.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.