Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

I need to delete “As low as”.. 
 
klo81
Jr. Member
 
Total Posts:  10
Joined:  2013-03-20
 

I need to delete “As low as” from the category page when using Tier price. In which file i have to look for?

Image Attachments
tier2.png
 
Magento Community Magento Community
Magento Community
Magento Community
 
kdigennaro
Member
 
Total Posts:  47
Joined:  2012-05-20
 

You should find that inside ../template/catalog/product/price.phtml. Let me know if you have any other questions.

Best Regards,
Kevin DiGennaro

 
Magento Community Magento Community
Magento Community
Magento Community
 
klo81
Jr. Member
 
Total Posts:  10
Joined:  2013-03-20
 

Thanks Kevin i\’ll try.

 
Magento Community Magento Community
Magento Community
Magento Community
 
klo81
Jr. Member
 
Total Posts:  10
Joined:  2013-03-20
 

ok i’ve found but i don’t know how to delete. I don’t want to make mistake or broke the code. Any advice?

 
Magento Community Magento Community
Magento Community
Magento Community
 
kdigennaro
Member
 
Total Posts:  47
Joined:  2012-05-20
 
klo81 - 23 March 2013 07:35 AM

ok i’ve found but i don’t know how to delete. I don’t want to make mistake or broke the code. Any advice?

Around line 350 you should find the following code:

<?php if ($this->getUseLinkForAsLowAs()):?>
        
<a href="<?php echo $_product->getProductUrl(); ?>" class="minimal-price-link">
        
<?php else:?>
        
<span class="minimal-price-link">
        
<?php endif?>
           
<span class="label"><?php echo $this->__('As low as:'?></span>
            <
span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
                
<?php echo $_coreHelper->currency($_minimalPriceDisplayValuetruefalse?>
            
</span>
        
<?php if ($this->getUseLinkForAsLowAs()):?>
        
</a>
        
<?php else:?>
        
</span>
        
<?php endif?>

Just change the line (line 355 I think) that says

<span class="label"><?php echo $this->__('As low as:'?></span>

to

<span class="label"><?php echo $this->__(''?></span>

That’s the quickest and easiest way. That way if you ever want to go back and add something else in there you haven’t destroyed the file.

Good luck!
Kevin DiGennaro

 
Magento Community Magento Community
Magento Community
Magento Community
 
klo81
Jr. Member
 
Total Posts:  10
Joined:  2013-03-20
 

I’m thinking of your solution and i have one question. I need to delete not only the label but also the price. If you look on the image in the attechement there are two price in the category page, one is the “normal” and on is the “as low as” from tier price. My question is this: if i change the label will be enough or i’ve to change also something else of the price rules? the problem is that i want only one price under the thumbnail of the product, the tier price have to be visible only in the product page but not in the category page because the double price can be confusing for customers.

 
Magento Community Magento Community
Magento Community
Magento Community
 
klo81
Jr. Member
 
Total Posts:  10
Joined:  2013-03-20
 

Ok i’ll try

 
Magento Community Magento Community
Magento Community
Magento Community
 
happy_shopper
Jr. Member
 
Avatar
Total Posts:  29
Joined:  2008-10-29
the Netherlands
 

If you use a comment tag for that line the code won’t be destroyed too and it’s easy to restore.
<?php /* code that should not be used here */ ?>
It is applied in the piece of code below.

kdigennaro - 23 March 2013 12:12 PM

klo81 - 23 March 2013 07:35 AM
ok i’ve found but i don’t know how to delete. I don’t want to make mistake or broke the code. Any advice?

Around line 350 you should find the following code:

<?php if ($this->getUseLinkForAsLowAs()):?>
        <?php 
/* <a href="<?php echo $_product->getProductUrl(); ?>" class="minimal-price-link">
        <?php else:?>
        <span class="minimal-price-link">
        <?php endif?>
            <span class="label"><?php echo $this->__('As low as:') ?></span>
            <span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
                <?php echo $_coreHelper->currency($_minimalPriceDisplayValue, true, false) ?>
            </span>
        <?php if ($this->getUseLinkForAsLowAs()):?>
        </a> */ 
?>
        <?php 
else:?>
        
</span>
        
<?php endif?>
 
Magento Community Magento Community
Magento Community
Magento Community
 
klo81
Jr. Member
 
Total Posts:  10
Joined:  2013-03-20
 

I think that the css solution is the easiest.

I’ve searched in the css file and i’m wondering if the part i need to delete is this:

/* Minimal price (as low as) */
.minimal-price { margin:0; }
.minimal-price .price-label { font-weight:bold; white-space:nowrap; }

.minimal-price-link { display:block; }
.minimal-price-link .label {color:#999;;}
.minimal-price-link .price { font-weight:normal; color:#9b0e11; }

 
Magento Community Magento Community
Magento Community
Magento Community
 
happy_shopper
Jr. Member
 
Avatar
Total Posts:  29
Joined:  2008-10-29
the Netherlands
 

If you choose to remove it by css, than you can use this:

find the following class in the stylesheet and change the \"display\" parameter into \"none\"

as seen below

.minimal-price-link {
    color
#444444;
    
displaynone;
    
font-size12px;
    
text-decorationunderline;
}
 
Magento Community Magento Community
Magento Community
Magento Community
 
klo81
Jr. Member
 
Total Posts:  10
Joined:  2013-03-20
 

Ohh thanks. It worked and everything works fine!!

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top