decimal

In Magento 2 Decimal comes from Database so if you want to remove from qty than you need to create column renderer. Please follow below step to create module.

Create Folder like app/code/Agtech/Qty and put below code into registration.php file
Copy to Clipboard
After that create composer.json file into above same path like registration.php and put code.
Copy to Clipboard
Create etc/module.xml file into etc folder and add sequence tag follows
Copy to Clipboard
Create a renderer Agtech/Qty/Ui/Component/Listing/Columns/DecimalRemove.php and put below code
Copy to Clipboard
Create a renderer Agtech/Qty/view/adminhtml/ui_component/product_listing.xml
and put below code
Copy to Clipboard

That’s it. Now, You can remove decimal from quantity in product grid in Magento admin. If you face any problem while during so then Contact our Support Team.

Published On: December 27th, 2024 / Categories: Magento 2 / By /

Let’s Make Things Happen

Transforming your ideas into reality is our expertise. Share your vision without hesitation, and let our skilled team bring it to life.

“Akshar Group Technologies did such a great job at resolving the initial problem that the partnership expanded to include further development and is still ongoing. Diligent and committed, the team goes above and beyond to deliver their work promptly. They have an extensive knowledge base.”

Justin Delp

Digital Engage, US

By submitting my data I agree to be contacted