• Hello,
    I’m trying to use the plugin with the WooCommerce REST API, is this supported?

    I’m trying something like this: /wp-json/wc/v2/products?filter[meta_key]=price&filter[meta_value]=895 however it is returning all products, instead of ones with a price of 895.

    I know this is possible using the min/max price parameter, but how about a differnet key, such as name? E.g. I have two products with “name”: “Givenchy Red Logo Stripe Track Jacket”

    Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter dansugar

    (@dansugar)

    Hello,
    Still having issues when trying to use this plugin with the Woocommerce REST API.

    Is it possible to filter by this meta data? Here is an example for a product from wp-json/wc/v2/products:

            "meta_data": [
                {
                    "id": 36716,
                    "key": "_product_type",
                    "value": "external"
                },
                {
                    "id": 36719,
                    "key": "_dfrps_is_dfrps_product",
                    "value": "1"
                },
                {
                    "id": 36720,
                    "key": "_dfrps_is_dfrpswc_product",
                    "value": "1"
                },
                {
                    "id": 36721,
                    "key": "_dfrps_product_id",
                    "value": "12345"
                },
                {
                    "id": 36722,
                    "key": "_dfrps_product",
                    "value": {
                        "classid": "60",
                        "merchant": "merchant name",
                        "image": "imgurl",
                        "currency": "GBP",
                        "feed_id": "123445",
                        "salediscount": 0,
                        "discounttype": "amount",
                        "category": "Accessories > Womens Leisure Bags",
                        "suid": "3060310",
    
    ...
    

    Any ideas??

    Plugin Author sk8tech

    (@sk8tech)

    Hello, thank you for your message. This plugin supports REST API Filter for ACF & CPT. WooCommerce support is not yet added at this time.

    We’ll consider to add it to our road map. Thank you for your suggestion.

    please please add soon I already use this plugin on for my posts to pull to my app.

    • This reply was modified 6 years, 4 months ago by vajohnifi3d.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Woocommerce Support’ is closed to new replies.