grzegorz.skowera Posted August 8, 2017 Share Posted August 8, 2017 Hello, I've got problem with updating price - everything seems to be OK (other elements are updating correctly). My request: <?xml version="1.0" encoding="UTF-8"?><prestashop xmlns:xlink="http://www.w3.org/1999/xlink"><product> <id>912</id> <id_manufacturer xlink:href="http://aerocool.pl/api/manufacturers/77">77</id_manufacturer> <id_supplier>0</id_supplier> <id_category_default xlink:href="http://aerocool.pl/api/categories/17">17</id_category_default> <new></new> <cache_default_attribute>0</cache_default_attribute> <id_default_image notFilterable="true"></id_default_image> <id_default_combination notFilterable="true"></id_default_combination> <id_tax_rules_group xlink:href="http://aerocool.pl/api/tax_rule_groups/1">1</id_tax_rules_group> <id_shop_default>1</id_shop_default> <reference>prime-x299-deluxe</reference> <supplier_reference></supplier_reference> <location></location> <width>0.000000</width> <height>0.000000</height> <depth>0.000000</depth> <weight>0.000000</weight> <quantity_discount>0</quantity_discount> <ean13></ean13> <isbn></isbn> <upc></upc> <cache_is_pack>0</cache_is_pack> <cache_has_attachments>0</cache_has_attachments> <is_virtual>0</is_virtual> <state>1</state> <on_sale>0</on_sale> <online_only>0</online_only> <ecotax>0.000000</ecotax> <minimal_quantity>0</minimal_quantity> <price>2000</price> <wholesale_price>0.000000</wholesale_price> <unity></unity> <unit_price_ratio>0.000000</unit_price_ratio> <additional_shipping_cost>0.00</additional_shipping_cost> <customizable>0</customizable> <text_fields>0</text_fields> <uploadable_files>0</uploadable_files> <active>1</active> <redirect_type></redirect_type> <id_type_redirected>0</id_type_redirected> <available_for_order>0</available_for_order> <available_date>0000-00-00</available_date> <show_condition>0</show_condition> <condition>new</condition> <show_price>1</show_price> <indexed>1</indexed> <visibility>both</visibility> <advanced_stock_management>0</advanced_stock_management> <date_add>2017-08-04 06:00:10</date_add> <date_upd>2017-08-08 10:32:23</date_upd> <pack_stock_type>0</pack_stock_type> <meta_description></meta_description> <meta_keywords></meta_keywords> <meta_title></meta_title> <link_rewrite></link_rewrite> <name></name> <description></description> <description_short></description_short> <available_now></available_now> <available_later></available_later><associations></associations></product></prestashop> and response: <?xml version="1.0" encoding="UTF-8"?><prestashop xmlns:xlink="http://www.w3.org/1999/xlink"><product> <id><![CDATA[912]]></id> <id_manufacturer xlink:href="http://aerocool.pl/api/manufacturers/77"><![CDATA[77]]></id_manufacturer> <id_supplier><![CDATA[0]]></id_supplier> <id_category_default xlink:href="http://aerocool.pl/api/categories/17"><![CDATA[17]]></id_category_default> <new></new> <cache_default_attribute></cache_default_attribute> <id_default_image notFilterable="true"></id_default_image> <id_default_combination notFilterable="true"></id_default_combination> <id_tax_rules_group xlink:href="http://aerocool.pl/api/tax_rule_groups/1"><![CDATA[1]]></id_tax_rules_group> <position_in_category notFilterable="true"><![CDATA[1]]></position_in_category> <manufacturer_name notFilterable="true"><![CDATA[ASUS]]></manufacturer_name> <quantity notFilterable="true"></quantity> <type notFilterable="true"><![CDATA[simple]]></type> <id_shop_default><![CDATA[1]]></id_shop_default> <reference><![CDATA[prime-x299-deluxe]]></reference> <supplier_reference></supplier_reference> <location></location> <width><![CDATA[0.000000]]></width> <height><![CDATA[0.000000]]></height> <depth><![CDATA[0.000000]]></depth> <weight><![CDATA[0.000000]]></weight> <quantity_discount><![CDATA[0]]></quantity_discount> <ean13></ean13> <isbn></isbn> <upc></upc> <cache_is_pack><![CDATA[0]]></cache_is_pack> <cache_has_attachments><![CDATA[0]]></cache_has_attachments> <is_virtual><![CDATA[0]]></is_virtual> <state><![CDATA[1]]></state> <on_sale><![CDATA[0]]></on_sale> <online_only><![CDATA[0]]></online_only> <ecotax><![CDATA[0.000000]]></ecotax> <minimal_quantity><![CDATA[0]]></minimal_quantity> <price><![CDATA[1876]]></price> <wholesale_price><![CDATA[0.000000]]></wholesale_price> <unity></unity> <unit_price_ratio><![CDATA[0.000000]]></unit_price_ratio> <additional_shipping_cost><![CDATA[0.00]]></additional_shipping_cost> <customizable><![CDATA[0]]></customizable> <text_fields><![CDATA[0]]></text_fields> <uploadable_files><![CDATA[0]]></uploadable_files> <active><![CDATA[1]]></active> <redirect_type></redirect_type> <id_type_redirected><![CDATA[0]]></id_type_redirected> <available_for_order><![CDATA[0]]></available_for_order> <available_date><![CDATA[0000-00-00]]></available_date> <show_condition><![CDATA[0]]></show_condition> <condition><![CDATA[new]]></condition> <show_price><![CDATA[1]]></show_price> <indexed><![CDATA[1]]></indexed> <visibility><![CDATA[both]]></visibility> <advanced_stock_management><![CDATA[0]]></advanced_stock_management> <date_add><![CDATA[2017-08-04 06:00:10]]></date_add> <date_upd><![CDATA[2017-08-08 10:48:31]]></date_upd> <pack_stock_type><![CDATA[0]]></pack_stock_type> <meta_description><language id="1"></language></meta_description> <meta_keywords><language id="1"></language></meta_keywords> <meta_title><language id="1"></language></meta_title> <link_rewrite><language id="1"></language></link_rewrite> <name><language id="1"></language></name> <description><language id="1"></language></description> <description_short><language id="1"></language></description_short> <available_now><language id="1"></language></available_now> <available_later><language id="1"></language></available_later><associations><categories nodeType="category" api="categories"> <category xlink:href="http://aerocool.pl/api/categories/17"> <id><![CDATA[17]]></id> </category></categories><images nodeType="image" api="images"/><combinations nodeType="combination" api="combinations"/><product_option_values nodeType="product_option_value" api="product_option_values"/><product_features nodeType="product_feature" api="product_features"> <product_feature xlink:href="http://aerocool.pl/api/product_features/0"> <id><![CDATA[0]]></id> <id_feature_value xlink:href="http://aerocool.pl/api/product_feature_values/0"><![CDATA[0]]></id_feature_value> </product_feature></product_features><tags nodeType="tag" api="tags"> <tag xlink:href="http://aerocool.pl/api/tags/0"> <id><![CDATA[0]]></id> </tag></tags><stock_availables nodeType="stock_available" api="stock_availables"> <stock_available xlink:href="http://aerocool.pl/api/stock_availables/1002"> <id><![CDATA[1002]]></id> <id_product_attribute><![CDATA[0]]></id_product_attribute> </stock_available></stock_availables><accessories nodeType="product" api="products"/><product_bundle nodeType="product" api="products"/></associations></product></prestashop> Am I missing something? Thanks for any help Link to comment Share on other sites More sharing options...
grzegorzm_1 Posted August 8, 2017 Share Posted August 8, 2017 I have exactly same problem here. After updating price on the product resource, nothing happen - price is not changed in the store. Version of PS - 1.7.2.0 Other fields (name etc) I can update without any issues. @grzegorz.skowera, dobry wieczór Link to comment Share on other sites More sharing options...
grzegorz.skowera Posted August 9, 2017 Author Share Posted August 9, 2017 I've already tested this issue on PS 1.7.1.2 and everything works fine - all is updating including price. On PS 1.7.2 price doesn't update. Please, any help? @grzegorzm_1: Cześć! ;-) Link to comment Share on other sites More sharing options...
pinux Posted August 12, 2017 Share Posted August 12, 2017 @grzegorzm_1 I cant update product name using webservice . Help me if u can PS1.6.1.11 Link to comment Share on other sites More sharing options...
cippoco Posted September 19, 2017 Share Posted September 19, 2017 Dear @grzegorz.skowera , i have the same problem whit ps 1.7.2, i can't update price, have you find the solution? Thank Link to comment Share on other sites More sharing options...
cippoco Posted September 20, 2017 Share Posted September 20, 2017 Seems i've find the solution, look here: http://forge.prestashop.com/browse/BOOM-3711 1 Link to comment Share on other sites More sharing options...
luprix Posted September 30, 2017 Share Posted September 30, 2017 (edited) Seems i've find the solution, look here: http://forge.prestashop.com/browse/BOOM-3711 yes, work in my 1.7.2.2 fix: https://github.com/PrestaShop/PrestaShop/pull/8275/files thanks regards Edited September 30, 2017 by luprix (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now