Support for Envato Buyers Forums Mostore Missing Slider REST endpoint

Viewing 5 reply threads
  • Author
    Posts
    • #26457
      ftd
      Participant

      I’m just evaluating this plugin and it looks like the home_slider setting and related REST endpoint are not included in the latest WP plugin download.

      The ‘APP Home Slider’ field on this page https://mostore.mofect.io/configure-app/manage-app-slider does not exist and if I amend the code to add it the related call:

      
      WordPressApiInstance().get('mofect-slider/'+MF_CONFIG('home_slider'))
      

      is served by a 404.

      Please can you confirm what is going on?

      Edit: OK I worked out why the 404 – because i wasn’t using ID. I’ve fixed this but can you confirm why the ‘APP Home Slider’ field is not shown in the ‘Mobile configuration’ plugin admin screen.

    • #26476

      Hi

      Please go to Mofect Mobile > Mobile Web App page, check if the App is not activated.

      Also, what the version of your Mofect mobile plugin and Mostore app?

      You can check the app version from https://yoursite.com/mobile/config/info.json

      Thanks

    • #26478
      ftd
      Participant

      Hi

      Mofect WP Plugin version is 1.1.0
      App version is 1.1.1 according to changelog and info.json

      The app is authenticated. I’m using a custom url so the page you mention is not available. However the app is connecting and pulling products/categories correctly and i can administer the menu.

    • #26550

      Could you send me your backend link and Login details via the private reply? I’m not sure the reason so I have to check some related settings.

      Thanks

    • #26614
      ftd
      Participant

      Hi – Unfortunately this is running locally only.

      However if I search through the WordPress plugin code for ‘home_slider’ – which is the option that is being loaded via the homeActions for the react app via MF_CONFIG – there is nowhere that it is being added/registered via $mobile_options->add_field or similar.

      Can you confirm I am running the latest plugin/app versions?

    • #26674

      You are running the latest version of app and plugin.

      The slider field and some other fields are dynamically loaded from mobile/config/options/ folder,
      the plugin read the json files like home.json, preloading.json (These are the option configuration files)

      So, if the option doesn’t display, the only reason is that the plugin can’t read the option json files from your local custom URL. Can you read the options file via https://your-custom-url/config/options/home.json?

      I think if you deploy the app folder online, the option will be displayed.

      Thanks

Viewing 5 reply threads
  • You must be logged in to reply to this topic.