• Resolved bolt-corp

    (@bolt-corp)


    Hello,

    currently your code limit the number of product in the simulator. Indeed, get_post return 12 elements by default, please add “numberposts” => -1 to the args.

    file : class-emc-settings-simulator.php, line 36.
    code : $args = array( ‘post_type’ => ‘product’, “numberposts” => -1 );

    regards

    Guillaume Cribier

    https://wordpress.org/plugins/envoimoinscher/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author boxtale

    (@boxtale)

    Hi,

    Thanks for your input.

    Though it’s not intended, it’s actually a good thing that we limit the number of products to be displayed otherwise this would cause problems in sites with too many products.

    But in any case, we will keep this in mind in our future developments of the simulator page, which is still basic at this point.

    Regards,

    Arnaud

    Thread Starter bolt-corp

    (@bolt-corp)

    Hi,

    plz add a search field, it’s frustrating to edit your code every time I want use the simulator.

    Regards,

    Guillaume Cribier

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Offer Simulator – number of product’ is closed to new replies.