The In Stock feature allows administrators to manage and display stock availability information for products in a category. This ensures users are aware of product availability while browsing the shop catalog.
Stock notifications: Display messages such as "Out of Stock," "Pre-order Available," or "Only 4 Left" directly on product cards and details pages.
Dynamic updates: Automatically update stock status based on changes in the linked attribute in Jira Assets.
Enhanced user experience: Help users make informed decisions by providing real-time stock visibility.
Stock Attribute Configuration
This feature works only if a float or integer attribute is selected for the category. It enables stock-related functionalities, such as displaying stock levels, indicating when items are out of stock, or showing pre-order options.
Key details:
Attribute Dependency: The feature activates when a float or integer attribute is chosen to represent stock quantities.
Category-Level Setting: Configure stock behavior individually for each category to suit its requirements.
...
Temporary Cart Management in Shoppie
Shoppie employs a temporary cart system to enhance the shopping experience while ensuring inventory accuracy. Here's how it works:
Cart creation: A cart is generated and saved in the user's local storage (browser) for each catalog. This allows users to add items, refresh the page, or leave and return to the shop without losing their selected items, as long as they return within a specified time frame.
20-Minute timeout: Carts are stored temporarily and deleted after 20 minutes of inactivity. This ensures that:
Reserved items are "freed" if the user abandons the shopping session.
Stock availability remains accurate and prevents users from blocking inventory unnecessarily.
Permanent cart storage: Once a ticket is created, the cart is saved permanently in the ticket details. Before this, the cart exists temporarily in Forge storage.
Balance between usability and accuracy: The 20-minute timeout is designed to strike a balance. It’s long enough to allow users to pause, research, or refresh the portal, but short enough to quickly release reserved items if the user does not return.