Skip to content

Commit c7bda4d

Browse files
author
Jacob Sides
committed
1.8.8: Documentation Shortcode meta field
1 parent bd795c6 commit c7bda4d

File tree

11 files changed

+16
-14
lines changed

11 files changed

+16
-14
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"name": "pyxl/fillauer-product-importer",
33
"description": "WordPress plugin for importing spreadsheet products as WP posts",
44
"type": "wordpress-plugin",
5-
"version": "1.8.7"
5+
"version": "1.8.8"
66
}

dist/scripts/client.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/scripts/fields.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/scripts/filters.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/scripts/products.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/scripts/rest.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

fillauer-product-importer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Plugin Name: Fillauer Product Importer
44
* Description: Import a CSV file to update products on the database
5-
* Version: 1.8.7
5+
* Version: 1.8.8
66
*/
77

88

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "product-importer",
3-
"version": "1.8.7",
3+
"version": "1.8.8",
44
"description": "Parse CSV for importing products",
55
"license": "(ISC OR GPL-3.0)",
66
"repository": "https://bitbucket.org/pyxlinc/pyxl",

src/scripts/fields.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ const f = {
3030
main_model: 'Main Model',
3131
pnf: 'In Part Number Finder',
3232
searchWeight: 'Search Weight',
33+
shortCode: 'Documentation Shortcode',
3334
region: 'Region Lock',
3435
};
3536

src/scripts/products.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ function combineVariationSpecs(parent) {
256256
const searchFor = ['Minimum', 'Maximum', 'Min', 'Max', 'min', 'max'];
257257

258258
// Min/Max combos -> min - max
259-
if (parent.variations[0] === undefined) { console.log('Has no variations?', parent); }
259+
if (parent.variations[0] === undefined || parent.variations[0].specs) { console.log('Has no variations?', parent); }
260260
Object.keys(parent.variations[0].specs).forEach((label, ind, arr) => {
261261
const [mod, base] = includesAny(label, searchFor);
262262
if (mod) {

0 commit comments

Comments
 (0)