Marketpress: How can I remove attributes of Product Details when creating a new product

Marketpress:
We have setup a multisite for users to add products to their own store, however the products only have one price, and only 1 piece of inventory for each product.

How can I remove attributes of Product Details when creating a new product?
and also disable "add variation"
(i.e Hide Sale Price, SKU, Inventory, Special Tax rate)

  • Rathesh
    • WPMU DEV Initiate

    Hi,

    Thanks for that. Ive installed the plugin but does the CSS need to call the function.php or something?

    Or within the custom CSS admin part of the branding plugin, do I insert generic CSS?

    #mp_sale_price{
    display: none;
    }
  • aristath
    • Recruit

    Can I install that CSS directly into a CSS file.

    Create a new folder in your wp-content/plugins folder, and call it admintheme.
    In that folder, create a file called admintheme.php and paste the following inside it:

    <?php
    
    /*
    Plugin Name: Custom Admin Theme
    Description: Admin Theme - Activate.
    Author: Aristeides Stathopoulos
    Version: 1.0
    Author URI: http://aristeides.com
    */
    
    function extras_admin_head() {
      echo '<link rel="stylesheet" type="text/css" href="' .plugins_url('admin.css', __FILE__). '">';
    }
    add_action('admin_head', 'extras_admin_head');

    On that same folder, create a file called admin.css.
    You can enter your custom CSS in there.
    (don't forget to activate the plugin we just created...)

    I hope that helps!

    Cheers,
    Ari.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.