Magento Asked by Sam Provides on December 27, 2020
We’ve got a module that prints a message with estimated delivery.
This module has an xml layout file with this code
<reference name="product.info.simple">
<action method="setTemplate">
<template>estimateddeliverydate/catalog/product/view/type/default.phtml</template>
</action>
<block type="estimateddeliverydate/catalog_product_view_message" name="estimated_delivery_date_js" template="estimateddeliverydate/catalog/product/view/message/js.phtml"></block>
<block type="estimateddeliverydate/catalog_product_view_message" name="estimated_delivery_date" template="estimateddeliverydate/catalog/product/view/message/default.phtml"></block>
</reference>
Html code is like this:
<div class="product-type-data">
<div id="estimated-delivery-date-container">
<div class="estimated-delivery-date"> ..... </div>
</div>
<p class="availability in-stock">Availability: <span> available</span></p>
<div class="price-box">
... price
</div>
</div>
I would like to move the estimated delivery div at the end of "product-type-data" div.
Already tried adding after="product.info.simple.extra" in estimateddelivery.xml layout file, but does not work.
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP