{"id":1777,"date":"2019-03-26T13:14:54","date_gmt":"2019-03-26T13:14:54","guid":{"rendered":"https:\/\/www.s-sols.com\/?post_type=doc&#038;p=1777"},"modified":"2022-09-15T11:00:47","modified_gmt":"2022-09-15T11:00:47","slug":"getting-started-wd","status":"publish","type":"doc","link":"https:\/\/www.s-sols.com\/ru\/docs\/wordpress\/woo-discount\/getting-started-wd","title":{"rendered":"\u041a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u041e\u043f\u0442\u043e\u0432\u044b\u0435 \u0441\u043a\u0438\u0434\u043a\u0438 \u0434\u043b\u044f WooCommerce \u0434\u043b\u044f WordPress"},"content":{"rendered":"<p>\n  \u041f\u043b\u0430\u0433\u0438\u043d \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u0441\u043a\u0438\u0434\u043a\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0440\u0430\u0437\u043d\u044b\u0445 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432 \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0435. \u041f\u043e\u0434\u043f\u0438\u0441\u043a\u0438 \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f.\n<\/p>\n<p>\n  \u0421\u043a\u0438\u0434\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043a\u0430\u043a <a href=\".\/product-settings-wd\">\u0432 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430\u0445 \u0438\u043d\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043b\u044c\u043d\u043e<\/a>, \u0442\u0430\u043a \u0438\u00a0\u0447\u0435\u0440\u0435\u0437 <a href=\".\/settings-wd#discount_profiles\">\u043e\u0431\u0449\u0438\u0435 \u043f\u0440\u043e\u0444\u0438\u043b\u0438<\/a>.\n<\/p>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435<\/strong><span style=\"font-size:12pt\">. <\/span>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u043a\u0430\u043a \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043a \u043e\u0431\u0449\u0438\u043c, \u0430 \u043d\u0435 \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0442 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e.\n<\/p>\n<p style=\"text-align:center\">\n  <img decoding=\"async\" src=\"\/data\/content\/doc\/wordpress\/woo-discount\/getting-started-wd\/settings-ru.png\" alt=\"Graphical user interface, text, application\n\nDescription automatically generated\" title=\"Graphical user interface, text, application\n\nDescription automatically generated - \u041a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\" \/>\n<\/p>\n<p>\n  \u0412\u0434\u043e\u0431\u0430\u0432\u043e\u043a \u0443 \u043f\u043b\u0430\u0433\u0438\u043d\u0430 \u0435\u0441\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 <a href=\".\/api-wd\">API<\/a>.\n<\/p>\n<h2><a id=\"example\"><\/a>\u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f<br \/>\n<\/h2>\n<p>\n  \u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d\u044b \u0441\u043a\u0438\u0434\u043e\u043a \u0432 <a href=\".\/product-settings-wd\">\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 \u0442\u043e\u0432\u0430\u0440\u0430<\/a> \u0438\u043b\u0438 \u0432 <a href=\".\/settings-wd#discount_profiles\">\u043e\u0431\u0449\u0438\u0445 \u043f\u0440\u043e\u0444\u0438\u043b\u044f\u0445<\/a>. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c <a href=\".\/discount-list-wd#discount\">\u0441\u043a\u0438\u0434\u043a\u0443<\/a> 10% \u0434\u043b\u044f <a href=\".\/discount-list-wd#condition\">\u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430<\/a> \u043e\u0442 5 \u0434\u043e 9 \u0438 50% \u0434\u043b\u044f \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 10.\n<\/p>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435<\/strong>. \u0415\u0441\u043b\u0438 \u0442\u043e\u0432\u0430\u0440 \u0443\u0436\u0435 \u0438\u043c\u0435\u0435\u0442 \u0441\u043a\u0438\u0434\u043e\u0447\u043d\u0443\u044e \u0446\u0435\u043d\u0443, \u0441\u043a\u0438\u0434\u043a\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u043a\u0430\u043a \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f.\n<\/p>\n<p>\n  \u0412\u044b\u0431\u0435\u0440\u0435\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u0442\u043e\u0432\u0430\u0440\u0430. \u0426\u0435\u043d\u0430 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 $100, \u0430 \u0446\u0435\u043d\u0430 \u0440\u0430\u0441\u043f\u0440\u043e\u0434\u0430\u0436\u0438 &#8211; $90. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0435\u0441\u043b\u0438 \u043c\u044b \u0432\u044b\u0431\u0435\u0440\u0435\u043c \u0431\u043e\u043b\u0435\u0435 4 \u0442\u043e\u0432\u0430\u0440\u043e\u0432 (\u0447\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0432 <a href=\".\/settings-wd#discounttable\">\u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u0441\u043a\u0438\u0434\u043e\u043a<\/a> \u0438 \u0432 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e <a href=\".\/settings-wd#nearestdiscount\">\u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0435\u0439 \u0441\u043a\u0438\u0434\u043a\u0435<\/a>), \u0441\u043a\u0438\u0434\u043a\u0430 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f <a href=\".\/settings-wd#adjonsale\">\u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043a \u0446\u0435\u043d\u0435 \u043f\u0440\u043e\u0434\u0430\u0436\u0438<\/a>, \u0438 \u0442\u0435\u043f\u0435\u0440\u044c \u0446\u0435\u043d\u0430 \u0442\u043e\u0432\u0430\u0440\u0430 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 $81. \u0422\u0430\u043a\u0436\u0435, \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u0430 <a href=\".\/settings-wd#totalprice\">\u0438\u0442\u043e\u0433\u043e\u0432\u0430\u044f \u0446\u0435\u043d\u0430<\/a> \u0437\u0430 \u0432\u0441\u0451 \u0441 \u0443\u0447\u0451\u0442\u043e\u043c \u0441\u043a\u0438\u0434\u043a\u0438.\n<\/p>\n<p style=\"text-align:center\">\n  <img decoding=\"async\" src=\"\/data\/content\/doc\/wordpress\/woo-discount\/getting-started-wd\/product-ru.png\" alt=\"Diagram\n\nDescription automatically generated\" title=\"Diagram\n\nDescription automatically generated - \u041a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\" \/>\n<\/p>\n<p>\n  \u0422\u0435\u043f\u0435\u0440\u044c, \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0432\u044b\u0431\u0440\u0430\u043b \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430, \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442 \u0441\u043a\u0438\u0434\u043a\u0430. \u0412 \u043d\u0430\u0448\u0435\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0430 \u0441\u043a\u0438\u0434\u043a\u0430 10%, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 10 \u043f\u0440\u0435\u0434\u043c\u0435\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0432\u0438\u0434\u043d\u0430 \u043d\u0430 \u043e\u0431\u0435\u0438\u0445 \u043f\u043e\u0437\u0438\u0446\u0438\u044f\u0445. \u041f\u0435\u0440\u0432\u0430\u044f \u043f\u043e\u0437\u0438\u0446\u0438\u044f \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043f\u0440\u043e\u0434\u0443\u043a\u0442 \u043f\u043e\u0434\u043f\u0438\u0441\u043a\u0438, \u0432\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u0440\u043e\u0434\u0443\u043a\u0442.\n<\/p>\n<p style=\"text-align:center\">\n  <img decoding=\"async\" src=\"\/data\/content\/doc\/wordpress\/woo-discount\/getting-started-wd\/cart-with-discounts-ru.png\" alt=\"cart-with-discounts\" title=\"cart-with-discounts - \u041a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\" \/>\n<\/p>\n<p>\n  \u041d\u0430\u043a\u043e\u043d\u0435\u0446, \u0441\u043a\u0438\u0434\u043a\u0430 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435 \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044f \u0437\u0430\u043a\u0430\u0437\u0430, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043c\u043e\u0433 \u0432 \u043d\u0435\u0439 \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f.\n<\/p>\n<p style=\"text-align:center\">\n  <img decoding=\"async\" src=\"\/data\/content\/doc\/wordpress\/woo-discount\/getting-started-wd\/checkout-with-discounts-ru.png\" alt=\"checkout-with-discounts\" title=\"checkout-with-discounts - \u041a\u0430\u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\" \/>\n<\/p>\n<h2><a id=\"reqs\"><\/a>\u0422\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f<br \/>\n<\/h2>\n<p>\n  <ul><li><a href=\"https:\/\/ru.wordpress.org\/download\" rel=\"nofollow noopener\" target=\"_blank\">WordPress<\/a> 4.5 \u0438\u043b\u0438 \u0432\u044b\u0448\u0435.<\/li><li><a href=\"https:\/\/wordpress.org\/plugins\/woocommerce\" target=\"_blank\" rel=\"nofollow noopener\">WooCommerce<\/a> 3.2 \u0438\u043b\u0438 \u0432\u044b\u0448\u0435.<\/li><li>PHP 5.4 \u0438\u043b\u0438 \u0432\u044b\u0448\u0435.<\/li><li>\u0411\u0440\u0430\u0443\u0437\u0435\u0440 (Google Chrome, Firefox, IE).<\/li><\/ul>\n<\/p>\n<h2 rel=\"nofollow\"><a id=\"compatibility\"><\/a>\u0421\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u044c<br \/>\n<\/h2>\n<p rel=\"nofollow\">\n  <ul><li><a href=\"https:\/\/ru.wordpress.org\/plugins\/woocommerce\" rel=\"nofollow noopener\" target=\"_blank\">WooCommerce<\/a> 3.2 \u0438\u043b\u0438 \u0432\u044b\u0448\u0435.<\/li><li><a href=\"https:\/\/woocommerce.com\/products\/woocommerce-subscriptions\" target=\"_blank\" rel=\"nofollow noopener\">WooCommerce Subscriptions<\/a> 2.2 \u0438\u043b\u0438 \u0432\u044b\u0448\u0435.<\/li><li><a href=\"https:\/\/ru.wordpress.org\/plugins\/woo-multi-currency\" target=\"_blank\" rel=\"nofollow noopener\">WooCommerce Multi Currency<\/a> 2.0.9 \u0438\u043b\u0438 \u0432\u044b\u0448\u0435.<\/li><li><a href=\"https:\/\/ru.wordpress.org\/plugins\/woocommerce-multilingual\" rel=\"nofollow noopener\" target=\"_blank\">WooCommerce Multilingual<\/a> 4.2 \u0438\u043b\u0438 \u0432\u044b\u0448\u0435.<\/li><li><a href=\"https:\/\/ru.wordpress.org\/plugins\/wpc-product-quantity\" rel=\"nofollow noopener\" target=\"_blank\">WPC Product Quantity for WooCommerce<\/a> 1.4 \u0438\u043b\u0438 \u0432\u044b\u0448\u0435.<\/li><li><a href=\"https:\/\/ru.wordpress.org\/plugins\/woocommerce-unit-of-measure\" target=\"_blank\" rel=\"nofollow noopener\">WooCommerce Unit Of Measure<\/a> 3.0 \u0438\u043b\u0438 \u0432\u044b\u0448\u0435.<\/li><li><a href=\"https:\/\/ru.wordpress.org\/plugins\/qty-increment-buttons-for-woocommerce\" rel=\"nofollow noopener\" target=\"_blank\">Qty Increment Buttons for WooCommerce<\/a> 2.7 \u0438\u043b\u0438 \u0432\u044b\u0448\u0435.<\/li><li><a href=\"https:\/\/ru.wordpress.org\/plugins\/ajax-cart-autoupdate-for-woocommerce\" rel=\"nofollow noopener\" target=\"_blank\">Ajax Cart AutoUpdate for WooCommerce<\/a> 1.5 \u0438\u043b\u0438 \u0432\u044b\u0448\u0435.<\/li><li><a href=\"https:\/\/ru.wordpress.org\/plugins\/woo-discount-price\" rel=\"nofollow noopener\" target=\"_blank\">Discount and regular price cart and checkout page display WooCommerce<\/a> 1.2 \u0438\u043b\u0438 \u0432\u044b\u0448\u0435.<\/li><\/ul><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u043b\u0430\u0433\u0438\u043d \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u0441\u043a\u0438\u0434\u043a\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0440\u0430\u0437\u043d\u044b\u0445 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432 \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0435. \u041f\u043e\u0434\u043f\u0438\u0441\u043a\u0438 \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442\u0441\u044f. \u0421\u043a\u0438\u0434\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043a\u0430\u043a \u0432 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430\u0445 \u0438\u043d\u0434\u0438\u0432\u0438\u0434\u0443\u0430\u043b\u044c\u043d\u043e, \u0442\u0430\u043a \u0438\u00a0\u0447\u0435\u0440\u0435\u0437 \u043e\u0431\u0449\u0438\u0435 \u043f\u0440\u043e\u0444\u0438\u043b\u0438. \u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435. \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u043a\u0430\u043a \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043a \u043e\u0431\u0449\u0438\u043c, \u0430 \u043d\u0435 \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0442 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e. \u0412\u0434\u043e\u0431\u0430\u0432\u043e\u043a \u0443 \u043f\u043b\u0430\u0433\u0438\u043d\u0430 \u0435\u0441\u0442\u044c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 API. \u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d\u044b \u0441\u043a\u0438\u0434\u043e\u043a \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445&#8230;<\/p>\n","protected":false},"author":18,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"rank_math_lock_modified_date":false},"categories":[301],"tags":[],"class_list":["post-1777","doc","type-doc","status-publish","hentry","category-woo-discount"],"_links":{"self":[{"href":"https:\/\/www.s-sols.com\/ru\/api\/wp\/v2\/doc\/1777","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.s-sols.com\/ru\/api\/wp\/v2\/doc"}],"about":[{"href":"https:\/\/www.s-sols.com\/ru\/api\/wp\/v2\/types\/doc"}],"author":[{"embeddable":true,"href":"https:\/\/www.s-sols.com\/ru\/api\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.s-sols.com\/ru\/api\/wp\/v2\/comments?post=1777"}],"wp:attachment":[{"href":"https:\/\/www.s-sols.com\/ru\/api\/wp\/v2\/media?parent=1777"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.s-sols.com\/ru\/api\/wp\/v2\/categories?post=1777"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.s-sols.com\/ru\/api\/wp\/v2\/tags?post=1777"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}