Try the Demo

Magento Forum

   
Product description not staying within product-info-box - any ideas? 
 
sherrie
Moderator
 
Avatar
Total Posts:  1652
Joined:  2007-12-14
Illinois, USA
 

Ok, the link is www.minervapromotions.com/gladrag

I am running 1.0.19870.1 and very very loosely using the modern theme - at this point it’s so customized you can’t tell that’s what it was originally customized from.

Right now, my product description won’t fit up next to the add to cart box where it needs to be.  I’ve checked and made sure the code for it is located in product-info-box, but it doesn’t seem to be working.

Am I missing something really obvious here?

Image Attachments
Firebug.jpgEnd.jpg
 Signature 

UX Manager, Sweet Tooth
Creativity is falling in love with the world. – Dewitt Jones
I’m a very random person, catch me if you can: http://www.twitter.com/sherrierohde

 
Magento Community Magento Community
Magento Community
Magento Community
 
ikuzyk
Magento Team
 
Avatar
Total Posts:  60
Joined:  2007-08-09
Ternopil, Ukraine
 

hi sherrie

carefully review your code cause now your “description-box” div is out of “product-info-box” div

this is how it looks now:

<div class="product-info-box">
    <
form action="http://minervapromotions.com/gladrag/checkout/cart/add/uenc/aHR0cDovL21pbmVydmFwcm9tb3Rpb25zLmNvbS9nbGFkcmFnL2ktaGVhcnQtbGEuaHRtbA==/product/1/" method="post" id="product_addtocart_form">
    * * * * * * * * * *
    </
form>
</
div>
<
div style="" class="description-box">
    <
h4 style="" class="border-head">Description</h4>
    * * * * * * * * * *
</
div>

hope its help

 Signature 

while (!success){ try(); }

 
Magento Community Magento Community
Magento Community
Magento Community
 
sherrie
Moderator
 
Avatar
Total Posts:  1652
Joined:  2007-12-14
Illinois, USA
 

Thanks for your reply!

But ... it’s in there in my code and still not acting like it, this is what I have at template/catalog/product/view.phtml

<div class="product-info-box">
    <
form action="<?php echo $this->getAddToCartUrl($_product) ?>" method="post" id="product_addtocart_form">
      <
fieldset>
      <
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'?> <br/>
    </
form>
    <
div class="description-box">
      <
h4 class="border-head"><?php echo $this->__('Description'?></h4>
      
<?php echo nl2br($_product->getDescription()) ?> 
    
</div>
    <
script type="text/javascript">
                var 
productAddToCartForm = new VarienForm('product_addtocart_form');
                
productAddToCartForm.submit = function() {
                    
if(this.validator.validate()) {
                        this
.form.submit();
                    
}
                }
.bind(productAddToCartForm);
            
</script>
  
</div>

 Signature 

UX Manager, Sweet Tooth
Creativity is falling in love with the world. – Dewitt Jones
I’m a very random person, catch me if you can: http://www.twitter.com/sherrierohde

 
Magento Community Magento Community
Magento Community
Magento Community
 
sherrie
Moderator
 
Avatar
Total Posts:  1652
Joined:  2007-12-14
Illinois, USA
 

Well, I got it up there - but I had to put it ahead of the add-to-cart-box element, which seemed weird to me.  That’s ok, it works now. smile

 Signature 

UX Manager, Sweet Tooth
Creativity is falling in love with the world. – Dewitt Jones
I’m a very random person, catch me if you can: http://www.twitter.com/sherrierohde

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