Magento Forum

   
Change order of items on product Page
 
dcsteam
Jr. Member
 
Avatar
Total Posts:  7
Joined:  2008-07-17
 

I’m using the modern theme and I’m trying to move the Options and Buy Blocks up to the top of the page just above “Quick Overview”

I found the template/catalog/product/view.phtml file and it seems the order is correct for what I want, but no mater what the Quick Overview shows first… What am I missing?

http://northlandequipmenttracker.com/store/index.php/northland-equipment-tracker.html

<div class="product-info-box">
            <
h3 class="product-name"><?php echo $this->htmlEscape($_product->getName()) ?></h3>

            
<?php if ($this->canEmailToFriend()): ?>
                
<a href="<?php echo $this->helper('catalog/product')->getEmailToFriendUrl($_product) ?>"><?php echo $this->__('Email to a Friend'?></a><br />
            
<?php endif; ?>

            <?php 
echo $this->getReviewsSummaryHtml($_productfalsetrue)?>

            
<fieldset class="no-display">
              <
input type="hidden" name="product" value="<?php echo $_product->getId() ?>" />
              <
input type="hidden" name="related_product" id="related-products-field" value="" />
            </
fieldset>
            
<?php echo $this->getChildHtml('alert_urls'?>
            <?php 
echo $this->getChildHtml('product_type_data'?>

            <?php 
if (!$this->hasOptions()):?>
                <?php 
echo $this->getChildHtml('tierprices'?>
                
<div class="add-to-boxes">
                
<?php if($_product->isSaleable()): ?>
                    <?php 
echo $this->getChildHtml('addtocart'?>
                <?php 
endif; ?>
                <?php 
echo $this->getChildHtml('addto'?>
                
</div>
            
<?php else:?>
                <?php 
echo $this->getChildHtml('addto'?>
            <?php 
endif; ?>
            
            <?php 
if ($_product->getShortDescription()):?>
                
<h4 class="border-head"><?php echo $this->__('Quick Overview'?></h4>
                <
div class="short-description"><?php echo nl2br($_product->getShortDescription()) ?></div>
            
<?php endif;?>

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sensi
Sr. Member
 
Total Posts:  103
Joined:  2008-07-31
Paris, France
 

You also have to edit the relevant xml file. In your case edit ‘app/design/frontend/default/modern/layout/catalog.xml’, search in it for <!-- Product view --> and change the order of the elements here too.

 
Magento Community Magento Community
Magento Community
Magento Community
 
davindersangha1
Jr. Member
 
Total Posts:  14
Joined:  2012-05-31
 

I\’m trying to do the same with my site. I need to move the Additional info box and the tabbed box just underneat the Quick Overview and above the colour / size select box.

I\’ve modified the theme316 catalog.xml and view.phtml files, but nothing seems to be working correctly. Any suggestions?

http://wwdev.digital22.com/index.php/uc101.html

Image Attachments
Screen shot 2012-06-21 at 10.57.43.png
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top