My question involves how the qty increment message is displayed on the frontend.

What I want to do is only display the message found in the qtyincrement.phtml file when the qty increment is greater than one. If the item is purchasable in a quantity of 1 I don't want the message displayed. What is the best way to achieve this?

I am currently on version 1.9


Edit app/design/frontend/[PACKAGE]/[THEME]/template/cataloginventory/qtyincrements.phtml and add another condition into the if statement like so:

<?php if ($this->getProductQtyIncrements() && $this->getProductQtyIncrements() > 1) : ?>

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.