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

[webservice] get product price without specific price is KO

    Details

    • Type: Bug
    • Status: To Do
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: All 1.7 versions
    • Fix Version/s: None
    • Component/s: Taxes and Prices
    • Labels:
    • How to reproduce the issue ?:
      N/A
    • Tests & Expected Results:
      N/A
    • Documentation Change:
      N/A

      Description

      Hi,

      [Disclaimer]
      This bug report was created by me to PSCSX-7445 on the year 2015 for Prestashop 1.6.
      Strange to understand, but Prestashop team asked me to duplicate it for 1.7.
      So i add it here for Prestashop 1.7.
      [/Disclaimer]

      I'd like to get product price throw webservice.
      I need the price without any reduction or specific price.
      I must get product price and not its combination price.

      So, i do this http request in order to get wanted price into "my_price" xml node:

      http://myshop/api/products/4062?price[my_price][product_attribute]=0&price[my_price][use_tax]=0&price[my_price][use_reduction]=0

      With this request, if i've a specific price for all combinations, currency, groups, etc... (all everybody) and if i uncheck "base price", i get specific price into my_price instead of product price without reduction.

      Thanks for fix.

      Best regards.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              maxime Maxime
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: