Uploaded image for project: 'Prestashop 1.6'
  1. Prestashop 1.6
  2. PSCSX-9616

Discounts not displayed in customer account

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.6.1.17
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      Hello,

      I've made to cart rules in my shop (1.6.1.17)

      There are well displayed in shopping cart, but not in discount of customer account. 

      If i do a print_r($cart_rules) in DiscountController, i've my discount. 

      But, in the foreach they are unset beacause of:

        if ($discount['gift_product'] !== 0) {
      

      if i change it into: 

        if ($discount['gift_product'] !== "0") {
      

      It's ok

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                guillaume23 Guillaume Batier
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: