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

Which template can I find how to change this? 
 
spadez8
Member
 
Total Posts:  42
Joined:  2009-08-11
 

Hi,

Im trying to change the layout of one of my themes. I understand that this theme isnt part of magento, but im hoping you can tell me the template I can look in to find out how to change this, as I find the template system on Magento quite confusing.

Attached is a screenshot of what im hoping to achieve. The bottom is how I would like it to look. It basically involves removing the “or” text and putting the price in the right of the box.

Thank you for any help you can give.

James

Image Attachments
templatehelp.bmp
 
Magento Community Magento Community
Magento Community
Magento Community
 
Raptor Commerce (toby)
Sr. Member
 
Total Posts:  180
Joined:  2009-01-31
 

If you’re using a custom theme you should ask the theme developer to help you with this. Hopefully they support template and block path hints so you’ll be able to identify the relevant config easily

 
Magento Community Magento Community
Magento Community
Magento Community
 
nathus
Sr. Member
 
Total Posts:  93
Joined:  2008-12-13
Twin Cities, MN
 

Not sure on your specific template, but that is in the catalog/product/view.phtml in the blank template.

It is in this area of the blank template.

<?php echo $this->getReviewsSummaryHtml($_productfalsetrue)?>
            <?php 
echo $this->getChildHtml('alert_urls'?>
            <?php 
echo $this->getChildHtml('product_type_data'?>
            <?php 
echo $this->getChildHtml('tierprices'?>

            <?php 
if (!$this->hasOptions()):?>
                
<div class="add-to-box">
                    
<?php if($_product->isSaleable()): ?>
                        <?php 
echo $this->getChildHtml('addtocart'?>
                        <?php 
if( $this->helper('wishlist')->isAllow() || $_compareUrl=$this->helper('catalog/product_compare')->getAddUrl($_product)): ?>
                            
<span class="or"><?php echo $this->__('OR'?></span>
                        
<?php endif; ?>
                    <?php 
endif; ?>
                    <?php 
echo $this->getChildHtml('addto'?>
                
</div>
            
<?php else:?>
                <?php 
echo $this->getChildHtml('addto'?>
            <?php 
endif; ?>

The price is printed out I believe by the ‘echo $this->getChildHtml(’product_type_data’)’ section.

Again, I’m not sure how it is exactly in your template, but this might help you out some.

 
Magento Community Magento Community
Magento Community
Magento Community
 
rc2429
Jr. Member
 
Total Posts:  2
Joined:  2009-08-26
 

Thanks for the info i also stuck in similar situation but worked out
Thanks
RC

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