Frage

Ich habe in Katalog/Ansicht/Optionen/Typ/configurable.phtml bearbeitet und dieser andere Typ, der an der Vorlage arbeitet, hat überall bearbeitet. Plötzlich fehlte der gesamte konfigurierbare Optionsblock (der konfigurierbar.phtml rendert) auf der Seite. Die folgenden Blöcke sind noch im Blick.phtml:

<?php if ($_product->isSaleable() && $this->hasOptions()):?>
                <?php echo $this->getChildChildHtml('container1', '', true, true) ?>
            <?php endif;?>

und

<?php if ($_product->isSaleable() && $this->hasOptions()):?>
                <?php echo $this->getChildChildHtml('container2', '', true, true) ?>
            <?php endif;?>

Was könnte sonst noch fehlen, was das Verschwinden des konfigurierbaren Optionsblocks verursachen würde? Es gibt keine Fehler in den Server- oder Magento -Protokollen, die anwendbar sind. Noch irgendwelche JavaScript -Fehler.

War es hilfreich?

Lösung

Wurden Änderungen an /app/design/frontend/default/®default weiblich/layout/catalog.xml vorgenommen?

<catalog_product_view translate="label">
 .....
            <block type="core/template_facade" name="product.info.container1" as="container1">
                <action method="setDataByKey"><key>alias_in_layout</key><value>container1</value></action>
                <action method="setDataByKeyFromRegistry"><key>options_container</key><key_in_registry>product</key_in_registry></action>
                <action method="append"><block>product.info.options.wrapper</block></action>
                <action method="append"><block>product.info.options.wrapper.bottom</block></action>
            </block>
            <block type="core/template_facade" name="product.info.container2" as="container2">
                <action method="setDataByKey"><key>alias_in_layout</key><value>container2</value></action>
                <action method="setDataByKeyFromRegistry"><key>options_container</key><key_in_registry>product</key_in_registry></action>
                <action method="append"><block>product.info.options.wrapper</block></action>
                <action method="append"><block>product.info.options.wrapper.bottom</block></action>
            </block>
            <action method="unsetCallChild"><child>container1</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
            <action method="unsetCallChild"><child>container2</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit magento.stackexchange
scroll top