Closed LucSpan closed 5 years ago
My WooCommerce has 3 different languages: default lang is French.
wcapi.get('products/?per_page=100').json()
gives up to 100 products in the default language.
wcapi.get('products/?lang=en').json()
gives up to 10 products in the English language.
How do I combine to two, such that I get up to 100 products in the English language?
Just use & to combination both, like any other query string in URLs.
&
My WooCommerce has 3 different languages: default lang is French.
wcapi.get('products/?per_page=100').json()
gives up to 100 products in the default language.
wcapi.get('products/?lang=en').json()
gives up to 10 products in the English language.
How do I combine to two, such that I get up to 100 products in the English language?