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

Help with Magneto code
 
owas
Jr. Member
 
Total Posts:  20
Joined:  2012-01-12
 

If any one could help with this I would be very grateful.

Below is the code from default.phtml file which I guess is the layout for the cart I would like to remove the summary column, or just the custom options and have the product name appear in this column.

The reason for this, as the site is selling a service rather than a product and a lot of costume options are required, and this are shown the cart page,making it look long and messy.

thanks

version 1.5

<td class="a-center"
        <
h2 class="product-name"
        </
h2
        
<?php if ($_options $this->getOptionList()):?> 
        
<dl class="item-options"
            
<?php foreach ($_options as $_option) : ?> 
            <?php $_formatedOptionValue 
$this->getFormatedOptionValue($_option?> 
            
<dt><?php echo $this->htmlEscape($_option['label']?></dt
            <
dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?> 
                <?php 
if (isset($_formatedOptionValue['full_view'])): ?> 
                
<div class="truncated_full_value"
                    <
dl class="item-options"
                        <
dt><?php echo $this->htmlEscape($_option['label']?></dt
                        <
dd><?php echo $_formatedOptionValue['full_view'] ?></dd
                    </
dl
                </
div
                
<?php endif; ?> 
            
</dd
            
<?php endforeach; ?> 
        
</dl
        
<?php endif;?> 
        <?php 
if ($messages $this->getMessages()): ?> 
        <?php 
foreach ($messages as $message): ?> 
            
<class="item-msg <?php echo $message['type'] ?>">* <?php echo $message['text'] ?></p
        
<?php endforeach; ?> 
        <?php 
endif; ?> 
        <?php 
if ($addtInfoBlock $this->getProductAdditionalInformationBlock()):?> 
            <?php 
echo $addtInfoBlock->setItem($_item)->toHtml() ?> 
        <?php 
endif;?> 
    
</td>
 
Magento Community Magento Community
Magento Community
Magento Community
 
Cameron_iWeb
Member
 
Avatar
Total Posts:  62
Joined:  2012-03-22
 

Do you mean the summary on the right side.

You would be better off removing it in the XML inside checkout.xml


There will be a handle called right sidebar, if you just comment this out this should help resolve your problem.


Sorry there is not a lot of detail (magento session expired as I was typing and did not save)

I hope this helps though.

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