0

How to move custom container (product.info.extrahint) after add to cart button in product detail page in magento 2

catalog_product_view.xml

    <referenceContainer name="content">
        <block class="a\b\Block\Js" as="breadcheckout.prod.js" name="breadcheckout.prod.js"/>
    </referenceContainer>
     <referenceContainer name="product.info.extrahint">
        <block template="template path" class="a\b\Block\Product\View" as="breadcheckout.prod.view" name="breadcheckout.prod.view" before = '-'/>
    </referenceContainer> 
    <referenceBlock name="product.info.options.wrapper">
        <block template="template path" class="a\b\Block\Product\View" name="breadcheckout.checkout.options"/>
    </referenceBlock>
  • can you share your custom container code here? – Shoaib Munir Apr 16 at 7:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.