I am working on the product catalog page using my customized theme. Is it possible to insert my customized tier_prices.phtml inside my customized addtocart.phtml file? I need to put my tier prices table under the qty input box.

This is what I want to accomplish

This is what I want to accomplish

This is the screenshot of html codes for each block ( tier_prices and addtocart). Thanks.

Please help. Thanks.

  • could you share you page URL to inspect – Manoj Deswal Oct 10 '17 at 9:15
  • im still working on my localhost. i'll update my post to include screenshots of html codes.thanks. – liani.kismet Oct 11 '17 at 7:41
  • try with <move element="product.price.tier" destination="product.info.form.content" after="product.info.addtocart" /> – Rakesh Jesadiya Oct 11 '17 at 8:43
  • it didn't work since the Add to Cart button is inside the block "product.info.addtocart" and i want to put the block "product.price.tier" between the Qty input box and Subtotal. i also tried including the tier_prices.phtml within addtocart.phtml using the "<?php include ($block->getTemplateFile(...)) ?>" command but got some errors. – liani.kismet Oct 12 '17 at 6:42

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.