workaround for number of products

master
Marek Isalski 6 years ago
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…
Cancel
Save