scandipwa / scandipwa

Next-generation front-end for Magento 2

Home Page:https://scandipwa.com/?utm_source=github&utm_medium=readme&utm_campaign=general

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disabled products page issue

Ylmzef opened this issue · comments

commented

Disable a product from the Catalog, it loading endless on frontend instead of 404 page..

Steps to reproduce:

  1. Go to Magento Admin Panel then Catalog -> Products
  2. Edit a product and set "No" value for the "Enable Product" option.
  3. Check the disabled product URL from the frontend.

Actual result
The PDP page of the disabled product never loads, it stucks at loading (skeleton layout)

Expected result
In this case, the Luma theme informs visitors with the 404 page.

Testing details
Screenshot/Screencast
Scherm­afbeelding 2023-05-08 om 17 13 58

Versions
ScandiPWA ver. 6.2.1
Magento ver. 2.4.6

Additional context
Provides bad influence for SEO and search engines

can you please elaborate the issue. I want to work on the issue

commented

@noobCode-69 i updated issue details.

@Ylmzef ,

I have fixed the issue, there was an issue in the one condition.

There was an issue in importBooster variable.

That variable type is object and because of some unusual behaviour of the Javascript compiler this issue is occurrence.

Fixed :- e741c38