Plugin Directory

Changeset 702690


Ignore:
Timestamp:
04/24/2013 08:40:21 AM (13 years ago)
Author:
viriava
Message:

minor changes

Location:
shopp-variants-sku
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • shopp-variants-sku/tags/1.0.3/readme.txt

    r701026 r702690  
    11=== Shopp Variants SKU ===
     2
    23Contributors: CrazyXhtml
     4
    35Donate link: http://www.crazyxhtml.com
     6
    47Tags: shopp, sku, product, variant
     8
    59Requires at least: 3.0.1
     10
    611Tested up to: 3.5.1
     12
    713Stable tag: 1.0.3
     14
    815License: GPLv2 or later
     16
    917License URI: http://www.gnu.org/licenses/gpl-2.0.html
     18
     19
    1020
    1121Allows users of Shopp 1.2.x (https://shopplugin.net) to show correct sku for selected variant
    1222
     23
     24
    1325== Description ==
     26
     27
    1428
    1529Shopp 1.2 (https://shopplugin.net) doesn't provide a native way to show sku for the selected variant. This plugin solves that problem.
    1630
     31
     32
    1733== Screenshots ==
     34
     35
    1836
    1937No Screenshots
    2038
     39
     40
    2141== Changelog ==
     42
     43
    2244
    2345= 1.0.3 =
    2446
     47
     48
    2549* Improve CSS and add echo/return
     50
     51
    2652
    2753= 1.0.2 =
    2854
     55
     56
    2957* Fixed Javascript array variant's order
     58
     59
    3060
    3161= 1.0.1 =
    3262
     63
     64
    3365* Fixed Javascript array variant's option key order
     66
     67
    3468
    3569= 1.0 =
    3670
     71
     72
    3773* Initial release.
     74
     75
    3876
    3977== Upgrade Notice ==
    4078
     79
     80
    4181= 1.0.3 =
     82
     83
    4284
    4385* Not important to upgrate to that version from 1.0.2
    4486
     87
     88
    4589= 1.0.2 =
     90
     91
    4692
    4793* Important to upgrate to that version from 1.0.1
    4894
     95
     96
    4997= 1.0.1 =
     98
     99
    50100
    51101* Important to upgrate to that version from 1.0
    52102
     103
     104
    53105= 1.0 =
     106
     107
    54108
    55109* Just upgrade.
    56110
     111
     112
    57113== Installation ==
    58114
     115
     116
    591171. Upload the directory "shopp-variants-sku" to the '/wp-content/plugins/' directory
     118
    601192. Activate the plugin through the 'Plugins' menu in WordPress
     120
    611213. Add this code in the product loop where you want to see SKU:
     122
    62123<?php if(function_exists('am_shopp_variants_sku')) am_shopp_variants_sku(true); ?>
    63124
    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); ?>
     125use true to echo the sku;
     126
     127use false to return the sku: <?php if(function_exists('am_shopp_variants_sku')) $sku = am_shopp_variants_sku(false); ?>
     128
     129
    66130
    67131== Frequently Asked Questions ==
    68132
     133
     134
    69135= Can feature x be added? =
     136
     137
    70138
    71139Probably! E-mail me: info[a]crazyxhtml.com
    72140
     141
     142
    73143==Support==
     144
     145
    74146
    75147If you need support, e-mail info[a]crazyxhtml.com
    76148
     149
     150
    77151==Hire Me==
    78152
     153
     154
    79155If 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  
    7676        $sku = shopp('product', 'sku','echo=false');
    7777        if(!empty($sku))
    78             $html = '<div class="sku">'.$sku.'</div>';
     78            $html = '<div class="sku"><span>'.$sku.'</span></div>';
    7979    }
    8080    if($echo)
  • shopp-variants-sku/trunk/readme.txt

    r701503 r702690  
    11=== Shopp Variants SKU ===
     2
    23Contributors: CrazyXhtml
     4
    35Donate link: http://www.crazyxhtml.com
     6
    47Tags: shopp, sku, product, variant
     8
    59Requires at least: 3.0.1
     10
    611Tested up to: 3.5.1
     12
    713Stable tag: 1.0.3
     14
    815License: GPLv2 or later
     16
    917License URI: http://www.gnu.org/licenses/gpl-2.0.html
     18
     19
    1020
    1121Allows users of Shopp 1.2.x (https://shopplugin.net) to show correct sku for selected variant
    1222
     23
     24
    1325== Description ==
     26
     27
    1428
    1529Shopp 1.2 (https://shopplugin.net) doesn't provide a native way to show sku for the selected variant. This plugin solves that problem.
    1630
     31
     32
    1733== Screenshots ==
     34
     35
    1836
    1937No Screenshots
    2038
     39
     40
    2141== Changelog ==
     42
     43
    2244
    2345= 1.0.3 =
    2446
     47
     48
    2549* Improve CSS and add echo/return
     50
     51
    2652
    2753= 1.0.2 =
    2854
     55
     56
    2957* Fixed Javascript array variant's order
     58
     59
    3060
    3161= 1.0.1 =
    3262
     63
     64
    3365* Fixed Javascript array variant's option key order
     66
     67
    3468
    3569= 1.0 =
    3670
     71
     72
    3773* Initial release.
     74
     75
    3876
    3977== Upgrade Notice ==
    4078
     79
     80
    4181= 1.0.3 =
     82
     83
    4284
    4385* Not important to upgrate to that version from 1.0.2
    4486
     87
     88
    4589= 1.0.2 =
     90
     91
    4692
    4793* Important to upgrate to that version from 1.0.1
    4894
     95
     96
    4997= 1.0.1 =
     98
     99
    50100
    51101* Important to upgrate to that version from 1.0
    52102
     103
     104
    53105= 1.0 =
     106
     107
    54108
    55109* Just upgrade.
    56110
     111
     112
    57113== Installation ==
    58114
     115
     116
    591171. Upload the directory "shopp-variants-sku" to the '/wp-content/plugins/' directory
     118
    601192. Activate the plugin through the 'Plugins' menu in WordPress
     120
    611213. Add this code in the product loop where you want to see SKU:
     122
    62123&lt;?php if(function_exists(&#39;am_shopp_variants_sku&#39;)) am_shopp_variants_sku(true); ?&gt;
     124
    63125use true to echo the sku;
     126
    64127use false to return the sku: &lt;?php if(function_exists(&#39;am_shopp_variants_sku&#39;)) $sku = am_shopp_variants_sku(false); ?&gt;
     128
     129
    65130
    66131== Frequently Asked Questions ==
    67132
     133
     134
    68135= Can feature x be added? =
     136
     137
    69138
    70139Probably! E-mail me: info[a]crazyxhtml.com
    71140
     141
     142
    72143==Support==
     144
     145
    73146
    74147If you need support, e-mail info[a]crazyxhtml.com
    75148
     149
     150
    76151==Hire Me==
    77152
     153
     154
    78155If 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  
    7676        $sku = shopp('product', 'sku','echo=false');
    7777        if(!empty($sku))
    78             $html = '<div class="sku">'.$sku.'</div>';
     78            $html = '<div class="sku"><span>'.$sku.'</span></div>';
    7979    }
    8080    if($echo)
Note: See TracChangeset for help on using the changeset viewer.