woocommerce get post terms product
$term_obj_list = get_the_terms( $post->ID, 'taxonomy' );
$terms_string = join(', ', wp_list_pluck($term_obj_list, 'name'));
woocommerce get post terms product
$term_obj_list = get_the_terms( $post->ID, 'taxonomy' );
$terms_string = join(', ', wp_list_pluck($term_obj_list, 'name'));
WooCommerce attributes
defauls:
show selected products by ID
[products limit="16" columns="4" ids="766,620,1033,624,626,960, 629,635,861"]
show products ob SALE
[products limit="" columns="4" orderby="popularity" class="quick-sale" on_sale="true"]
show selected category
[products limit="8" columns="4" category="hoodies, tshirts"]
show products by tags
[products tag="hoodie"]
special:
[lf_woo_products_carousel id="an_uniq_id" categories="selected category" loop="1" selected_products_tab="0"] => show category in carucell
"id" => the uniq id of a product or a shortcode with carusell
"col" => number of col's
"tablet_col" => number of col's in tablete
"mobile_col" => number of col's in mobile
"class" => Ex. "hight-400"
"direction" => of the carusella "horizontal" | "vertical"
"loop" => if it will loop or not "0"
"delay" => the time for shifting in milisec "3000"
"speed" => thr rotation spees "300"
"centered" => of the product "0"
"mousewheel" => will the mouse scroll thr carusel or not "0"
"nevigation" => show the arrow on the sides "1"
"pagination" => show the numbers of the pics "1"
"scrollbar" => show the scroll bars "0"
"photoswipe" => swipting the photos "0"
"categories" => the selected category to show spreted by comma (,) "null"
"tags" => the selected tags to show spreted by comma (,) "null"
"selected_products_tab" => whitch tab to show "0"
"new_products_tab" => show the new products "1"
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us