• Hello,
    is it possible to get the product ids?
    I’m using YITH_WCWL()->get_products() but is returns an empty array.

    Thank you

Viewing 1 replies (of 1 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi there

    try using that method this way

    YITH_WCWL()->get_products( [ 'wishlist_id' => 'all' ] );
    

    This will return an array of \YITH_WCWL_Wishlist_Item, but you can easly retrieve product id frmo them with the ->get_product_id() method

Viewing 1 replies (of 1 total)
  • The topic ‘Get product ids’ is closed to new replies.