Hi there!
I have added a few custom taxonomies to the seller dashboard using the following code, added to the edit-product file :
<!-- CROSS CURRICULAR -->
<div class="col-xxl-3 col-md-6 marketking_card_gal_cat_tags">
<div class="code-block marketking_cattag_card">
<h6 class="overline-title title">
<?php esc_html_e('Does your resource include any cross curricular topics?','marketking-multivendor-marketplace-for-woocommerce');?>
</h6>
<div class="form-group">
<div class="form-control-wrap">
<?php
// Modify the arguments as needed for your custom taxonomy 'cross_curricular'
$cross_curricular_args = array(
'taxonomy' => 'cross_curricular',
'name' => 'marketking_select_cross_curricular[]', // Modify the name to allow multiple choices
'class' => 'form-select',
'orderby' => 'name',
'title_li' => '',
'multiple' => 'multiple', // Enable multiple choices
);
wp_dropdown_categories($cross_curricular_args);
?>
</div>
</div>
</div>
</div>
It works perfectly - showing a drop-down checkbox in the vendor dashboard.
The problem is it isn't saving these custom taxonomies to the related product. When they click "Save Product" it saves the category and featured image fine - but it doesn't save any custom taxonomies.
The custom taxonomies work fine in the back end though, it's just when they're saved through the edit-product page.
Thanks!



