Fix bad characters in the price column when importing products into a Shelf. Fixes bug #12001.
This commit is contained in:
parent
cb7ffb3a21
commit
67264660f7
4 changed files with 51 additions and 1 deletions
|
|
@ -190,6 +190,7 @@ sub importProducts {
|
|||
my %productRow;
|
||||
##Order the data according to the headers, in whatever order they exist.
|
||||
@productRow{ @headers } = @{ $productRow };
|
||||
$productRow{price} =~ tr/0-9.//cd;
|
||||
##Isolate just the collateral from the other product information
|
||||
my %productCollateral;
|
||||
@productCollateral{ @collateralFields } = @productRow{ @collateralFields };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue