Skip to content

Commit

Permalink
Use space to ensure blank field
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Sides committed Aug 17, 2020
1 parent 305561a commit 88794ec
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 25 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"name": "pyxl/fillauer-product-importer",
"description": "WordPress plugin not for creating popups",
"type": "wordpress-plugin",
"version": "1.7.8"
"version": "1.7.9"
}
21 changes: 8 additions & 13 deletions dist/scripts/client.js

Large diffs are not rendered by default.

12 changes: 4 additions & 8 deletions dist/scripts/products.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion fillauer-product-importer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Plugin Name: Fillauer Product Importer
* Description: Import a CSV file to update products on the database
* Version: 1.7.8
* Version: 1.7.9
*/


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "product-importer",
"version": "1.7.8",
"version": "1.7.9",
"description": "Parse CSV for importing products",
"license": "(ISC OR GPL-3.0)",
"repository": "https://bitbucket.org/pyxlinc/pyxl",
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/products.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ function fillBlankVariations(product) {
// For each spec inside each variation, assign empty string if non-existent.
for (let i = 0; i < totalSpecs; i++) {
if (!variation.specs[i]) {
product.variations.varies[0][varyInd].specs[i] = '';
product.variations.varies[0][varyInd].specs[i] = ' ';
};
};
});
Expand Down

0 comments on commit 88794ec

Please sign in to comment.