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

if the stock is less than 0, the specific delivery time is not shown

    Details

    • How to reproduce the issue ?:
      N/A
    • Tests & Expected Results:
      N/A
    • Documentation Change:
      N/A

      Description

      If we have a product backordered, stock -1 or less the text with the transport delivery time does not show.

      Solution:

      In: \themes\classic\templates\catalog_partials\product-prices.tpl

      line 106

      Change:  {elseif $product.quantity == 0 && $product.add_to_cart_url}

      to:  {elseif $product.quantity <= 0 && $product.add_to_cart_url}

       

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              JuanjoSC Juanjo Sánchez
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: