Differences

This shows you the differences between two versions of the page.

Link to this comparison view

litespeed_wiki:cache:litemage:troubleshooting:in-stock-figure-not-update-after-purchase [2018/02/22 16:05]
Jackson Zhang created
litespeed_wiki:cache:litemage:troubleshooting:in-stock-figure-not-update-after-purchase [2018/02/22 16:16]
Lisa Clarke Proofreading
Line 1: Line 1:
-====== "In Stock" ​number not update after purchase ​======+~~NOTOC~~ 
 +====== "In Stock" ​Number Not Updated After Purchase ​======
  
-Some store may show "in stock" numbers for each product. After a purchase, the number should be reduced ​to minus the quantities ​customer purchased. However "​in ​Stock" number is cached and doesn'​t change when using LiteMage. ​+===== The Problem ===== 
 +Some stores ​may show "in stock" numbers for each product. After a purchase, the number should be reduced ​by the quantity ​the customer purchased. However ​the "​in ​stock" number is cached and doesn'​t change when using LiteMage. ​
  
 {{ :​litespeed_wiki:​cache:​litemage:​troubleshooting:​litemage-in-stock-no-change-problem-after-purchase.png?​600 |}} {{ :​litespeed_wiki:​cache:​litemage:​troubleshooting:​litemage-in-stock-no-change-problem-after-purchase.png?​600 |}}
  
-Since LiteMage version 1.2.0, there is an global setting ​"Flush Product and Categories When Product Qty Changes"(LiteMage ​configuration-> General Settings-> Flush Product and Categories When Product Qty Changes), which can determine how changes in product quantity and product stock status affect product pages and their associated category pages.+===== The Solution ===== 
 +Since LiteMage version 1.2.0, there is global setting ​for **Flush Product and Categories When Product Qty Changes** (found under **LiteMage ​Configuration ​> General Settings**), which can determine how changes in product quantity and product stock status affect product pages and their associated category pages.
  
 There are four possible values this can be set to: There are four possible values this can be set to:
  
-Flush product when quantity or stock status ​change, flush categories only when stock status changes - This setting is useful if your product page displays a product quantity and both the product and category pages display differently when the product is out of stock.+  - ''​Flush product when quantity or stock status ​changes, flush categories only when stock status changes'' ​- This setting is useful if your product page displays a product quantity and both the product and category pages display differently when the product is out of stock. 
 +  - ''​Flush product and categories only when stock status changes''​ - This setting is useful if your product and category pages don't display product quantities but do display differently when a product is out of stock. 
 +  - ''​Flush product when stock status changes, do not flush categories when stock status or quantity change''​ - This setting is useful if your product page displays differently when the product is out of stock and the category page does not. 
 +  - ''​Always flush product and categories when quantity or stock status changes''​ - This setting is useful if both your product page and associated category pages show product quantities and display differently when the product is out of stock.
  
-Flush product and categories only when stock status changes - This setting is useful if your product and category pages don't display product quantities but do display differently when a product is out of stock. +You can select the right setting for your needs.
- +
-Flush product when stock status changes, do not flush categories when stock status or quantity change - This setting is useful if your product page displays differently when the product is out of stock and the category page does not. +
- +
-Always flush product and categories when quantity or stock status change - This setting is useful if both your product page and associated category pages show product quantities and display differently when the product is out of stock. +
- +
-You can select the right setting for your need.+
  
 {{ :​litespeed_wiki:​cache:​litemage:​troubleshooting:​litemage-in-stock-no-change-problem-after-purchase-configuration.png?​600 |}} {{ :​litespeed_wiki:​cache:​litemage:​troubleshooting:​litemage-in-stock-no-change-problem-after-purchase-configuration.png?​600 |}}
  • Admin
  • Last modified: 2018/02/22 16:16
  • by Lisa Clarke