v1.0.9: Fix error parent product not show Pre Order button when all child products are pre order

Created by Jane D, Modified on Wed, 4 Nov, 2020 at 2:01 PM by Jane D

QUESTION:


We use module PreOrder version 1.0.9 for my Magento 2.2.

However, there is an issue that I notice that when all the child products are pre-order, parent product doesn't show the Pre-Order button.

If there any way to fix this error? 


ANSWER: 


To fix this error, please edit files as below:


+ app/code/Bss/CustomizePreOrder/Helper/ProductData.php


  • + app/code/Bss/CustomizePreOrder/Plugin/CategoryCheck.php


Or download the attached files below and overwrite the current files 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