workaround for number of products
This commit is contained in:
parent
73a03b77f5
commit
ba42f9f414
@ -62,6 +62,7 @@ function fulcrm_shoppingcart_admin_form( $form, &$form_state ) {
|
|||||||
|
|
||||||
$product_data = fulcrm_apiv2_GET( 'product/',
|
$product_data = fulcrm_apiv2_GET( 'product/',
|
||||||
$query = array( 'content_object__isnull' => 'true',
|
$query = array( 'content_object__isnull' => 'true',
|
||||||
|
'page_size' => 1000,
|
||||||
) );
|
) );
|
||||||
if ( $product_data[ 'success' ] ) {
|
if ( $product_data[ 'success' ] ) {
|
||||||
if ( $product_data[ 'data' ][ 'results' ] ) {
|
if ( $product_data[ 'data' ][ 'results' ] ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user