Answer the question
In order to leave comments, you need to log in
How to create a product tab with an existing WordPress attribute taxonomy?
The task is the following, I am creating a website that has its own admin panel for sellers. On the product adding tab, you need to implement the attribute taxonomy selection in such a way that the seller would have the choice of the attribute itself not in the drop-down list, but in the tab, by clicking on which you can select the attribute parameter of interest. How can I implement this functionality?
Answer the question
In order to leave comments, you need to log in
So, while I was figuring out, I found a piece of code that displays the contents of this tab, but I still haven’t found a solution how to set it up exactly.
<?php do_action( 'wcv_before_attributes_tab', $object_id ); ?>
<div class="wcv_product_attributes tabs-content" id="attributes">
<div class="attributes-validation-error"></div>
<?php WCVendors_Pro_Product_Form::product_attributes( $object_id ); ?>
<?php do_action( 'wcv_product_options_attributes_product_data', $object_id ); ?>
</div>
<?php do_action( 'wcv_after_attributes_tab', $object_id ); ?>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question