WCMp Stripe Marketplace
-
AuthorPosts
-
-
February 15, 2022 at 1:50 AM #134426Michael McHughParticipant
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 -
February 15, 2022 at 10:29 AM #134429Michael McHughParticipantThis reply has been marked as private.
-
February 15, 2022 at 3:17 PM #134441NerdySupportExpert MoumitaKeymaster
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.
-
February 16, 2022 at 10:44 AM #134473Michael McHughParticipant
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
-
February 16, 2022 at 10:44 AM #134474Michael McHughParticipant
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
-
February 18, 2022 at 8:16 AM #134585Michael McHughParticipant
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 -
February 18, 2022 at 8:55 PM #134625Raju The Cool GuyKeymaster
Hi,
We have saved variation commission on _product_vendors_commission this post meta
Thanks -
February 19, 2022 at 2:17 AM #134627Michael McHughParticipant
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 -
February 19, 2022 at 7:14 AM #134630Michael McHughParticipant
I tried it out, and that seems to work.
Thanks!
-
February 21, 2022 at 12:14 PM #134669MVX Support NinjaKeymaster
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.
-
-
AuthorPosts
The topic ‘Bulk Editing Variation Commissions with PW Bulk Edit’ is closed to new replies.