stub out exportProducts
This commit is contained in:
parent
e562a45b10
commit
b020387643
1 changed files with 20 additions and 0 deletions
|
|
@ -27,6 +27,26 @@ These subroutines are available from this package:
|
|||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 exportProducts ( $session )
|
||||
|
||||
Export all products from the WebGUI system in a CSV file. For details
|
||||
about the file format, see importProducts.
|
||||
|
||||
Returns a temporary WebGUI::Storage object containing the file. The
|
||||
file will be named siteProductData.csv.
|
||||
|
||||
=cut
|
||||
|
||||
sub exportProducts {
|
||||
my $session = shift;
|
||||
my $productData = '';
|
||||
my $storage = WebGUI::Storage->createTemp($session);
|
||||
$storage->addFileFromScalar('siteProductData.csv', $productData);
|
||||
return $storage;
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 importProducts ( $session, $filePath )
|
||||
|
||||
Import products into the WebGUI system. If the master sku of a product
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue