Shortcode doesn’t show products
-
Hello there,
I am using Woocommerce shortcodes to display products into my site for example:
[products ids= ‘111,222,334,211’ columns=’3′ limit=’12’ pagination=’yes’]
there is more than 4000 products we have in our site. i pull those ids pass that into ids parameter like this.
Ex:
$arr = array(111,222,334,211,312,534,345,113,555,333,865,884,765) //etc
$str = implode(‘,’,$arr);
[products ids= ‘$str’ columns=’3′ limit=’12’ pagination=’yes’]Its not displayed products, its shown error ‘No products were found matching your selection’
Please advise product ids has any limitation ? or it there any rule i need to follow to display product via woocommerce shorcode ?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Shortcode doesn’t show products’ is closed to new replies.