i want to add a field for product condition on the vendor dashboard. where they can choose whether the product is new, pre-owned or refurbished. And can the condition show next to the product name or as a badge.
Basically it would be needed to create the field in ACF and then use the above guide to add it to the dashboard.
I am not entirely sure whether ACF supports displaying that field on the frontend as a badge. If not, it can probably be achieved with a bit of custom code.
Let me know if you can get the above implemented. If not, we can also try set it up on your site directly.
As far as I observed, ACF integration only worked by adding WebWizards tutorial code to the child theme's functions.php It didn't show the fields when I used Code Snippets before. Since Code Snippets runs late from the database, it must not be able to catch up with MarketKing, which runs directly from the file. Is this right?
Here is the JavaScript solution to display multiple ACF fields on the Vendor Dashboard properly. https://pastecode.io/s/3avktc12 Before adjusting the style, fields were cramped on top of each other.
Hi,
i want to add a field for product condition on the vendor dashboard. where they can choose whether the product is new, pre-owned or refurbished. And can the condition show next to the product name or as a badge.
Hi Hector,
It is possible to add this kind of ACF field to the vendor dashboard.
I am not sure if you have seen this, we have a guide here for how to add it: https://woocommerce-multivendor.com/docs/adding-editable-product-fields-with-acf-in-marketking/
Basically it would be needed to create the field in ACF and then use the above guide to add it to the dashboard.
I am not entirely sure whether ACF supports displaying that field on the frontend as a badge. If not, it can probably be achieved with a bit of custom code.
Let me know if you can get the above implemented. If not, we can also try set it up on your site directly.
Kind regards,
Stefan
Hi @WebWizards @Hector,
As far as I observed, ACF integration only worked by adding WebWizards tutorial code to the child theme's functions.php
It didn't show the fields when I used Code Snippets before. Since Code Snippets runs late from the database, it must not be able to catch up with MarketKing, which runs directly from the file. Is this right?
Here is the JavaScript solution to display multiple ACF fields on the Vendor Dashboard properly. https://pastecode.io/s/3avktc12 Before adjusting the style, fields were cramped on top of each other.
Thanks for the ACF integration.