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

Duplicate products with catalog discount return duplicate error

    Details

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

      Description

      If you have configured some catalog price rules it's impossible to duplicate a products with rule.

      I think that the duplication process try to duplicate the price rule too.

      This is the error report from the admin panel:

      Duplicate entry '0-224-1-0-0-0-0-0-0-1-1-2016-07-01 12:00:00-2016-09-30 12:00:00' for key 'id_product_2'

      INSERT INTO `ps_specific_price` (`id_shop_group`, `id_shop`, `id_cart`, `id_product`, `id_product_attribute`, `id_currency`, `id_specific_price_rule`, `id_country`, `id_group`, `id_customer`, `price`, `from_quantity`, `reduction`, `reduction_tax`, `reduction_type`, `from`, `to`) VALUES ('0', '1', '0', '224', '0', '0', '1', '0', '0

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                michele.bertuccioli@retorica.net Michele Bertuccioli
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: