sync rate only for populated orders
This commit is contained in:
@@ -574,6 +574,7 @@ const emailUtils = require("./email-utils");
|
|||||||
|
|
||||||
if (utils.isEmpty(orderShippingRates)) {
|
if (utils.isEmpty(orderShippingRates)) {
|
||||||
console.log(`Shipping Rates not found`);
|
console.log(`Shipping Rates not found`);
|
||||||
|
continue;
|
||||||
// populate orders details to populate shipping rates
|
// populate orders details to populate shipping rates
|
||||||
const promise = checkShippingRates(page, 10_000);
|
const promise = checkShippingRates(page, 10_000);
|
||||||
await populateDataInFields(page, order);
|
await populateDataInFields(page, order);
|
||||||
|
|||||||
Reference in New Issue
Block a user