Uploaded image for project: 'PrestaShop 1.7'
  1. PrestaShop 1.7
  2. BOOM-5447

Wrong "InStock" microdata for out of stock products

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: All 1.7 versions
    • Fix Version/s: 1.7.4.0
    • Component/s: Product Management
    • Labels:
    • How to reproduce the issue ?:
      Go to the Google structured data testing tool and try it with both in stock and out of stock products. Currently, out of stock products report as "In stock".
    • Tests & Expected Results:
      N/A
    • Documentation Change:
      N/A

      Description

      In Classic, there is a wrong schema of "InStock" for all products, regardless if the product is in or out of stock. If the product is out of stock, the right schema should be "OutofStock".

      I did a PR on my fork, I am new at this and I don't kow how to proerly do this:

      https://github.com/rdy4ever/PrestaShop/pull/1

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rdy4ever Horia Rudan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: