Magento2 set custom options on product details page

  1. after - product.info.media
  2. before - tabs

How can I achieve this?

  • Can you share screenshot for more details – Msquare Apr 1 '20 at 9:52
  • Did you mean to put custom block after product.info.media? – SebastianT Apr 1 '20 at 9:53
  • If yes, you can try something like this: <referenceContainer name="product.info.media"> <block class="Vendor\Module\Block\Script" name="script_test" cacheable="false" template="Vendor_Module::script.phtml" after="-"/> </referenceContainer> – SebastianT Apr 1 '20 at 9:55
  • Yes I want to move customizable options set from admin after product.info.medis – Arjun Apr 1 '20 at 9:57
  • Ok, i've added one option, and i see thad customizable options are shown in product_addtocart_form , so you have to move whole add to cart form. – SebastianT Apr 1 '20 at 10:30

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.