Hi how can i remove decimals to not show for qty in my xml file i'm using this code to show qty $item->getQtyOrdered() i already have tried with product no Decimals from the adim in catalorg product but not working


You can use any php function to strip the decimals:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.