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

Product_type_data
 
Lorrens
Jr. Member
 
Total Posts:  6
Joined:  2008-09-18
 

Hello,

I’m just can’t seem to find the templatefile for

<?php echo $this->getChildHtml('product_type_data'?>

The output is this:

<script type="text/javascript">
    var 
bundle = new Product.Bundle({"options":{"7":{"selections":{"7":{"qty":5,"customQty":"0","price":0,"priceValue":0,"priceType":"0","tierPrice":[]}},"isMulti":false}},"selected":{"7":["7"]},"bundleId":"12","priceFormat":{"pattern":"\u20ac %s","precision":2,"requiredPrecision":2,"decimalSymbol":",","groupSymbol":".","groupLength":3,"integerRequired":1},"basePrice":12.95,"priceType":"1","specialPrice":null});
</script>
    
<class="availability">Availability: <span class="value">In stock.</span></p>

<
div class="price-box-bundle">
    


<
div class="price-box">
                                                        <
span class="price">€ 12,95</span>                                    </div></div>

<
div class="price-box">
    <
class="price-as-configured">
        <
span class="price-label">Price as configured:</span>
                <
span id="product-price-12" class="price">€ 12,95</span>
        </
p>
</
div>
<
script type="text/javascript">
bundle.reloadPrice();
</script>

which generates:

Availability: In stock.
€ 12,95

Price as configured: € 12,95

I just can’t find where the Price as configured and the availabilty are located. Can somebody tell me?

Thanks in advance!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Cube Websites
Jr. Member
 
Avatar
Total Posts:  20
Joined:  2008-09-30
 

the template files you are looking for are:
app > design > frontend > default > default > template > bundle > catalog > product > view > type > bundle.phtml
app > design > frontend > default > default > template > bundle > catalog > product > view > price.phtml

bundle.phtml calls price.html with the line:

<?php echo $this->getPriceHtml($_product?>
 
Magento Community Magento Community
Magento Community
Magento Community
 
Lorrens
Jr. Member
 
Total Posts:  6
Joined:  2008-09-18
 

There is no bundle.phtml there, just configurable, grouped, simple and virtual .phtml..

And if I empty price.html as a whole, it still displays…

 
Magento Community Magento Community
Magento Community
Magento Community
 
Cube Websites
Jr. Member
 
Avatar
Total Posts:  20
Joined:  2008-09-30
 

Make sure you open the bundle folder first when you get to template
If you do that you’ll find the files mentioned in the above post

 
Magento Community Magento Community
Magento Community
Magento Community
 
Ben Marks
Guru
 
Avatar
Total Posts:  452
Joined:  2008-10-09
Charleston, SC
 

If you are using something other than the the default design, you may need to adjust the above paths (according to your package and theme):
app > design > frontend > PACKAGE > THEME > template > bundle > catalog > product > view > type > bundle.phtml
app > design > frontend > PACKAGE > THEME > template > bundle > catalog > product > view > price.phtml

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