Changeset 702690
- Timestamp:
- 04/24/2013 08:40:21 AM (13 years ago)
- Location:
- shopp-variants-sku
- Files:
-
- 4 edited
-
tags/1.0.3/readme.txt (modified) (1 diff)
-
tags/1.0.3/shopp-variants-sku.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/shopp-variants-sku.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
shopp-variants-sku/tags/1.0.3/readme.txt
r701026 r702690 1 1 === Shopp Variants SKU === 2 2 3 Contributors: CrazyXhtml 4 3 5 Donate link: http://www.crazyxhtml.com 6 4 7 Tags: shopp, sku, product, variant 8 5 9 Requires at least: 3.0.1 10 6 11 Tested up to: 3.5.1 12 7 13 Stable tag: 1.0.3 14 8 15 License: GPLv2 or later 16 9 17 License URI: http://www.gnu.org/licenses/gpl-2.0.html 18 19 10 20 11 21 Allows users of Shopp 1.2.x (https://shopplugin.net) to show correct sku for selected variant 12 22 23 24 13 25 == Description == 26 27 14 28 15 29 Shopp 1.2 (https://shopplugin.net) doesn't provide a native way to show sku for the selected variant. This plugin solves that problem. 16 30 31 32 17 33 == Screenshots == 34 35 18 36 19 37 No Screenshots 20 38 39 40 21 41 == Changelog == 42 43 22 44 23 45 = 1.0.3 = 24 46 47 48 25 49 * Improve CSS and add echo/return 50 51 26 52 27 53 = 1.0.2 = 28 54 55 56 29 57 * Fixed Javascript array variant's order 58 59 30 60 31 61 = 1.0.1 = 32 62 63 64 33 65 * Fixed Javascript array variant's option key order 66 67 34 68 35 69 = 1.0 = 36 70 71 72 37 73 * Initial release. 74 75 38 76 39 77 == Upgrade Notice == 40 78 79 80 41 81 = 1.0.3 = 82 83 42 84 43 85 * Not important to upgrate to that version from 1.0.2 44 86 87 88 45 89 = 1.0.2 = 90 91 46 92 47 93 * Important to upgrate to that version from 1.0.1 48 94 95 96 49 97 = 1.0.1 = 98 99 50 100 51 101 * Important to upgrate to that version from 1.0 52 102 103 104 53 105 = 1.0 = 106 107 54 108 55 109 * Just upgrade. 56 110 111 112 57 113 == Installation == 58 114 115 116 59 117 1. Upload the directory "shopp-variants-sku" to the '/wp-content/plugins/' directory 118 60 119 2. Activate the plugin through the 'Plugins' menu in WordPress 120 61 121 3. Add this code in the product loop where you want to see SKU: 122 62 123 <?php if(function_exists('am_shopp_variants_sku')) am_shopp_variants_sku(true); ?> 63 124 64 use true - to echo the result 65 use false - to return the result <?php if(function_exists('am_shopp_variants_sku')) $sku = am_shopp_variants_sku(false); ?> 125 use true to echo the sku; 126 127 use false to return the sku: <?php if(function_exists('am_shopp_variants_sku')) $sku = am_shopp_variants_sku(false); ?> 128 129 66 130 67 131 == Frequently Asked Questions == 68 132 133 134 69 135 = Can feature x be added? = 136 137 70 138 71 139 Probably! E-mail me: info[a]crazyxhtml.com 72 140 141 142 73 143 ==Support== 144 145 74 146 75 147 If you need support, e-mail info[a]crazyxhtml.com 76 148 149 150 77 151 ==Hire Me== 78 152 153 154 79 155 If you need a Wordpress or Shopp developer, I'm available: info[a]crazyxhtml.com 156 -
shopp-variants-sku/tags/1.0.3/shopp-variants-sku.php
r701026 r702690 76 76 $sku = shopp('product', 'sku','echo=false'); 77 77 if(!empty($sku)) 78 $html = '<div class="sku"> '.$sku.'</div>';78 $html = '<div class="sku"><span>'.$sku.'</span></div>'; 79 79 } 80 80 if($echo) -
shopp-variants-sku/trunk/readme.txt
r701503 r702690 1 1 === Shopp Variants SKU === 2 2 3 Contributors: CrazyXhtml 4 3 5 Donate link: http://www.crazyxhtml.com 6 4 7 Tags: shopp, sku, product, variant 8 5 9 Requires at least: 3.0.1 10 6 11 Tested up to: 3.5.1 12 7 13 Stable tag: 1.0.3 14 8 15 License: GPLv2 or later 16 9 17 License URI: http://www.gnu.org/licenses/gpl-2.0.html 18 19 10 20 11 21 Allows users of Shopp 1.2.x (https://shopplugin.net) to show correct sku for selected variant 12 22 23 24 13 25 == Description == 26 27 14 28 15 29 Shopp 1.2 (https://shopplugin.net) doesn't provide a native way to show sku for the selected variant. This plugin solves that problem. 16 30 31 32 17 33 == Screenshots == 34 35 18 36 19 37 No Screenshots 20 38 39 40 21 41 == Changelog == 42 43 22 44 23 45 = 1.0.3 = 24 46 47 48 25 49 * Improve CSS and add echo/return 50 51 26 52 27 53 = 1.0.2 = 28 54 55 56 29 57 * Fixed Javascript array variant's order 58 59 30 60 31 61 = 1.0.1 = 32 62 63 64 33 65 * Fixed Javascript array variant's option key order 66 67 34 68 35 69 = 1.0 = 36 70 71 72 37 73 * Initial release. 74 75 38 76 39 77 == Upgrade Notice == 40 78 79 80 41 81 = 1.0.3 = 82 83 42 84 43 85 * Not important to upgrate to that version from 1.0.2 44 86 87 88 45 89 = 1.0.2 = 90 91 46 92 47 93 * Important to upgrate to that version from 1.0.1 48 94 95 96 49 97 = 1.0.1 = 98 99 50 100 51 101 * Important to upgrate to that version from 1.0 52 102 103 104 53 105 = 1.0 = 106 107 54 108 55 109 * Just upgrade. 56 110 111 112 57 113 == Installation == 58 114 115 116 59 117 1. Upload the directory "shopp-variants-sku" to the '/wp-content/plugins/' directory 118 60 119 2. Activate the plugin through the 'Plugins' menu in WordPress 120 61 121 3. Add this code in the product loop where you want to see SKU: 122 62 123 <?php if(function_exists('am_shopp_variants_sku')) am_shopp_variants_sku(true); ?> 124 63 125 use true to echo the sku; 126 64 127 use false to return the sku: <?php if(function_exists('am_shopp_variants_sku')) $sku = am_shopp_variants_sku(false); ?> 128 129 65 130 66 131 == Frequently Asked Questions == 67 132 133 134 68 135 = Can feature x be added? = 136 137 69 138 70 139 Probably! E-mail me: info[a]crazyxhtml.com 71 140 141 142 72 143 ==Support== 144 145 73 146 74 147 If you need support, e-mail info[a]crazyxhtml.com 75 148 149 150 76 151 ==Hire Me== 77 152 153 154 78 155 If you need a Wordpress or Shopp developer, I'm available: info[a]crazyxhtml.com 156 -
shopp-variants-sku/trunk/shopp-variants-sku.php
r701026 r702690 76 76 $sku = shopp('product', 'sku','echo=false'); 77 77 if(!empty($sku)) 78 $html = '<div class="sku"> '.$sku.'</div>';78 $html = '<div class="sku"><span>'.$sku.'</span></div>'; 79 79 } 80 80 if($echo)
Note: See TracChangeset
for help on using the changeset viewer.