Product
For loop type edd_product
, here are the query parameters and fields.
Query parameters
category_id
- Filter by category term ids
Type: arrayid
- Same as include
Type: array, integervendor_id
- Filter by Vendor id(s)
Type: array, stringvendor_slug
- Filter by Vendor slug(s)
Type: array, string
Fields
files
- Downloadable files. Returns one or more values, depending on whether product has variable prices or not. Returns a Loop.is_variable
- Whether product has variable pricing. If yes, the "pricing" field is to be used to grab priceprice
- Product display price (either raw or sale price). Might be irrelevant if product has variable pricingpricing
- Product pricing. Returns one or more values, depending on whether product has variable prices or not. Returns a Loop.purchase_link
- Edd download purchase link - generates the Purchase or Add to Cart buttonsraw_price
- Product raw price. Might be irrelevant if product has variable pricingsale_price
- Product sale price (whether product is on sale or not). Might be irrelevant if product has variable pricingsku
- Product skutype
- EDD product typevendor
- Product vendor. Returns a Loop of "edd_vendor" type.