Magento Forum

   
Custom Options don´t show up in cart
 
lirum
Jr. Member
 
Total Posts:  3
Joined:  2012-10-17
 

Hi,

I can´t fix this problem. I am using 1.7.02

I have a simple product with custom options - I can see this options in backend but not in my Shopping Cart in the Frontend.

My default.phtml in /checkout/cart/item looks like this

<h2 class="product-name">
        
<?php if ($this->hasProductUrl()):?>
            
<a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->htmlEscape($this->getProductName()) ?></a>
        
<?php else: ?>
            <?php 
echo $this->htmlEscape($this->getProductName()) ?>
        <?php 
endif; ?>
        
</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>

Does anyone know this problem or where do I have look for mistakes?

Thanks!

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