Edit Add Product Form – Variations

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WC Marketplace Edit Add Product Form – Variations

Viewing 1 reply thread
  • Author
    Posts
    • #120564
      ashley.younguk
      Participant

      Hi

      I’ve managed to customise most of the variation tab on the add product form however there are areas that I am struggling with:

      Downloadable – How do I edit this checkbox label? I want to change it’s text and add a class.
      Remove shipping fields – I would like to remove the following fields, Length, Weight, Height, Width, Shipping Class

      Any help would be appreciated, I’ve spent hours trying to figure it out. Just to confirm this is on the each variation on the add product form.

      Thank you 🙂

    • #120673

      Hello,

      Try this code in your theme’s functions.php

      add_action( 'init','remove_some_variation_fields');
      function remove_some_variation_fields(){
      	global $WCFM, $WCFMu;
      	remove_filter( 'wcfm_product_manage_fields_variations', array( $WCFMu->frontend, 'wcfmu_product_manage_fields_variations' ), 10, 4 );	
      }

      Thanks

Viewing 1 reply thread
  • You must be logged in to reply to this topic.