{"id":1919,"date":"2018-09-05T11:32:46","date_gmt":"2018-09-05T15:32:46","guid":{"rendered":"http:\/\/www.thatsoftwareguy.com\/blog\/?p=1919"},"modified":"2018-09-05T11:32:46","modified_gmt":"2018-09-05T15:32:46","slug":"increasing-or-reducing-prices-globally-in-your-zen-cart","status":"publish","type":"post","link":"https:\/\/www.thatsoftwareguy.com\/blog\/2018\/09\/05\/increasing-or-reducing-prices-globally-in-your-zen-cart\/","title":{"rendered":"Increasing or Reducing Prices Globally in your Zen Cart"},"content":{"rendered":"<p>One of my clients decided to reduce prices by 5% across the board.\u00a0 This kind of change is not hard to make in phpMyAdmin.\u00a0 Their database prefix was &#8220;zen_&#8221; so I used the commands<\/p>\n<pre>update zen_products set products_price = products_price * 0.95;\r\nupdate zen_products set products_price = round(products_price, 2);<\/pre>\n<p>If you wanted to increase prices by 5% instead, the first command would simply be<\/p>\n<pre>update zen_products set products_price = products_price * 1.05;<\/pre>\n<p>Note that this only changes the regular prices of products; products on sale or special are not changed. I&#8217;ll talk about those in a future blog post.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of my clients decided to reduce prices by 5% across the board.\u00a0 This kind of change is not hard to make in phpMyAdmin.\u00a0 Their database prefix was &#8220;zen_&#8221; so I used the commands update zen_products set products_price = products_price * 0.95; update zen_products set products_price = round(products_price, 2); If you wanted to increase prices &hellip; <a href=\"https:\/\/www.thatsoftwareguy.com\/blog\/2018\/09\/05\/increasing-or-reducing-prices-globally-in-your-zen-cart\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Increasing or Reducing Prices Globally in your Zen Cart<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[58,78],"tags":[],"class_list":["post-1919","post","type-post","status-publish","format-standard","hentry","category-that-software-guy","category-zen-cart"],"_links":{"self":[{"href":"https:\/\/www.thatsoftwareguy.com\/blog\/wp-json\/wp\/v2\/posts\/1919","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thatsoftwareguy.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thatsoftwareguy.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thatsoftwareguy.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thatsoftwareguy.com\/blog\/wp-json\/wp\/v2\/comments?post=1919"}],"version-history":[{"count":1,"href":"https:\/\/www.thatsoftwareguy.com\/blog\/wp-json\/wp\/v2\/posts\/1919\/revisions"}],"predecessor-version":[{"id":1920,"href":"https:\/\/www.thatsoftwareguy.com\/blog\/wp-json\/wp\/v2\/posts\/1919\/revisions\/1920"}],"wp:attachment":[{"href":"https:\/\/www.thatsoftwareguy.com\/blog\/wp-json\/wp\/v2\/media?parent=1919"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thatsoftwareguy.com\/blog\/wp-json\/wp\/v2\/categories?post=1919"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thatsoftwareguy.com\/blog\/wp-json\/wp\/v2\/tags?post=1919"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}