Step 5: Create SKUs and run Cron jobs

Learn how to create SKUs and run Cron jobs.

SKU creation

To create SKUs for the Digital River system, use the ImpEx below to create the Cron job at the merchant application after updating the product catalog ID and store ID.

$siteUid=electronics
$storeUid=electronics
$productCatalog=electronicsProductCatalog
INSERT_UPDATE CreateSKUCronJob;code[unique=true];job(code)[default=createSKUJob];
sessionLanguage(isoCode)[default=en];productCatalog;baseStore(uid)
;$siteUid-CreateSKUCronJob;;;$productCatalog;$storeUid


INSERT_UPDATE Trigger;cronJob(code)[unique=true];cronExpression
;$siteUid-CreateSKUCronJob;0 0/5 * 1/1 * ? *

Fee creation

Use the ImpEx below to create the fee.

$siteUid=electronics
$storeUid=electronics
$productCatalog=electronicsProductCatalog
INSERT_UPDATE CreateFeeCronJob;code[unique=true];job(code)
[default=createRegulatoryFeeJob];sessionLanguage(isoCode)[default=en];
baseStore(uid)
;$siteUid-CreateFeeCronJob;;;$storeUid


INSERT_UPDATE Trigger;cronJob(code)[unique=true];cronExpression
;$siteUid-CreateFeeCronJob;0 0/5 * 1/1 * ? *

Fulfillment retry job

This Cron job gets the pending consignment list and creates a Digital River fulfillment.

Fulfillment retry job impex

$siteUid=electronics
$storeUid=electronics
$productCatalog=electronicsProductCatalog
INSERT_UPDATE  FulfillmentRetryJob;code[unique=true];job(code)
[default=createFulfillmentRetryJob];sessionLanguage(isoCode)[default=en];
baseStore(uid)
;$siteUid-FulfillmentRetryJob;;;$storeUid

Last updated