• Resolved kenmobility

    (@kenmobility)


    I’m making use of Atum Inventory plugin, but for some reasons, I wouldn’t want other users of my e-commerce back end that use the Atum inventory stock central to have the capability of changing the value of the stock quantities via the stock central module, please how can I achieve. this. Thanks.

Viewing 11 replies - 1 through 11 (of 11 total)
  • andrearebel1

    (@andrearebel1)

    Hi @kenmobility

    To achieve this you can use the User Role Editor plugin to add or delete user capabilities.

    Hope this helps,

    Best Regards,

    Andrea.

    Thread Starter kenmobility

    (@kenmobility)

    Hello Andrea,

    Thank you for your response, but I have the User Role Editor plugin and have tried to disable some capabilities on that particular role by trial and error but none of them seems to be work. I have the capabilities in the screenshot on this link, I would appreciate your help immensely. Thanks

    View post on imgur.com

    andrearebel1

    (@andrearebel1)

    Hi @kenmobility

    I see. Sorry, I misunderstood your needs and my first thought was that it was possible with User Role Editor. I’m afraid that actually the only way to achieve this is with custom development, but as we don’t offer this service you will need to hire a developer.

    Accept my apologies again.

    Best Regards,

    Andrea.

    Thread Starter kenmobility

    (@kenmobility)

    Hello Andrea,

    thanks a lot for your help, but I still feel you don’t understand what I’m trying to achieve with the Atum plugin. I really appreciate you guys for this awesome plugin that you guys have made available for us to be using, thanks a lot for that.

    But I believe there is a way the developers of Atum can include the toggle in the settings of Atum to enable or disable editing and updating of stock quantities from the stock central module. I would want to disable it entirely, regardless of any user role this time around.

    I have users that log in to use the Atum plugin menu only to be checking products that are still in stock and out of stock while the admin of the e-commerce site has access to the products and updating their stock quantity.

    Now I wouldn’t want these other users to be able to be messing around with the stock quantity of products also just because they have access to Atum stock central menu, and it doesn’t record the user that updated any quantity for audit trail and so on.

    Please I would appreciate it if this request can be done in the next version release of Atum. Thank you.

    Plugin Author Stock Management Labs

    (@stockmanagementlabs)

    Hi @kenmobility , @andrearebel1 ,

    Thank you very much for your reply and for the appreciation. We are glad you like the plugin.

    Please, note, we can add the feature for sure, but I can not guarantee when it will be available. At this time I am piling tons of very urgent work on my developers to make sure ATUM is what I and the users need it to be. I understand this feature is important to you, but let me suggest something.

    Any change to the stock has to be confirmed by hitting the SAVE button at the top of Stock Central. If this button is not pressed no change will happen even if your users accidentally change the stock amount.

    This is not the place to say this and I apologise to the forum admins (pls do not delete this post :-)), but we have an add-on that records any changes to WooCommerce or ATUM you or your users make. If you want more info, pls follow the ATUM website.

    Let me know if it is suitable for you.

    Pavel

    Thread Starter kenmobility

    (@kenmobility)

    Hello Pavel and Andrea,

    I really appreciate your help so far considering how much I need this feature. I’m looking forward to when your developers will include it.

    But for now, I feel that hiding the save button will be a quick solution for me right now, please can you help me with a filter or hook that will help me achieve this. Thanks.

    Plugin Author Salva Machi

    (@salvamb)

    Hi @kenmobility

    The save button is being added on-demand through javascript, so it cannot be removed using a PHP filter.
    However, you could easily hide it by adding CSS to the page. Something like this should work:

    #atum-update-list {
      display: none !important;
    }

    Best Regards,
    Salva.

    Thread Starter kenmobility

    (@kenmobility)

    Hello Salva,

    Thank you for your response, I have used the CSS rule but it did not work, anytime an update on the stock quantity is made on the stock central page, the ‘Save data’ button still appears.

    Plugin Author Salva Machi

    (@salvamb)

    Hi @kenmobility

    Please, make sure the CSS code is being added to Stock Central’s page or it won’t work. You can check it up through the Chrome dev tools.
    I’ve just tested it myself and worked.

    If you need more info about our recommended way to add those styles, please do read this article:

    https://forum.stockmanagementlabs.com/d/365-how-to-change-the-styles-in-atum-list-tables

    Best Regards,
    Salva.

    Thread Starter kenmobility

    (@kenmobility)

    Hello Salva,

    Thank you so much, it worked.

    Plugin Author Salva Machi

    (@salvamb)

    Good to know!

    You’re welcome ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘How to disable Setting/updating of Stock Quantity value from Atum Stock central’ is closed to new replies.