Fix wrong Product image tab position after installing on M2.3.5_p2

Created by Jane D, Modified on Tue, 10 Nov, 2020 at 3:49 PM by Jane D

QUESTION:


I use your module M2 Product Images by Customer for my site Magento 2.2.5 and it works fine so far.

However, when I install it on the other site Magento 2.3.5_p2, I see that the Product Image tab is no longer in the correct position.

The position of the tab from the end on M2.2.x, it now stands before Details tab on product page.


Is there any hotfix?


ANSWER:


To fix the tab position error, please edit the file app/code/Bss/ProductImagesByCustomer/view/frontend/layout/catalog_product_view.xml as below:


Remove line 28: 

<block class="Bss\ProductImagesByCustomer\Block\SliderTabProduct" ifconfig="bss_product_image_by_customer/bss_product_image_by_customer_general/enable" name="zzbss_productimagesbycustomer_tab" template="Bss_ProductImagesByCustomer::SliderTabProduct.phtml" group="detailed_info">


And add:

<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">


Screenshot: 


Or download the attached file below and overwrite the current file on your site.


If you have any other question or concern, please feel free to contact us. We'd be happy to support!


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article