Open Steppio opened 2 years ago
Hi, great repo, very handy!
I'm just running into a little issue - I'm trying to pull Products from WooCommerce using the following:
$product2 = \Codexshaper\WooCommerce\Facades\Product::where('type', 'variable')->get();
However it's only returning 10 records at a time, but I can see that there are 131 records using the following:
$product2 = \Codexshaper\WooCommerce\Facades\Product::where('type', 'variable')->count();
Is there a setting somewhere where there is a maximum number of records returned per collection?
Thank you for your time!
Hi,
I've found a way around this problem so please ignore.
Thanks, Steven
Hi, great repo, very handy!
I'm just running into a little issue - I'm trying to pull Products from WooCommerce using the following:
$product2 = \Codexshaper\WooCommerce\Facades\Product::where('type', 'variable')->get();
However it's only returning 10 records at a time, but I can see that there are 131 records using the following:
$product2 = \Codexshaper\WooCommerce\Facades\Product::where('type', 'variable')->count();
Is there a setting somewhere where there is a maximum number of records returned per collection?
Thank you for your time!