Home Forums WC Vendors Pro Support postmeta or usermeta?? Reply To: postmeta or usermeta??

#11966
WC Vendors Support
Participant

It’s really rather simple.

The USER meta stores the vendors commission rate for that vendors products if overridden from the default global commission rate. The POST meta stores the vendors commission rate for that particular product, which overrides the individual vendor rate, and overrides the global rate.

Since the POST meta is related to ONE product, it’s stored as post meta. Since the USER meta is related to one vendor, it’s stored as user meta. And the global commission rate is stored as an option value.

🙂

This website uses cookies to ensure you get the best experience on our website.