• Resolved sebac

    (@sebac)


    Hi Marco,

    How can I insert the discounted products in a custom loop? Which meta query should I specify?

    'meta_query'     => array(
          array(
          'key'=> '_sale_price',
          'value'=> 0,
          'compare' => '>',
          'type' => 'numeric'
          )
    )
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Discounted products in a Custom Loop’ is closed to new replies.