Answer the question
In order to leave comments, you need to log in
Is there a plugin that allows you to add multiple WooCommerce category images?
Interested in the ability to add more than one image per category in WooCommerce. Plugin or small changes in the code - it doesn't matter
Answer the question
In order to leave comments, you need to log in
https://carbonfields.net/docs/guides-term-meta
Container::make( 'term_meta', __( 'Term Options', 'crb' ) )
->where( 'term_taxonomy', '=', 'product_cat' ) // для категорий продуктов
->add_fields( array(
Field::make( 'complex', 'crb_slides' )
->add_fields( array(
Field::make( 'image', 'photo' )
->set_value_type( 'url' ),
) )
) );
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question