WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Catablog Ordering - Add Catablog Support for Making Purchase Orders

Add Catablog Plugin Support for Making Purchase Orders

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'>

Requires: 3.5 or higher
Compatible up to: 3.5.2
Last Updated: 2013-2-21
Downloads: 2,298

Ratings

4 stars
4.3 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
0,1,0 100,1,1
100,1,1
100,1,1