Skip to content
Rubin Shrestha
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
  • Search
Rubin Shrestha
  • Search
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
Home » Blog » Using object manager
Blog

Using object manager

by |Published August 8, 2022

I’ve question in the link below :
Get grand total and customer data variables

Now I solved the issue by using object manager directly, but I found too many people said it’s not recommended !

Could you please tell me why ? also is there another way to use ?

  • Magento
  • Magento1
  • Magento2

You may also like

TCP transparent proxy with cgroups2: How can I allow TCP traffic only and block all the rest coming from a cgroup?
Published October 1, 2022

TCP transparent proxy with cgroups2: How can I allow TCP traffic only and block all the rest coming from a cgroup?

I’m trying to setup a TCP transparent proxy with cgroups2: iptables -t nat -A OUTPUT -p tcp -m cgroup –path test –syn […]

migration from server 2008 to 2012 R2 using Robocopy
Published December 5, 2019

migration from server 2008 to 2012 R2 using Robocopy

I have old file server running Server 2008 and I have new file server that will be replaced it running 2012 R2. […]

Infosys HackWithInfy Interview Experience for Digital Specialist Engineer (2022)
Published July 26, 2022

Infosys HackWithInfy Interview Experience for Digital Specialist Engineer (2022)

Round 1 (Online Coding Test): This round was conducted during the first week of March 2022. There were 3 questions and the […]

Is there a way to prevent new profiles being added on chrome windows using registry editor?
Published September 14, 2023

Is there a way to prevent new profiles being added on chrome windows using registry editor?

I went here ComputerHKEY_LOCAL_MACHINESOFTWAREPoliciesGoogleChrome and created a Dword 32-bit value with the name BrowserAddPersonEnabled & value 1 This worked well but after […]

Interesting

  • Magento 2 – How to redirect to the last valid page when changing items per page in search results?
  • You haven’t provided your Magento authentication keys
  • How to load Available payment methods of custom page same as checkout does?
  • Does Magento integrate with Quickbooks online
  • Screenshots are in RAM (Not on Disk!) as BMP, which slows down things when pasting screenshots in chats. How can I change default format?
  • Issue with exchange backups via veritas netbackup client
  • Difference between chkdsk /r /x and chkdsk /offlinescanandfix
  • In the searchbar in windows how do I show all textfiles? thank you

Post navigation

  • Previous post Split button for catalog product admin page
  • Back to post list
  • Next post error: file ‘/grub/i386-pc/normal.mod’ not found
——————-
  • Magento 2 – How to redirect to the last valid page when changing items per page in search results?
  • You haven’t provided your Magento authentication keys
  • How to load Available payment methods of custom page same as checkout does?
  • Does Magento integrate with Quickbooks online
  • Screenshots are in RAM (Not on Disk!) as BMP, which slows down things when pasting screenshots in chats. How can I change default format?
——————-
  • Rubin Shrestha
  • Profile
  • Blog
  • Nepali Typing
  • Contact
——————-
  • Blog
  • Contact
  • Nepali Typing | Nepali Unicode | English to Nepali | English Conversion | English Translate | नेपाली to English | नेपाली टाईपिङ
  • Occasional Photography
    • The desert that everybody loves in pictures
  • Photography
  • Rubin Shrestha

© 2024 Rubin Shrestha – All rights reserved

Powered by WP – Designed with the Customizr theme