forked from genus-zz/catablogordering
-
Notifications
You must be signed in to change notification settings - Fork 0
dcoppari/catablogordering
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
=== Purchase Order for Catablog - Add Catablog Support for Making Purchase Orders === Contributors: diego2k Tags: plugin, admin, product, sales, orders, purchase, store, cart, ecommerce, Spanish Requires at least: 3.4 Tested up to: 4.4 Stable tag: 0.3 == Description == I use CataBlog for make product catalog and i needed a way for let people to make a purchase order of product and send it by email, so here it is. This is a work in progress so feel free to contact me and ask me for updates. == Installation == 1) Copy the catablogordering folder to your wordpress plugin folder. 2) Activate the plugin and a new option will come up for settings. 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. <form method='post' > <input type='hidden' name='cmd' value='_cart'> <!-- This tell plugin to add to cart --> <input type='hidden' name='item_name' value='%TITLE-TEXT%'> <input type='hidden' name='item_number' value='%PRODUCT-CODE%'> <input type='hidden' name='amount' value='%PRICE%'> <input type='hidden' name='quantity' value='1'> <input type='hidden' name='add' value='1'> <input type='submit' value='ADD TO CART'> </form> 4) If you want additional data to be sent on the e-mail add form's fields with "item_" prefix in the name attribute. <input type='text' name='item_weight'> == Frequently Asked Questions == = Hey dude, where is my CART? = You must create a new page with the [catablogcart] shortcode. = Where is the add to cart button? = 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. = The process don't redirect me to the CART page! = Check out the option of the plugin you must select what page to redirect to. = Where can i find you? = You can find me on facebook/diego2k = This is cool how can i help? = Make donation, make translations, improve it, spread the word! == 0.3 == Compatible with wordpress 4 == 0.2 == Improved code Fixed in loop mode add-to-cart button not working Added Mercadopago as purchase gateway == 0.1.4 == Added Option to Hide Prices and Totals Added Option to send HTML e-mails Fixed template location to be same as catablog's upload folder Removed item_ prefix on e-mail table titles == 0.1.3 == Fixed problem with translation Fixed bug that only emails one item from cart Added support for custom order template == 0.1.2 == Small bugfix to support catablog slug change == 0.1.1 == Improved Documentation == 0.1 == First Public Release
About
Add Catablog Plugin Support for Making Purchase Orders
Resources
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- PHP 98.8%
- CSS 1.2%