Our team intervenes within 48 hours, we recommend you submit a public ticket so that other developers can help to fix the issue as soon as possible.

If you purchased the item 6 months ago, please read the Item Support Policy carefully before submitting a ticket.

Note: don’t share item or server credentials on public, use the private option.

Okay
  Public Ticket #2561882
Disable users purchase option, only see.
Closed

Comments

  •  8
    rodrigoibarra10 started the conversation

    Hi! How can I remove the Purchase option? I mean, my clients can publish their offers, but for now I don’t want that the users can purchase, only see.

    I'm on my Admin Panel but I don't know what modules I need to disabled.

    I appreciate your help.

  •  219
    Amine replied

    Hey Rodrigo, i hope you doing well,

    Yes, you can do it by disabling module "Nsoder" from Modules Manager.

    Best Regards DT team.

    Dealfly (E-commerce app + Delivery app) => Buy now from envato 

    NearbyStores iOS => Buy now from envato / Android => Buy now from envato / Web => Buy now from envato

  •  8
    rodrigoibarra10 replied

    Hi! I disabled this module and in iOS now can't make orders but in Android still.

    How can I solve this?

    Thank you for your time!

  •  219
    Amine replied

    Hey , we will send you new updated files asap.

    Best Regards DT team.

    Dealfly (E-commerce app + Delivery app) => Buy now from envato 

    NearbyStores iOS => Buy now from envato / Android => Buy now from envato / Web => Buy now from envato

  •  8
    rodrigoibarra10 replied

    Thank you. I'm waiting

  •  142
    Elyas replied

    Hello Rodrigo ,

    Please go to the following file   src/main/[package_name]/navigationdrawer/NavigationDrawerFragment.java add this code under the line 229 :


    //enable or disable order from config API
    if (!SettingsController.isModuleEnabled(Constances.ModulesConfig.ORDERS_MODULE)) {    
    orders.setEnabled(false);
    } else {    
    orders.setEnabled(true);
    }

    see the example :

    3685488300.png


    Go to the file src/main/java/[package_name]/activities/OfferDetailActivity.java  replace the line in 494 with the following :

    if (mOffer.getOrder_enabled() == 1 &&
      SettingsController.isModuleEnabled(Constances.ModulesConfig.ORDERS_MODULE)) {

    7874248990.png


    Best Regards DT team.

    NearbyStores iOS => Buy now from envato

    NearbyStores Android => Buy now from envato

    Follow us on Facebook Page => Here