This is it. Don't get scared now. (Converted to Ratermania.Automation)
This commit is contained in:
@@ -43,7 +43,8 @@ namespace PartSource.Automation.Jobs
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.LogError(ex, "Failed to get the initial set of products from Shopify.");
|
||||
return;
|
||||
|
||||
throw;
|
||||
}
|
||||
|
||||
while (products != null && products.Any())
|
||||
@@ -60,7 +61,6 @@ namespace PartSource.Automation.Jobs
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
if (product.Variants[0].Price != partPrice.Your_Price.Value || product.Variants[0].CompareAtPrice != partPrice.Compare_Price.Value)
|
||||
{
|
||||
product.Variants[0].Price = partPrice.Your_Price.Value;
|
||||
|
||||
Reference in New Issue
Block a user