Skip to content

Commit 919368f

Browse files
author
Exploding Labs Bot
committed
Update site from docs source repo
1 parent 215895b commit 919368f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sku-generator/format/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ <h2 id="1-referencing-columns">1. Referencing Columns</h2>
538538
<hr />
539539
<h2 id="2-basic-format">2. Basic Format</h2>
540540
<p>You can combine text and column references inside <strong>braces <code>{ }</code></strong>.</p>
541-
<div class="highlight"><pre><span></span><code>{A}-{B}-{C}
541+
<div class="highlight"><pre><span></span><code>{A}-{B}
542542
</code></pre></div>
543543
<ul>
544544
<li>If <code>A = "Shirt"</code> and <code>B = "Red"</code>, the <code>{A}-{B}</code> SKU will be:</li>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"Home","text":""},{"location":"#sku-generator","title":"SKU Generator","text":"<p>SKU Generator is a simple tool that helps you automatically create clean, consistent Stock Keeping Units (SKUs) from your product data.</p> <p>Instead of manually typing codes into spreadsheets, you can upload a product list and let SKU Generator build SKUs for you based on your chosen format.</p> <p>It\u2019s designed for sellers, store owners, and makers who want to save time, reduce errors, and keep their product catalogs organized across platforms like Shopify, Etsy, or Amazon.</p>"},{"location":"#whats-next","title":"\ud83d\udcda What's next?","text":"<p>\ud83d\udc49 Getting Started \u2013 a guide to using SKU Generator.</p>"},{"location":"format/","title":"How to Create a SKU Format","text":"<p>A SKU format is a simple recipe that tells the app how to build SKUs (Stock Keeping Units) from the columns in your CSV file. You don\u2019t need to know programming \u2014 just follow the rules below.</p>"},{"location":"format/#1-referencing-columns","title":"1. Referencing Columns","text":"<p>Each column in your CSV can be referenced by a letter:</p> <ul> <li><code>{A}</code> = first column</li> <li><code>{B}</code> = second column</li> <li><code>{C}</code> = third column</li> <li>\u2026and so on.</li> <li>After <code>{Z}</code>, it continues as <code>{AA}</code>, <code>{AB}</code>, <code>{AC}</code>\u2026</li> </ul>"},{"location":"format/#2-basic-format","title":"2. Basic Format","text":"<p>You can combine text and column references inside braces <code>{ }</code>.</p> <pre><code>{A}-{B}-{C}\n</code></pre> <ul> <li>If <code>A = \"Shirt\"</code> and <code>B = \"Red\"</code>, the <code>{A}-{B}</code> SKU will be:</li> </ul> <pre><code>Shirt-Red\n</code></pre> <p>You can also add your own fixed text:</p> <pre><code>SKU-{A}-{B}\n</code></pre> <p>Gives:</p> <pre><code>SKU-Shirt-Red\n</code></pre>"},{"location":"format/#3-transformations","title":"3. Transformations","text":"<p>You can apply transformations to change how the column text is used. Add them after a colon <code>:</code> inside the braces.</p>"},{"location":"format/#common-transformations","title":"Common Transformations","text":"Code Description Example Input Example Output <code>1-9</code> Trim <code>{A:3}</code> from <code>Blue Long Trousers</code> <code>Blu</code> <code>C</code> Consonants <code>{A:C}</code> from <code>Blue Long Trousers</code> <code>BlLngTrsrs</code> <code>I</code> Initials <code>{A:I}</code> from <code>Blue Long Trousers</code> <code>BLT</code> <code>L</code> Lowercase <code>{A:L}</code> from <code>Blue Long Trousers</code> <code>blue long trousers</code> <code>P</code> Pad to 3 chars (with 'X') <code>{A:P}</code> from <code>M</code> <code>MXX</code> <code>5P</code> Trim and pad to n characters (with 'X') <code>{A:5P}</code> from <code>M</code> <code>MXXXX</code> <code>Z</code> Zero-pad number to 3 digits <code>{A:Z}</code> from <code>42</code> <code>042</code> <code>5Z</code> Zero-pad number to n digits <code>{A:5Z}</code> from <code>42</code> <code>00042</code> <code>S</code> Slug (replace spaces/symbols with <code>_</code>) <code>{A:S}</code> from <code>Blue Long Trousers</code> <code>Blue_Long_Trousers</code> <code>U</code> Uppercase <code>{A:U}</code> from <code>Blue Long Trousers</code> <code>BLUE LONG TROUSERS</code> <code>W</code> First word only <code>{A:W}</code> from <code>Blue Long Trousers</code> <code>Blue</code>"},{"location":"format/#4-combining-multiple-transforms","title":"4. Combining Multiple Transforms","text":"<p>You can chain multiple transformations together:</p> <pre><code>{A:U3} \u2192 Uppercase, then take the first 3 letters\n</code></pre> <p>If <code>A = \"trousers\"</code>, the result is:</p> <pre><code>TRO\n</code></pre>"},{"location":"format/#5-examples","title":"5. Examples","text":"CSV Row (A=Name, B=Color, C=ID) Format Result Shirt, Red, 42 <code>{A}-{B}-{C}</code> <code>Shirt-Red-42</code> Shirt, Red, 42 <code>{A:U}-{B:U}</code> <code>SHIRT-RED</code> Blue Long Trousers, Navy, 7 <code>{A:I}-{B:3}-{C:3Z}</code> <code>BLT-Nav-007</code> Hat, Black, 1234 <code>SKU-{C:5P}</code> <code>SKU-01234</code>"},{"location":"format/#6-tips","title":"6. Tips","text":"<ul> <li>Always wrap column references in <code>{ }</code>.</li> <li>Use plain text outside braces for fixed words.</li> <li>Combine transformations to shorten, clean, or format values.</li> <li>If a column is empty, the SKU part will also be empty.</li> </ul> <p>\u2705 With these rules, you can create SKU formats that match your business needs \u2014 simple or advanced!</p>"}]}
1+
{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"Home","text":""},{"location":"#sku-generator","title":"SKU Generator","text":"<p>SKU Generator is a simple tool that helps you automatically create clean, consistent Stock Keeping Units (SKUs) from your product data.</p> <p>Instead of manually typing codes into spreadsheets, you can upload a product list and let SKU Generator build SKUs for you based on your chosen format.</p> <p>It\u2019s designed for sellers, store owners, and makers who want to save time, reduce errors, and keep their product catalogs organized across platforms like Shopify, Etsy, or Amazon.</p>"},{"location":"#whats-next","title":"\ud83d\udcda What's next?","text":"<p>\ud83d\udc49 Getting Started \u2013 a guide to using SKU Generator.</p>"},{"location":"format/","title":"How to Create a SKU Format","text":"<p>A SKU format is a simple recipe that tells the app how to build SKUs (Stock Keeping Units) from the columns in your CSV file. You don\u2019t need to know programming \u2014 just follow the rules below.</p>"},{"location":"format/#1-referencing-columns","title":"1. Referencing Columns","text":"<p>Each column in your CSV can be referenced by a letter:</p> <ul> <li><code>{A}</code> = first column</li> <li><code>{B}</code> = second column</li> <li><code>{C}</code> = third column</li> <li>\u2026and so on.</li> <li>After <code>{Z}</code>, it continues as <code>{AA}</code>, <code>{AB}</code>, <code>{AC}</code>\u2026</li> </ul>"},{"location":"format/#2-basic-format","title":"2. Basic Format","text":"<p>You can combine text and column references inside braces <code>{ }</code>.</p> <pre><code>{A}-{B}\n</code></pre> <ul> <li>If <code>A = \"Shirt\"</code> and <code>B = \"Red\"</code>, the <code>{A}-{B}</code> SKU will be:</li> </ul> <pre><code>Shirt-Red\n</code></pre> <p>You can also add your own fixed text:</p> <pre><code>SKU-{A}-{B}\n</code></pre> <p>Gives:</p> <pre><code>SKU-Shirt-Red\n</code></pre>"},{"location":"format/#3-transformations","title":"3. Transformations","text":"<p>You can apply transformations to change how the column text is used. Add them after a colon <code>:</code> inside the braces.</p>"},{"location":"format/#common-transformations","title":"Common Transformations","text":"Code Description Example Input Example Output <code>1-9</code> Trim <code>{A:3}</code> from <code>Blue Long Trousers</code> <code>Blu</code> <code>C</code> Consonants <code>{A:C}</code> from <code>Blue Long Trousers</code> <code>BlLngTrsrs</code> <code>I</code> Initials <code>{A:I}</code> from <code>Blue Long Trousers</code> <code>BLT</code> <code>L</code> Lowercase <code>{A:L}</code> from <code>Blue Long Trousers</code> <code>blue long trousers</code> <code>P</code> Pad to 3 chars (with 'X') <code>{A:P}</code> from <code>M</code> <code>MXX</code> <code>5P</code> Trim and pad to n characters (with 'X') <code>{A:5P}</code> from <code>M</code> <code>MXXXX</code> <code>Z</code> Zero-pad number to 3 digits <code>{A:Z}</code> from <code>42</code> <code>042</code> <code>5Z</code> Zero-pad number to n digits <code>{A:5Z}</code> from <code>42</code> <code>00042</code> <code>S</code> Slug (replace spaces/symbols with <code>_</code>) <code>{A:S}</code> from <code>Blue Long Trousers</code> <code>Blue_Long_Trousers</code> <code>U</code> Uppercase <code>{A:U}</code> from <code>Blue Long Trousers</code> <code>BLUE LONG TROUSERS</code> <code>W</code> First word only <code>{A:W}</code> from <code>Blue Long Trousers</code> <code>Blue</code>"},{"location":"format/#4-combining-multiple-transforms","title":"4. Combining Multiple Transforms","text":"<p>You can chain multiple transformations together:</p> <pre><code>{A:U3} \u2192 Uppercase, then take the first 3 letters\n</code></pre> <p>If <code>A = \"trousers\"</code>, the result is:</p> <pre><code>TRO\n</code></pre>"},{"location":"format/#5-examples","title":"5. Examples","text":"CSV Row (A=Name, B=Color, C=ID) Format Result Shirt, Red, 42 <code>{A}-{B}-{C}</code> <code>Shirt-Red-42</code> Shirt, Red, 42 <code>{A:U}-{B:U}</code> <code>SHIRT-RED</code> Blue Long Trousers, Navy, 7 <code>{A:I}-{B:3}-{C:3Z}</code> <code>BLT-Nav-007</code> Hat, Black, 1234 <code>SKU-{C:5P}</code> <code>SKU-01234</code>"},{"location":"format/#6-tips","title":"6. Tips","text":"<ul> <li>Always wrap column references in <code>{ }</code>.</li> <li>Use plain text outside braces for fixed words.</li> <li>Combine transformations to shorten, clean, or format values.</li> <li>If a column is empty, the SKU part will also be empty.</li> </ul> <p>\u2705 With these rules, you can create SKU formats that match your business needs \u2014 simple or advanced!</p>"}]}

0 commit comments

Comments
 (0)