I am developing a module and would like to put a block on the product page, immediately underneath the short description and above the dropdown selection. I have looked at every single answered question on this site and none of the options work. I honestly have no idea why this should be so difficult but I have spent half a day trying various solutions and can get it near where I want it but not where I actually want it.
Magento 2.3, developing a module (not a theme), I just need to put my block immediately beneath product short description.
This is the closest I can get:
app/code/MyVendor/MyModule/frontend/layout/catalog_product_view.xml
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="product.info.options.wrapper.bottom">
<block class="Magento\Framework\View\Element\Template"
name="product.info.my_block_name"
template="MyVendor_MyModule::template_name.phtml"
before="-" />
</referenceBlock>
</body>
</page>
This code puts the block above the quantity field but still below the selection dropdowns which I don't want. I'm assuming something else needs to go into referenceBlock name but I can't find it.