category_products | R Documentation |
Products for a specific category
category_products(category_id, recursive = TRUE, ...)
category_id |
A category ID. |
recursive |
Should all sub-categories be included? |
... |
Arguments passed through to |
Details of all products for a specific category as a data.frame
.
# Get products for a specific category. ## Not run: category_id = categories() %>% filter(category_label == "red wine") %>% pull(category_id) category_products(category_id) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.