make sure that commerce products with no variants still have a sku variant created for them with a title
This commit is contained in:
parent
ccf97b2736
commit
2189fa2580
1 changed files with 1 additions and 0 deletions
|
|
@ -1202,6 +1202,7 @@ sub mergeProductsWithCommerce {
|
|||
$shortdesc .= sprintf('%s:%s,', $parameter, $value);
|
||||
}
|
||||
$shortdesc =~ s/,$//; ##tidy up and clip to 30 chars
|
||||
$shortdesc = $productData->{title} unless $shortdesc;
|
||||
$shortdesc = substr $shortdesc, 0, 30;
|
||||
|
||||
my $variant;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue