How to remove default "1" number from Marketpress product?

Hi, how can I remove the “1” default quantity from Marketpress products? Like it is at

Thank you.

  • Tyler Postle
    • CGO

    Hey again Diegpl,

    So you still want the quantity option but just not to have any default value?

    If you want to remove the quantity option altogether then you can do that via:

    Product > Settings > Presentation > "Show Quantity"

    However, if you want to remove the default value then you can do that from within your template-functions.php file. Open it up and go down to approx. line 2432. You will see a value="1" around there, remove the 1 so it's just value="".

    template-functions.php is located /wp-content/plugins/marketpress/marketpress-includes/

    This does mean that you will need to update that after each MarketPress update. So make note of that file and line. You could also create your own MarketPress single product page, but that would involve more customization as you need to create a single-product.php file based off the template functions, this will have more info for you:

    Hope that helps!



Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.