{"id":54501,"date":"2017-02-20T14:12:55","date_gmt":"2017-02-20T14:12:55","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/pfand-deposit-for-woocommerce-products\/"},"modified":"2017-02-20T14:12:55","modified_gmt":"2017-02-20T14:12:55","slug":"pfand-deposit-for-woocommerce-products","status":"publish","type":"plugin","link":"https:\/\/ms.wordpress.org\/plugins\/pfand-deposit-for-woocommerce-products\/","author":148920,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.0.0","stable_tag":"trunk","tested":"4.7.33","requires":"3.1","requires_php":"","requires_plugins":"","header_name":"Pfand (Deposit) for WooCommerce Products","header_author":"Nerdissimo","header_description":"","assets_banners_color":"3c3e3e","last_updated":"2017-02-20 14:12:55","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.nerdissimo.de","header_plugin_uri":"http:\/\/www.nerdissimo.de","header_author_uri":"http:\/\/www.nerdissimo.de","rating":5,"author_block_rating":0,"active_installs":300,"downloads":4302,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":3},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":"1601114","resolution":"128x128","location":"assets"},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":"1601114","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":"1601114","resolution":"1544x500","location":"assets"},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"1601114","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1601114","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1601114","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1601114","resolution":"3","location":"assets"}},"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[73197,286],"plugin_category":[45],"plugin_contributors":[132232],"plugin_business_model":[],"class_list":["post-54501","plugin","type-plugin","status-publish","hentry","plugin_tags-deposit","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-jessekeys","plugin_committers-jessekeys"],"banners":{"banner":"https:\/\/ps.w.org\/pfand-deposit-for-woocommerce-products\/assets\/banner-772x250.jpg?rev=1601114","banner_2x":"https:\/\/ps.w.org\/pfand-deposit-for-woocommerce-products\/assets\/banner-1544x500.jpg?rev=1601114","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/pfand-deposit-for-woocommerce-products\/assets\/icon-128x128.jpg?rev=1601114","icon_2x":"https:\/\/ps.w.org\/pfand-deposit-for-woocommerce-products\/assets\/icon-256x256.jpg?rev=1601114","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/pfand-deposit-for-woocommerce-products\/assets\/screenshot-1.png?rev=1601114","caption":""},{"src":"https:\/\/ps.w.org\/pfand-deposit-for-woocommerce-products\/assets\/screenshot-2.png?rev=1601114","caption":""},{"src":"https:\/\/ps.w.org\/pfand-deposit-for-woocommerce-products\/assets\/screenshot-3.png?rev=1601114","caption":""}],"raw_content":"<!--section=description-->\n<p><em>Dieses Plugin erm\u00f6glicht es, jedem Woocommerce Produkt Pfandwerte zuzuweisen und somit Dinge wie Flaschenpfand abzubilden. Deutsche \u00dcbersetzung liegt bei. F\u00fcr Anpassungen bitten wir um <a href=\"http:\/\/www.nerdissimo.de\/\">Kontaktaufnahme<\/a>.<\/em><\/p>\n\n<p>This plugin was written for a German beverage store. They needed deposits for bottles as well as boxes, which would be displayed separately and excluded from tax calculation.<\/p>\n\n<p>With this plugin you can add a deposit to any WooCommerce product by adding the price under <code>Products - Deposit Types<\/code>.<\/p>\n\n<p><strong>Note:<\/strong> Because WordPress allows users to add multiple values and\ncomma-separate them, you have to input the prices with '.' (period) as the decimal separator, independent of WooCommerce settings.<\/p>\n\n<h3>Features<\/h3>\n\n<ul>\n<li>Translation-ready (German translation included)<\/li>\n<li>Uses built-in functionality of WordPress and Woocommerce thus fully compatible with, e.g. WP Export\/Import tools<\/li>\n<li>Developer-friendly (more hooks &amp; documentation to come)<\/li>\n<\/ul>\n\n<h3>Custom code<\/h3>\n\n<p>Since there are a lot of different ways you or your customer may want this set up, please contact us for customizations such as:<\/p>\n\n<ul>\n<li>Compatibility with WooCommerce German Market (disable taxing off deposit)<\/li>\n<li>Link deposit to shipping zones' methods or customer language<\/li>\n<li>Force sells (e.g. 1 beer crate for every x bottles)<\/li>\n<li>Enabling of tax calulation<\/li>\n<\/ul>\n\n<p>Github Repository: https:\/\/github.com\/nerdissimo-de\/woocommerce-pfand\nContact: http:\/\/www.nerdissimo.de<\/p>\n\n<h3>Filters<\/h3>\n\n<h4>`get_deposit`<\/h4>\n\n<p><em>(int)<\/em> runs when deposit is calculated.<\/p>\n\n<h4>`wc_deposit_settings`<\/h4>\n\n<p><em>(array)<\/em> runs when the settings tab is being configured.<\/p>\n\n<h4>`add_deposit_value_to_totals`<\/h4>\n\n<p><em>(bool)<\/em> runs before deposit fee is added <strong>(to do: rename?)<\/strong><\/p>\n\n<h4>`dep_total_before_add_fee`<\/h4>\n\n<p><em>(int)<\/em> runs before deposit fee is added<\/p>\n\n<h4>`tax_class_before_add_fee`<\/h4>\n\n<p><em>(string)<\/em> runs before deposit fee is added<\/p>\n\n<h4>`display_deposit`<\/h4>\n\n<p><em>(bool)<\/em> runs when the plugin determines to add deposit<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>woo-pfand\/<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the <code>Plugins<\/code> menu in WordPress<\/li>\n<li>Configure the plugin through <code>Woocommerce -&gt; Settings -&gt; Tab: Deposit<\/code><\/li>\n<li>Go to <code>Products - Deposit Types<\/code> and create deposit prices as you would add tags<\/li>\n<li>Add deposit prices to your products<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<p>= 2.0.0\n* First release on WP Repository<\/p>","raw_excerpt":"Dieses Plugin erm\u00f6glicht es, jedem Woocommerce Produkt Pfandwerte zuzuweisen und somit Dinge wie Flaschenpfand abzubilden.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ms.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/54501","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ms.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ms.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ms.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=54501"}],"author":[{"embeddable":true,"href":"https:\/\/ms.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jessekeys"}],"wp:attachment":[{"href":"https:\/\/ms.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=54501"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ms.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=54501"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ms.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=54501"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ms.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=54501"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ms.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=54501"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ms.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=54501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}