How to move an extension's product tab sort order?

I was so close on the first attempt. I decided to let the BSS team figure it out or at least tell me they would or wouldn’t. My solution likely would have worked, but I needed to keep the arguments within the “block” tags. Currently the block tag is self closing. Here is the solution. This is the ONLY change that had to be made. No messing with other files.

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <head>
        <css src="Bss_ProductImagesByCustomer::js/fancybox/dist/jquery.fancybox.css" />
        <css src="Bss_ProductImagesByCustomer::js/OwlCarousel2-2.2.1/dist/assets/owl.carousel.css" />
        <css src="Bss_ProductImagesByCustomer::js/OwlCarousel2-2.2.1/dist/assets/owl.theme.default.css" />
    </head>
    <body>
        <referenceBlock name="product.info.details">
            <block class="Bss\ProductImagesByCustomer\Block\SliderTabProduct" ifconfig="bss_product_image_by_customer/bss_product_image_by_customer_general/enable" name="bss_productimagesbycustomer_tab" template="Bss_ProductImagesByCustomer::SliderTabProduct.phtml" group="detailed_info">
            <arguments>  
    			<argument name="sort_order" xsi:type="string">100</argument>
    		</arguments>
    		</block>
        </referenceBlock>
    </body>
</page>
1 Like