Products imported by the Shelf do not have good URLs.
This commit is contained in:
parent
7027178762
commit
e2101ad8d2
2 changed files with 5 additions and 2 deletions
|
|
@ -232,6 +232,7 @@ sub importProducts {
|
|||
my $newProduct = $node->addChild({className => 'WebGUI::Asset::Sku::Product'});
|
||||
$newProduct->update({
|
||||
title => $newProduct->fixTitle($productRow{title}),
|
||||
url => $newProduct->fixUrl($productRow{title}),
|
||||
sku => $productRow{mastersku},
|
||||
});
|
||||
$newProduct->setCollateral('variantsJSON', 'variantId', 'new', \%productCollateral);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue