Hi, I’m using this code to modify an existing Vendor Attribute called “My Artists”, that allows artists to link other artist’s profile. It shows up correctly in the vendor update form and even get a ‘success’ message when submitting the form but, when I refresh the page, the data disappears.
I feel like no data is being saved at all when submitting the form.
Is there a way to correct that ?
Would also be great if you could add this as a feature in the future, to allow us to dynamically set select options.
Nevermind, Actually every user setting doesn’t update anymore. I tried deactivating every plugin but nothing does it. Any I can try to update any info on the user setting page and as soon as I reload the page the changes are gone. Is there something I can do to correct this ?
Thank you for the snippet but, as stated in my second message, none of the user settings save anymore. Is there something I can do to correct this ? I already tried deactivating all plugins but it didn’t change anything.
Each time I reload the page on the user settings, the changes disappear, they’re not saved in the database even tho I receive a success message.
Please make sure that there’s a single vendor linked to your user account in WordPress/Vendors. I’ve tested this snippet locally and it works fine, but issues occur if there are 2+ vendor profiles linked to the same user, because settings are saved for only one of them then and not the one used to populate the form values.
Thank you but I mean that absolutely none of the other attributes work either. I have lots of other attributes and they don’t work because when I update them from the user settings page at “/account/settings/” , changes are not saved. Not for any of my custom attributes. I have tried resetting tons of files already but it still doesn’t work, how can I make the settings work again ?
Thank you.