{"id":41881,"date":"2016-04-05T11:21:38","date_gmt":"2016-04-05T11:21:38","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/purchase-orders-for-catablog\/"},"modified":"2016-04-05T11:23:23","modified_gmt":"2016-04-05T11:23:23","slug":"purchase-orders-for-catablog","status":"publish","type":"plugin","link":"https:\/\/bal.wordpress.org\/plugins\/purchase-orders-for-catablog\/","author":9236379,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.3","stable_tag":"0.3","tested":"4.4.34","requires":"3.4","requires_php":"","requires_plugins":"","header_name":"Purchase Orders for Catablog","header_author":"diego2k","header_description":"","assets_banners_color":"","last_updated":"2016-04-05 11:23:23","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/genus\/catablogordering","header_author_uri":"http:\/\/www.mundoit.com.ar\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1451,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.3"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[83,16281,746,6883,332],"plugin_category":[45],"plugin_contributors":[93377],"plugin_business_model":[],"class_list":["post-41881","plugin","type-plugin","status-publish","hentry","plugin_tags-admin","plugin_tags-orders","plugin_tags-product","plugin_tags-purchase","plugin_tags-sales","plugin_category-ecommerce","plugin_contributors-diego2k","plugin_committers-diego2k"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/purchase-orders-for-catablog.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>I use CataBlog for make product catalog and i needed a way for let people \nto make a purchase order of product and send it by email, so here it is.\nThis is a work in progress so feel free to contact me and ask me for updates.<\/p>\n\n<h3>0.3<\/h3>\n\n<p>Compatible with wordpress 4<\/p>\n\n<h3>0.2<\/h3>\n\n<p>Improved code\nFixed in loop mode add-to-cart button not working\nAdded Mercadopago as purchase gateway<\/p>\n\n<h3>0.1.4<\/h3>\n\n<p>Added Option to Hide Prices and Totals\nAdded Option to send HTML e-mails\nFixed template location to be same as catablog's upload folder\nRemoved item_ prefix on e-mail table titles<\/p>\n\n<h3>0.1.3<\/h3>\n\n<p>Fixed problem with translation\nFixed bug that only emails one item from cart\nAdded support for custom order template<\/p>\n\n<h3>0.1.2<\/h3>\n\n<p>Small bugfix to support catablog slug change<\/p>\n\n<h3>0.1.1<\/h3>\n\n<p>Improved Documentation<\/p>\n\n<h3>0.1<\/h3>\n\n<p>First Public Release<\/p>\n\n<!--section=installation-->\n<p>1) Copy the catablogordering folder to your wordpress plugin folder.<\/p>\n\n<p>2) Activate the plugin and a new option will come up for settings.<\/p>\n\n<p>3) Modify the Catablog STORE template form, and get ride of the action attribute of the form tag and add a hidden input named \"cmd\" with a \"_cart\" value.<\/p>\n\n<pre><code>&lt;form method='post' &gt;\n  &lt;input type='hidden' name='cmd' value='_cart'&gt; &lt;!-- This tell plugin to add to cart --&gt;\n  &lt;input type='hidden' name='item_name' value='%TITLE-TEXT%'&gt;\n  &lt;input type='hidden' name='item_number' value='%PRODUCT-CODE%'&gt;\n  &lt;input type='hidden' name='amount' value='%PRICE%'&gt;\n  &lt;input type='hidden' name='quantity' value='1'&gt;\n  &lt;input type='hidden' name='add' value='1'&gt;\n  &lt;input type='submit' value='ADD TO CART'&gt;\n&lt;\/form&gt;\n<\/code><\/pre>\n\n<p>4) If you want additional data to be sent on the e-mail add form's fields with  \"item_\" prefix in the name attribute.<\/p>\n\n<pre><code>  &lt;input type='text' name='item_weight'&gt;\n<\/code><\/pre>\n\n<!--section=faq-->\n<dl>\n<dt>Hey dude, where is my CART?<\/dt>\n<dd><p>You must create a new page with the [catablogcart] shortcode.<\/p><\/dd>\n<dt>Where is the add to cart button?<\/dt>\n<dd><p>This plugin use the %BUY-NOW-BUTTON% of the template, but the %BUY-NOW-BUTTON% only appears when item got a price, that is a limitation of Catablog plugin, there is no way to force the button to showup. A workaround of this is to put a 1 in price for each item you want a add to cart.<\/p><\/dd>\n<dt>The process don't redirect me to the CART page!<\/dt>\n<dd><p>Check out the option of the plugin you must select what page to redirect to.<\/p><\/dd>\n<dt>Where can i find you?<\/dt>\n<dd><p>You can find me on facebook\/diego2k<\/p><\/dd>\n<dt>This is cool how can i help?<\/dt>\n<dd><p>Make donation, make translations, improve it, spread the word!<\/p><\/dd>\n\n<\/dl>","raw_excerpt":"I use CataBlog for make product catalog and i needed a way for let people","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/41881","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=41881"}],"author":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/diego2k"}],"wp:attachment":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=41881"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=41881"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=41881"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=41881"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=41881"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=41881"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}