Jump to content

1.7.6.8 webservice leave_bprice issue


Denis

Recommended Posts

Hi! I'm using webservice to send specific_prices resource. Schema does not contain leave_bprice property and when adding specific price for product with webservice this property is exluded. If open this product in back office we see that Leave initial price checkbox is unchecked what causes showing 0 price on the product's page, because the price property in xml is 0 and my app logic doesn't allow send price > 0

 

<prestashop xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><specific_price><id_shop_group>0</id_shop_group><id_shop>0</id_shop><id_cart>0</id_cart><id_product>299</id_product><id_product_attribute>0</id_product_attribute><id_currency>0</id_currency><id_country>0</id_country><id_group>0</id_group><id_customer>8</id_customer><id_specific_price_rule>0</id_specific_price_rule><price>0</price><from_quantity>0</from_quantity><reduction>0.1</reduction><reduction_tax>0</reduction_tax><reduction_type>percentage</reduction_type><from>0000-00-00</from><to>0000-00-00</to></specific_price></prestashop>

 

Edited by Denis (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...