nopCommerce 4.30 microdata is incorrectly set to OutOfStock

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
3 年 前
1. nopCommerce 4.3

2. Product is available and has Track Inventory and could be purchased but Display availability is not checked.

3. The microdata for the product is incorrectly set to OutofStock:

<meta itemprop="availability" content="http://schema.org/OutOfStock"/>


4. Simply uncheck "Display availability" for any product that is available and you will replicate the issue.

Thanks,
Boyko
3 年 前
Thanks for the info. We'll check it.
3 年 前
When Tracking by Product Attribute and all attribute combinations have stock, microdata shows OutOfStock. Is this by design? First attribute combination is pre-selected on page load and shows In Stock.

Applied commit from #5116 but no change in behavior for tracking by product attribute.

Regards
3 年 前
itinnovations wrote:
When Tracking by Product Attribute and all attribute combinations have stock, microdata shows OutOfStock. Is this by design? First attribute combination is pre-selected on page load and shows In Stock.

Applied commit from #5116 but no change in behavior for tracking by product attribute.

Regards


I cannot reproduce this in the develop branch (where the commit changes for #5116 are already included), In/OutStock microdata switches correctly depending on the product combination availability.
Could you provide a more detailed list of steps to reproduce the error?
2 年 前
I was fix that bug with older version
https://www.nopcommerce.com/en/boards/topic/81495/micro-data-out-of-stock-problem-i-have-solution-code
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.