Testing products caching

Tags: #<Tag:0x00007f45e345f7d8>

How to test?

  1. Make a change to each of the resources that can affect the products listing, such that the listing changes
  2. Check that the change is picked up
  3. Check that the integrity checker reads green (see Configuration -> Caching)

What do we need to test?

  • Product, variant, product properties, producer properties, taxons, images, variant override
  • OrderCycle, coordinator fee, exchange fee
  • EnterpriseFee
  • Supplier name
  • Tax on products and fees

I can’t remove the Dairy taxon from Producer of Meat’s SNAGS product.

Also when I added a variant to SNAGSs the Cache Settings had the following in the ‘diff’ column…

[
{
“id”: 274,
“name”: “Lamb”,
“permalink”: “lamb-1”,
“count_on_hand”: 19,
“on_demand”: false,
“group_buy”: null,
“notes”: null,
“description”: “”,
“properties_with_values”: [
{
“id”: 12,
“name”: “Low Food Miles”,
“value”: “”
}
],
“variants”: [
{
“id”: 707,
“is_master”: false,
“count_on_hand”: 19,
“name_to_display”: “Lamb”,
“unit_to_display”: “1 Rack”,
“options_text”: “1 Rack”,
“on_demand”: false,
“price”: “19.0”,
“fees”: {
“admin”: “10.0”
},
“price_with_fees”: “29.0”,
“product_name”: “Lamb”
}
],
“master”: null,
“primary_taxon”: {
“id”: 61,
“name”: “Meat & Fish”,
“permalink”: “products/meat-and-fish”,
“icon”: “https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/61/original/taxons_meat_fish.svg?1402988889
},
“taxons”: [
{
“id”: 61
}
],
“images”: [
{
“id”: 190,
“alt”: null,
“small_url”: “https://s3.amazonaws.com/ofn_staging_2/public/images/spree/products/190/small/rack.jpg”,
“large_url”: “https://s3.amazonaws.com/ofn_staging_2/public/images/spree/products/190/large/rack.jpg
}
],
“supplier”: {
“id”: 147
},
“price”: “19.0”
},
{
“id”: 281,
“name”: “Leg of Lamb (Frozen)”,
“permalink”: “leg-of-lamb”,
“count_on_hand”: 2,
“on_demand”: false,
“group_buy”: null,
“notes”: null,
“description”: “Leg of lamb”,
“properties_with_values”: [
{
“id”: 12,
“name”: “Low Food Miles”,
“value”: “”
}
],
“variants”: [
{
“id”: 573,
“is_master”: false,
“count_on_hand”: 1,
“name_to_display”: “Leg of Lamb (Frozen)”,
“unit_to_display”: “2.5kg”,
“options_text”: “2.5kg”,
“on_demand”: false,
“price”: “37.5”,
“fees”: {
“admin”: “10.0”
},
“price_with_fees”: “47.5”,
“product_name”: “Leg of Lamb (Frozen)”
},
{
“id”: 571,
“is_master”: false,
“count_on_hand”: 1,
“name_to_display”: “Leg of Lamb (Frozen)”,
“unit_to_display”: “2.1kg”,
“options_text”: “2.1kg”,
“on_demand”: false,
“price”: “31.5”,
“fees”: {
“admin”: “10.0”
},
“price_with_fees”: “41.5”,
“product_name”: “Leg of Lamb (Frozen)”
}
],
“master”: null,
“primary_taxon”: {
“id”: 61,
“name”: “Meat & Fish”,
“permalink”: “products/meat-and-fish”,
“icon”: “https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/61/original/taxons_meat_fish.svg?1402988889
},
“taxons”: [
{
“id”: 61
}
],
“images”: [
{
“id”: 193,
“alt”: null,
“small_url”: “https://s3.amazonaws.com/ofn_staging_2/public/images/spree/products/193/small/leg_of_lamb.jpg”,
“large_url”: “https://s3.amazonaws.com/ofn_staging_2/public/images/spree/products/193/large/leg_of_lamb.jpg
}
],
“supplier”: {
“id”: 147
},
“price”: “8.0”
},
{
“id”: 313,
“name”: “Loin Steak”,
“permalink”: “loin-steak”,
“count_on_hand”: 996,
“on_demand”: false,
“group_buy”: null,
“notes”: null,
“description”: “”,
“properties_with_values”: [
{
“id”: 12,
“name”: “Low Food Miles”,
“value”: “”
}
],
“variants”: [
{
“id”: 775,
“is_master”: false,
“count_on_hand”: 996,
“name_to_display”: “Loin Steak”,
“unit_to_display”: “1kg”,
“options_text”: “1kg”,
“on_demand”: false,
“price”: “6.0”,
“fees”: {
“admin”: “10.0”
},
“price_with_fees”: “16.0”,
“product_name”: “Loin Steak”
}
],
“master”: null,
“primary_taxon”: {
“id”: 61,
“name”: “Meat & Fish”,
“permalink”: “products/meat-and-fish”,
“icon”: “https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/61/original/taxons_meat_fish.svg?1402988889
},
“taxons”: [
{
“id”: 61
}
],
“images”: [

 ],
 "supplier": {
   "id": 147
 },
 "price": "6.0"

},
{
“id”: 314,
“name”: “Rump Steak”,
“permalink”: “rump-steak”,
“count_on_hand”: 697,
“on_demand”: false,
“group_buy”: null,
“notes”: null,
“description”: “”,
“properties_with_values”: [
{
“id”: 12,
“name”: “Low Food Miles”,
“value”: “”
}
],
“variants”: [
{
“id”: 706,
“is_master”: false,
“count_on_hand”: 697,
“name_to_display”: “Rump Steak”,
“unit_to_display”: “1kg”,
“options_text”: “1kg”,
“on_demand”: false,
“price”: “6.0”,
“fees”: {
“admin”: “10.0”
},
“price_with_fees”: “16.0”,
“product_name”: “Rump Steak”
}
],
“master”: null,
“primary_taxon”: {
“id”: 61,
“name”: “Meat & Fish”,
“permalink”: “products/meat-and-fish”,
“icon”: “https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/61/original/taxons_meat_fish.svg?1402988889
},
“taxons”: [
{
“id”: 61
}
],
“images”: [

 ],
 "supplier": {
   "id": 147
 },
 "price": "6.0"

},
{
“id”: 273,
“name”: “SNAGS”,
“permalink”: “sausages”,

  • “count_on_hand”: 81,
  • “count_on_hand”: 111,
    “on_demand”: false,
    “group_buy”: true,
    “notes”: “”,
    “description”: “These sausages are great for a barbecue or pool party!”,
    “properties_with_values”: [
    {
    “id”: 1,
    “name”: “Native Veg Regen”,
    “value”: “”
    },
    {
    “id”: 12,
    “name”: “Low Food Miles”,
    “value”: “”
    }
    ],
    “variants”: [
    {
    “id”: 805,
    “is_master”: false,
    “count_on_hand”: 40,
    “name_to_display”: “Rospetal Snags”,
    “unit_to_display”: “750g”,
    “options_text”: “750g”,
    “on_demand”: false,
    “price”: “30.0”,
    “fees”: {
    “admin”: “10.0”
    },
    “price_with_fees”: “40.0”,
    “product_name”: “SNAGS”
    },
    {
    “id”: 893,
    “is_master”: false,
    “count_on_hand”: 41,
    “name_to_display”: “Basil Snags”,
    “unit_to_display”: “750g”,
    “options_text”: “750g”,
    “on_demand”: false,
    “price”: “30.0”,
    “fees”: {
    “admin”: “10.0”
    },
    “price_with_fees”: “40.0”,
    “product_name”: “SNAGS”
    }
    ],
    “master”: null,
    “primary_taxon”: {
    “id”: 59,
    “name”: “Dairy”,
    “permalink”: “products/dairy”,
    “icon”: “https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/59/original/taxons_dairy_milk.svg?1402988858
    },
    “taxons”: [
    {
    “id”: 59
    },
    {
    “id”: 61
    },
    {
    “id”: 65
    }
    ],
    “images”: [
    {
    “id”: 189,
    “alt”: “”,
    “small_url”: “https://s3.amazonaws.com/ofn_staging_2/public/images/spree/products/189/small/Snago.png”,
    “large_url”: “https://s3.amazonaws.com/ofn_staging_2/public/images/spree/products/189/large/Snago.png
    }
    ],
    “supplier”: {
    “id”: 147
    },
    “price”: “3.0”
    }
    ]
    \ No newline at end of file

Hi @sstead,

I was able to remove the dairy taxon once I changed the primary taxon (at the top-right of the edit product page) to something other than dairy. Perhaps a little counter-intuitive, maybe we need a message about that when the primary taxon is removed, to say that you need to change it? Or maybe don’t allow people to remove it in the first place, so it has to be changed above…

I’m just working through some spec failures then we should have another build to test.

Cool @RohanM just let me know when you’re ready and whether I’m just going through the same motion as on Wednesday. Maikel has Group Admin stuff in staging 2, not sure if he’s going to keep in there.

Getting grumpy cat at https://staging2.openfood.com.au/admin/cache_settings

When I hid a product in Inventory…
[
{

  • “id”: 347,

  • “name”: “Chardonnay”,

  • “permalink”: “chardonnay”,

  • “on_demand”: false,

  • “group_buy”: null,

  • “notes”: null,

  • “description”: “”,

  • “properties_with_values”: [

  •  {
    
  •    "id": 11,
    
  •    "name": "Locally Grown",
    
  •    "value": "So local"
    
  •  }
    
  • ],

  • “variants”: [

  •  {
    
  •    "id": 942,
    
  •    "is_master": false,
    
  •    "count_on_hand": 6,
    
  •    "name_to_display": "Chardonnay",
    
  •    "unit_to_display": "750mL",
    
  •    "options_text": "750mL",
    
  •    "on_demand": false,
    
  •    "price": "10.0",
    
  •    "fees": {
    
  •    },
    
  •    "price_with_fees": "10.0",
    
  •    "product_name": "Chardonnay"
    
  •  }
    
  • ],

  • “master”: null,

  • “primary_taxon”: {

  •  "id": 64,
    
  •  "name": "Drinks",
    
  •  "permalink": "products/drinks",
    
  •  "icon": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/64/original/taxons_drinks.svg?1402988925"
    
  • },

  • “taxons”: [

  •  {
    
  •    "id": 64
    
  •  }
    
  • ],

  • “images”: [

  • ],

  • “supplier”: {

  •  "id": 179
    
  • },

  • “price”: “10.0”

  • },

  • {
    “id”: 371,
    “name”: “Pinot Noir”,
    “permalink”: “pinot-noir”,
    “on_demand”: false,
    “group_buy”: null,
    “notes”: null,
    “description”: “”,
    “properties_with_values”: [
    {
    “id”: 11,
    “name”: “Locally Grown”,
    “value”: “So local”
    }
    ],
    “variants”: [
    {
    “id”: 985,
    “is_master”: false,
    “count_on_hand”: 6,
    “name_to_display”: “Pinot Noir”,
    “unit_to_display”: “750mL”,
    “options_text”: “750mL”,
    “on_demand”: false,
    “price”: “10.0”,
    “fees”: {
    },
    “price_with_fees”: “10.0”,
    “product_name”: “Pinot Noir”
    }
    ],
    “master”: null,
    “primary_taxon”: {
    “id”: 64,
    “name”: “Drinks”,
    “permalink”: “products/drinks”,
    “icon”: “https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/64/original/taxons_drinks.svg?1402988925
    },
    “taxons”: [
    {
    “id”: 64
    }
    ],
    “images”: [

    ],
    “supplier”: {
    “id”: 179
    },
    “price”: “10.0”
    },
    {
    “id”: 348,
    “name”: “Shiraz”,
    “permalink”: “chardonnay1”,
    “on_demand”: false,
    “group_buy”: false,
    “notes”: “”,
    “description”: “”,
    “properties_with_values”: [
    {
    “id”: 11,
    “name”: “Locally Grown”,
    “value”: “So local”
    }
    ],
    “variants”: [
    {
    “id”: 944,
    “is_master”: false,
    “count_on_hand”: 6,
    “name_to_display”: “Shiraz”,
    “unit_to_display”: “750mL”,
    “options_text”: “750mL”,
    “on_demand”: false,
    “price”: “10.0”,
    “fees”: {
    },
    “price_with_fees”: “10.0”,
    “product_name”: “Shiraz”
    }
    ],
    “master”: null,
    “primary_taxon”: {
    “id”: 64,
    “name”: “Drinks”,
    “permalink”: “products/drinks”,
    “icon”: “https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/64/original/taxons_drinks.svg?1402988925
    },
    “taxons”: [
    {
    “id”: 64
    }
    ],
    “images”: [

    ],
    “supplier”: {
    “id”: 179
    },
    “price”: “10.0”
    }
    ]
    \ No newline at end of file

I put champaign from Hidden in Inventory back to Inventory… But champaign remained out of my shop. Was in ingoing and outgoing of my OC.


This was what cache settings had:
[
{

  • “id”: 367,

  • “name”: “Champaign Bottle”,

  • “permalink”: “champaign”,

  • “on_demand”: false,

  • “group_buy”: false,

  • “notes”: “”,

  • “description”: “”,

  • “properties_with_values”: [

  •  {
    
  •    "id": 14,
    
  •    "name": "Low Food Miles (Only 22km)",
    
  •    "value": "Pretty low miles/kms"
    
  •  }
    
  • ],

  • “variants”: [

  •  {
    
  •    "id": 983,
    
  •    "is_master": false,
    
  •    "count_on_hand": 2,
    
  •    "name_to_display": "Champaign Bottle",
    
  •    "unit_to_display": "750mL",
    
  •    "options_text": "750mL",
    
  •    "on_demand": false,
    
  •    "price": "3.0",
    
  •    "fees": {
    
  •    },
    
  •    "price_with_fees": "3.0",
    
  •    "product_name": "Champaign Bottle"
    
  •  }
    
  • ],

  • “master”: null,

  • “primary_taxon”: {

  •  "id": 64,
    
  •  "name": "Drinks",
    
  •  "permalink": "products/drinks",
    
  •  "icon": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/64/original/taxons_drinks.svg?1402988925"
    
  • },

  • “taxons”: [

  •  {
    
  •    "id": 64
    
  •  }
    
  • ],

  • “images”: [

  •  {
    
  •    "id": 208,
    
  •    "alt": "",
    
  •    "small_url": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/products/208/small/champ.jpg",
    
  •    "large_url": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/products/208/large/champ.jpg"
    
  •  }
    
  • ],

  • “supplier”: {

  •  "id": 179
    
  • },

  • “price”: “10.0”

  • },

  • {
    “id”: 347,
    “name”: “Chardonnay”,
    “permalink”: “chardonnay”,
    “on_demand”: false,
    “group_buy”: null,
    “notes”: null,
    “description”: “”,
    “properties_with_values”: [
    {
    “id”: 11,
    “name”: “Locally Grown”,
    “value”: “So local”
    }
    ],
    “variants”: [
    {
    “id”: 942,
    “is_master”: false,
    “count_on_hand”: 6,
    “name_to_display”: “Chardonnay”,
    “unit_to_display”: “750mL”,
    “options_text”: “750mL”,
    “on_demand”: false,
    “price”: “10.0”,
    “fees”: {
    },
    “price_with_fees”: “10.0”,
    “product_name”: “Chardonnay”
    }
    ],
    “master”: null,
    “primary_taxon”: {
    “id”: 64,
    “name”: “Drinks”,
    “permalink”: “products/drinks”,
    “icon”: “https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/64/original/taxons_drinks.svg?1402988925
    },
    “taxons”: [
    {
    “id”: 64
    }
    ],
    “images”: [

    ],
    “supplier”: {
    “id”: 179
    },
    “price”: “10.0”
    },
    {
    “id”: 371,
    “name”: “Pinot Noir”,
    “permalink”: “pinot-noir”,
    “on_demand”: false,
    “group_buy”: null,
    “notes”: null,
    “description”: “”,
    “properties_with_values”: [
    {
    “id”: 11,
    “name”: “Locally Grown”,
    “value”: “So local”
    }
    ],
    “variants”: [
    {
    “id”: 985,
    “is_master”: false,
    “count_on_hand”: 6,
    “name_to_display”: “Pinot Noir”,
    “unit_to_display”: “750mL”,
    “options_text”: “750mL”,
    “on_demand”: false,
    “price”: “10.0”,
    “fees”: {
    },
    “price_with_fees”: “10.0”,
    “product_name”: “Pinot Noir”
    }
    ],
    “master”: null,
    “primary_taxon”: {
    “id”: 64,
    “name”: “Drinks”,
    “permalink”: “products/drinks”,
    “icon”: “https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/64/original/taxons_drinks.svg?1402988925
    },
    “taxons”: [
    {
    “id”: 64
    }
    ],
    “images”: [

    ],
    “supplier”: {
    “id”: 179
    },
    “price”: “10.0”
    },
    {
    “id”: 348,
    “name”: “Shiraz”,
    “permalink”: “chardonnay1”,
    “on_demand”: false,
    “group_buy”: false,
    “notes”: “”,
    “description”: “”,
    “properties_with_values”: [
    {
    “id”: 11,
    “name”: “Locally Grown”,
    “value”: “So local”
    }
    ],
    “variants”: [
    {
    “id”: 944,
    “is_master”: false,
    “count_on_hand”: 6,
    “name_to_display”: “Shiraz”,
    “unit_to_display”: “750mL”,
    “options_text”: “750mL”,
    “on_demand”: false,
    “price”: “10.0”,
    “fees”: {
    },
    “price_with_fees”: “10.0”,
    “product_name”: “Shiraz”
    }
    ],
    “master”: null,
    “primary_taxon”: {
    “id”: 64,
    “name”: “Drinks”,
    “permalink”: “products/drinks”,
    “icon”: “https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/64/original/taxons_drinks.svg?1402988925
    },
    “taxons”: [
    {
    “id”: 64
    }
    ],
    “images”: [

    ],
    “supplier”: {
    “id”: 179
    },
    “price”: “10.0”
    }
    ]
    \ No newline at end of file

I had a product in my Inventory New List, then I changed the inventory setting so that new products no longer showed in shopfront. I got this cache setting note… but the new product did come out of my OC and shopfront as it should have…
[
{
“id”: 367,
“name”: “Champaign Bottle”,
“permalink”: “champaign”,
“on_demand”: false,
“group_buy”: false,
“notes”: “”,
“description”: “”,
“properties_with_values”: [
{
“id”: 14,
“name”: “Low Food Miles (Only 22km)”,
“value”: “Pretty low miles/kms”
}
],
“variants”: [
{
“id”: 983,
“is_master”: false,
“count_on_hand”: 10,
“name_to_display”: “Champaign Bottle”,
“unit_to_display”: “750mL”,
“options_text”: “750mL”,
“on_demand”: false,
“price”: “10.0”,
“fees”: {
},
“price_with_fees”: “10.0”,
“product_name”: “Champaign Bottle”
}
],
“master”: null,
“primary_taxon”: {
“id”: 64,
“name”: “Drinks”,
“permalink”: “products/drinks”,
“icon”: “https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/64/original/taxons_drinks.svg?1402988925
},
“taxons”: [
{
“id”: 64
}
],
“images”: [
{
“id”: 208,
“alt”: “”,
“small_url”: “https://s3.amazonaws.com/ofn_staging_2/public/images/spree/products/208/small/champ.jpg”,
“large_url”: “https://s3.amazonaws.com/ofn_staging_2/public/images/spree/products/208/large/champ.jpg
}
],
“supplier”: {
“id”: 179
},
“price”: “10.0”
},
{
“id”: 347,
“name”: “Chardonnay”,
“permalink”: “chardonnay”,
“on_demand”: false,
“group_buy”: null,
“notes”: null,
“description”: “”,
“properties_with_values”: [
{
“id”: 11,
“name”: “Locally Grown”,
“value”: “So local”
}
],
“variants”: [
{
“id”: 942,
“is_master”: false,
“count_on_hand”: 6,
“name_to_display”: “Chardonnay”,
“unit_to_display”: “750mL”,
“options_text”: “750mL”,
“on_demand”: false,
“price”: “10.0”,
“fees”: {
},
“price_with_fees”: “10.0”,
“product_name”: “Chardonnay”
}
],
“master”: null,
“primary_taxon”: {
“id”: 64,
“name”: “Drinks”,
“permalink”: “products/drinks”,
“icon”: “https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/64/original/taxons_drinks.svg?1402988925
},
“taxons”: [
{
“id”: 64
}
],
“images”: [

 ],
 "supplier": {
   "id": 179
 },
 "price": "10.0"

},
{
“id”: 371,
“name”: “Pinot Noir”,
“permalink”: “pinot-noir”,
“on_demand”: false,
“group_buy”: null,
“notes”: null,
“description”: “”,
“properties_with_values”: [
{
“id”: 11,
“name”: “Locally Grown”,
“value”: “So local”
}
],
“variants”: [
{
“id”: 985,
“is_master”: false,
“count_on_hand”: 100,
“name_to_display”: “Pinot Noir”,
“unit_to_display”: “750mL”,
“options_text”: “750mL”,
“on_demand”: false,
“price”: “10.0”,
“fees”: {
},
“price_with_fees”: “10.0”,
“product_name”: “Pinot Noir”
}
],
“master”: null,
“primary_taxon”: {
“id”: 64,
“name”: “Drinks”,
“permalink”: “products/drinks”,
“icon”: “https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/64/original/taxons_drinks.svg?1402988925
},
“taxons”: [
{
“id”: 64
}
],
“images”: [

 ],
 "supplier": {
   "id": 179
 },
 "price": "10.0"

},
{

  • “id”: 374,

  • “name”: “Port”,

  • “permalink”: “port”,

  • “on_demand”: false,

  • “group_buy”: null,

  • “notes”: null,

  • “description”: “”,

  • “properties_with_values”: [

  •  {
    
  •    "id": 11,
    
  •    "name": "Locally Grown",
    
  •    "value": "So local"
    
  •  }
    
  • ],

  • “variants”: [

  •  {
    
  •    "id": 992,
    
  •    "is_master": false,
    
  •    "count_on_hand": 387,
    
  •    "name_to_display": "Port 500ml",
    
  •    "unit_to_display": "500mL",
    
  •    "options_text": "500mL",
    
  •    "on_demand": false,
    
  •    "price": "12.9",
    
  •    "fees": {
    
  •    },
    
  •    "price_with_fees": "12.9",
    
  •    "product_name": "Port"
    
  •  },
    
  •  {
    
  •    "id": 993,
    
  •    "is_master": false,
    
  •    "count_on_hand": 369,
    
  •    "name_to_display": "Port 1L",
    
  •    "unit_to_display": "1L",
    
  •    "options_text": "1L",
    
  •    "on_demand": false,
    
  •    "price": "20.0",
    
  •    "fees": {
    
  •    },
    
  •    "price_with_fees": "20.0",
    
  •    "product_name": "Port"
    
  •  }
    
  • ],

  • “master”: null,

  • “primary_taxon”: {

  •  "id": 64,
    
  •  "name": "Drinks",
    
  •  "permalink": "products/drinks",
    
  •  "icon": "https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/64/original/taxons_drinks.svg?1402988925"
    
  • },

  • “taxons”: [

  •  {
    
  •    "id": 64
    
  •  }
    
  • ],

  • “images”: [

  • ],

  • “supplier”: {

  •  "id": 179
    
  • },

  • “price”: “12.9”

  • },

  • {
    “id”: 348,
    “name”: “Shiraz”,
    “permalink”: “chardonnay1”,
    “on_demand”: false,
    “group_buy”: false,
    “notes”: “”,
    “description”: “”,
    “properties_with_values”: [
    {
    “id”: 11,
    “name”: “Locally Grown”,
    “value”: “So local”
    }
    ],
    “variants”: [
    {
    “id”: 944,
    “is_master”: false,
    “count_on_hand”: 6,
    “name_to_display”: “Shiraz”,
    “unit_to_display”: “750mL”,
    “options_text”: “750mL”,
    “on_demand”: false,
    “price”: “10.0”,
    “fees”: {
    },
    “price_with_fees”: “10.0”,
    “product_name”: “Shiraz”
    }
    ],
    “master”: null,
    “primary_taxon”: {
    “id”: 64,
    “name”: “Drinks”,
    “permalink”: “products/drinks”,
    “icon”: “https://s3.amazonaws.com/ofn_staging_2/public/images/spree/taxons/64/original/taxons_drinks.svg?1402988925
    },
    “taxons”: [
    {
    “id”: 64
    }
    ],
    “images”: [

    ],
    “supplier”: {
    “id”: 179
    },
    “price”: “10.0”
    }
    ]
    \ No newline at end of file

I also got code in the DIFF column when I switched the inventory setting back to ‘allow new products in shopfront’.

Deleted the last one about tax- enterprises weren’t set to charge GST… so yeah, tax and fees are working fine.

@NickWeir @pmackay
Caching is in Australia’s staging2 if you want to play with it. As you can see there are a couple of issues with the new Inventory page, but mostly working.

I got this when I changed Product Category

I got this when i changed the product owner/producer. This was when I had 2 OCs open… The error was only in one of the OCs.

When i change the producer, the product is still remaining in the shopfront, with new producer, but can’t be seen in OC. Only the “24 Products” text indicates that the product is included in the OC still.

I added a Producer’s Property- 2 of the three open OCs which were stocking the producers products got a DIFF message…

When I changed added a product image

Hi @RohanM, I’ve finished testing, those 4 things I picked up last time had no lingering issues, must have just been the delay. Happy to push it to production? Just let Maikel know when the staging server is free for his little thing that needs testing.