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

In Magento 2 :- How to give return functionality of rma-graphql module for guest users
Published September 29, 2023

In Magento 2 :- How to give return functionality of rma-graphql module for guest users

I want to give the return functionality for the guest users in rma-graphql default module. Also, I want to revoke the customer […]

Customer login is missing in Magento 2 Luma header
Published January 21, 2020

Customer login is missing in Magento 2 Luma header

I have a custom Luma theme I use for my store, for whatever reason sign in link is missing but I do […]

Magento 2.3.7 – Google Analytics 4 with Google Adwords
Published June 29, 2023

Magento 2.3.7 – Google Analytics 4 with Google Adwords

Regarding a Magento 2.3.7 website, I was asked to assist a company with Google Analytics 4 setup this week. They are using […]

Published March 14, 2022

“one of the hyper-v components is not running” how to get more information on this issue?

I just reinstalled all Hyper‑V features after disabling them for using another hypervisor that didn’t support pci‑e passthrough. There aren’t more details […]

Interesting

  • How to find password of an unknown wifi network [closed]
  • How do I display gridlines in Paint.net?
  • Router Page Not Opening Even Though the Internet Is Working
  • How can I keep my browser tabs from closing when Windows restarts?
  • How can I see in GitHub Copilot which plugins my organization requires in the GitHub Copilot desktop app?
  • A customer fills their cart, enters shipping details, and clicks Place Order.
  • Magento 2.4.7 store, 15k products: product pages rank, category pages stuck at pos. 18-25 for two years
  • how to set Catalog Price Rule per Store View in magento 2

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
——————-
  • How to find password of an unknown wifi network [closed]
  • How do I display gridlines in Paint.net?
  • Router Page Not Opening Even Though the Internet Is Working
  • How can I keep my browser tabs from closing when Windows restarts?
  • How can I see in GitHub Copilot which plugins my organization requires in the GitHub Copilot desktop app?
——————-
  • 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

© 2026 Rubin Shrestha – All rights reserved

Powered by WP – Designed with the Customizr theme