Banner Logo

Be a part of the family: Connect, Receive Support,
Contribute, and Reap Abundant Rewards!

Bulk Editing Variation Commissions with PW Bulk Edit

WCMp Stripe Marketplace

Resolved
Viewing 9 reply threads
  • Author
    Posts
    • #134426
      Michael McHugh
      Participant

      Hi,

      So, we are looking to be able to edit Variation Commission amounts using PW Bulk Edit.

      Interestingly, it seems to work properly at the Product-level “Vendor Fields” for the selected Vendor, and the Commission rate do show in PW Bulk Edit, and are editable at the Product level…(see screenshot_1.png)

      However, the Variation Level Commission fields just show up as “Same as Parent” in PW Bulk Edit (see screenshot_1.png and screenshot_2.png)

      Perhaps the Variation-level Commission fields are actually different fields than the Product level ones?

      PW Bulk Edit provides this guide for adding fields to be editable via a function, here: https://www.pimwick.com/pw-faq/custom-fields/

      Ae you able to provide me with the needed info to try that out, or might you have any other suggestions?

      We really need to be able to easily bulk edit those commission fields, and using PW Bulk Edit would be ideal in doing so, if we can get the Variation-Level commission fields to show up.

      Please advise.

      Note, the login info for the demo site is provided in our other ticket, but I will copy here privately following this one.

      Thanks,
      Michael

    • #134429
      Michael McHugh
      Participant
      This reply has been marked as private.
    • #134441

      Michael, we will definitely assit you. But can you please share a video on the flow, so we can assist you accordingly? Also a video on the previous and after the code would be really helpful.

    • #134473
      Michael McHugh
      Participant

      I’m asking for the info to use for the variation level commission amount field in the code provided by PW Bulk Edit, here: https://www.pimwick.com/pw-faq/custom-fields/

      We need to be able to bulk edit the commission amount for all matching variations, for instance all variations of a “Print Size” of 11×14

      I need the correct data for this:

      $columns[] = array(
      ‘name’ => ‘Field Name 1’,
      ‘type’ => ‘text’,
      ‘table’ => ‘meta’,
      ‘field’ => ‘_meta_key_of_field1’,
      ‘visibility’ => ‘both’,
      ‘readonly’ => false,
      ‘sortable’ => ‘false’
      );

      …And then I can test it.

      As you can see in the video, the product-level Vendor and Commission amount fields are readily available in PW Bulk Edit, but the variation-level ones just say “Same as parent” so they must be defined differently I’m assuming.

      Link to Video: https://www.dropbox.com/s/yw1hs8xcr90jkbp/Screen-Recording.mov?dl=0

      per PW Bulk Edit:

      > You will need to find the “meta_key” for these fields. The WCMp vendor
      > will know this. If the data is not stored in the wp_postmeta table
      > using the meta_key, then it won’t be a field that the PW Bulk Editor
      > can use.

      -Michael

    • #134474
      Michael McHugh
      Participant

      I’m asking for the info to use for the variation level commission amount field in the code provided by PW Bulk Edit, here: https://www.pimwick.com/pw-faq/custom-fields/

      I need the correct data for this:

      $columns[] = array(
      ‘name’ => ‘Field Name 1’,
      ‘type’ => ‘text’,
      ‘table’ => ‘meta’,
      ‘field’ => ‘_meta_key_of_field1’,
      ‘visibility’ => ‘both’,
      ‘readonly’ => false,
      ‘sortable’ => ‘false’
      );

      …And then I can test it.

      As you can see in the video, the product level Vendor and Commisson amount fields are readily available in PW Bulk Edit, but the variation level ones just say “Same as parent” so they must be defined differently I’m assuming.

      Link to Video: https://www.dropbox.com/s/yw1hs8xcr90jkbp/Screen-Recording.mov?dl=0

      per PW Bulk Edit:

      > You will need to find the “meta_key” for these fields. The WCMp vendor
      > will know this. If the data is not stored in the wp_postmeta table
      > using the meta_key, then it won’t be a field that the PW Bulk Editor
      > can use.

      -Michael

    • #134585
      Michael McHugh
      Participant

      Any info on getting the variation level Commission field’s info as described above to get it to work with PW Bulk Edit?

      Thanks,
      Michael

    • #134625

      Hi,
      We have saved variation commission on _product_vendors_commission this post meta
      Thanks

    • #134627
      Michael McHugh
      Participant

      So, the filed name is “_product_vendors_commission” ?

      i.e. per the PW Bulk Edit example, would it be:

      $columns[] = array(
      ‘name’ => ‘Commission’,
      ‘type’ => ‘text’,
      ‘table’ => ‘meta’,
      ‘field’ => ‘_product_vendors_commission’,
      ‘visibility’ => ‘both’,
      ‘readonly’ => false,
      ‘sortable’ => ‘false’
      );

      Does that look right?

      Thanks,
      Michael

    • #134630
      Michael McHugh
      Participant

      I tried it out, and that seems to work.

      Thanks!

    • #134669

      we are happy to help you
      We would love it if you shared your experience by giving us 5/5 review here :
      https://wordpress.org/support/plugin/dc-woocommerce-multi-vendor/reviews/#new-post
      Seeing glowing reviews from existing customers makes others more comfortable knowing they’ll get the support they need with an issue with our services when arise.

Viewing 9 reply threads

The topic ‘Bulk Editing Variation Commissions with PW Bulk Edit’ is closed to new replies.