Skip to content

Customize fields returned when using includeProducts in useWishlist() + update readme #106

@heylols

Description

@heylols

This is a follow up issue for my previous one. Sorry if this is not supposed to be created as a separate issue.

Let me explain the scenario. Am using the code like this:
const { data: BC_wishlist_data } = useWishlist({includeProducts : true })

It seems to be returning the products with some fields of each Product. But I would like to get some more fields related to the product along with it. Say for example fields like: sku, meta_description, etc. So is it possible to pass the fields to be returned?

Also, I would highly appreciate if the README is updated with details like how to use includeProducts. This way, others would be able to understand too.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions