D
D
denism3002018-07-18 12:59:57
WordPress
denism300, 2018-07-18 12:59:57

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

1 answer(s)
Y
Yunus Gaziev, 2018-07-18
@BBoyJuss

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 question

Ask a Question

731 491 924 answers to any question