{"id":9245022,"date":"2017-06-20T14:46:19","date_gmt":"2017-06-20T14:46:19","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/php-sale-prices-increasedecrease\/"},"modified":"2017-06-20T14:46:19","modified_gmt":"2017-06-20T14:46:19","slug":"php-sale-prices-increasedecrease","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/php-sale-prices-increasedecrease\/","title":{"rendered":"php Sale prices increase\/decrease"},"content":{"rendered":"<p>good day!<br \/>\nwhere cai find files and code with informations about function<br \/>\n\u201cSale prices decrease by (fixed amount or %)\u201d<\/p>\n<p>trying to change it\u2019s way. So it won\u2019t take number from field \u201csale price\u201d but from \u201cregular price\u201d<\/p>\n<p>this way i don\u2019t have to fill up Sale price, just fill up Regular price and \u201cdecrease by 10%\u201d and my field with Sale price is done<\/p>\n","protected":false},"template":"","class_list":["post-9245022","topic","type-topic","status-publish","hentry","topic-tag-decrease","topic-tag-increase","topic-tag-php","topic-tag-sale-prices"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9245022","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9245022\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9245022"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}