Overview
The CompuTécnicos shopping cart provides a comprehensive interface for managing your product selections before checkout. It includes smart features like combo discounts, free shipping progress tracking, and intelligent product recommendations.You must be logged in to add products to your cart and proceed to checkout.
Adding Products to Cart
From Product Catalog
- Browse the product catalog
- Click on a product card to view details
- Click “Agregar al Carrito” button
- Product is added to your cart immediately
From Product Detail Page
- View product details
- Adjust the quantity using the selector
- Click “Agregar al Carrito”
- Or use “Comprar Ahora” for direct checkout
Cart Features
Quantity Management
Adjust quantities with +/- buttons or direct input
Combo Discounts
Automatic 10% discount on compatible product combinations
Free Shipping Progress
Visual progress bar showing how close you are to free shipping
Smart Recommendations
Suggested products based on your cart items
Cart Interface
Item Display
Each cart item shows:- Product image with offer badge if applicable
- Category and product name
- Brand information
- Stock availability with quantity remaining
- Quantity controls (+/- buttons and direct input)
- Subtotal for that item
- Remove button to delete the item
Quantity Controls
Manage product quantities easily:Adjusting Quantities
Adjusting Quantities
Increment/Decrement Buttons:
- Click the ”-” button to decrease quantity
- Click the ”+” button to increase quantity
- Cannot go below 1 unit
- Cannot exceed available stock
- Click in the quantity field
- Type the desired number
- System auto-updates when you change the value
- Invalid quantities are automatically corrected
If you try to add more units than available stock, the system will limit the quantity and show a warning message.
Pricing and Discounts
Subtotal Calculation
The cart calculates:- Subtotal: Sum of all items (quantity × unit price)
- Combo Discount: Automatic discount for compatible products
- Shipping: 50,000 COP)
- Total: Final amount to pay
Combo Discounts
Get 10% off when combining compatible categories:| Category Pair | Discount |
|---|---|
| CPU + RAM | 10% on both items |
| CPU + Storage | 10% on both items |
| GPU + Peripherals | 10% on both items |
| GPU + Storage | 10% on both items |
| Storage + RAM | 10% on both items |
| Storage + Peripherals | 10% on both items |
How Combo Discounts Work
How Combo Discounts Work
The system:
- Groups items by category (Procesadores, Memorias RAM, etc.)
- Identifies compatible pairs based on predefined rules
- Calculates 10% discount on the sum of each pair
- Applies discounts to the lowest-priced items first
- Shows total discount in the cart summary
- CPU: $500,000 COP
- RAM: $200,000 COP
- Combo discount: (500,000 + 200,000) × 10% = $70,000 COP saved
Free Shipping
Track your progress toward free shipping:- Threshold: $50,000 COP
- Default shipping: $10,000 COP
- Progress bar shows percentage complete
- Remaining amount displayed when below threshold
Below Threshold
Shows “Te faltan $X para envío gratis” with the remaining amount needed
Free Shipping Unlocked
Shows “¡Ya alcanzaste el envío gratis!” celebration message
Cart Summary Sidebar
The right sidebar displays your purchase summary:Summary Details
- Subtotal with item count
- Shipping cost (or FREE indicator)
- Free shipping progress bar
- Combo discount (if applicable)
- Delivery guarantee information
- Final total in COP
Action Buttons
Available Actions
Available Actions
Proceder al Pago (Proceed to Payment):
- Takes you to the checkout page
- Only visible when logged in
- Primary action button
- Removes all items from cart
- Shows confirmation modal
- Cannot be undone
Delivery Guarantee
Every cart includes a delivery guarantee:Entrega garantizada: If your order is delayed, you receive a $4,000 COP coupon for future purchases.
Smart Recommendations
The cart shows personalized product suggestions:How Recommendations Work
- Category-based: Products from same categories as cart items
- Intelligent filtering: Excludes items already in cart
- Priority sorting: Offer items and newest products first
- Limited display: Shows up to 4 recommendations
Using Recommendations
- View product image, name, and price
- Click “Agregar” to add to cart
- Automatically refreshes after adding
Cart Actions
Removing Items
- Click the trash icon button on any cart item
- Confirm deletion in the modal dialog
- Item is removed immediately
- Cart totals update automatically
Emptying Cart
- Click “Vaciar Carrito” button in sidebar
- Confirm action in modal dialog
- All items are removed
- Cart becomes empty
Clearing your cart cannot be undone. Make sure you want to remove all items before confirming.
Continuing to Checkout
When ready to purchase:- Review all items and quantities
- Verify the total amount
- Click “Proceder al Pago”
- You’ll be taken to the checkout page
Mobile Experience
The cart is fully responsive:- Stacked layout on mobile devices
- Touch-optimized controls for quantity adjustment
- Swipe-friendly item cards
- Mobile-specific quantity inputs for better usability
- Responsive sidebar moves below items on small screens
Cart Persistence
Your cart is stored in your session:- Persists during browsing across the site
- Survives page refreshes while logged in
- Cleared on logout for security
- Not shared between devices
Stock Validation
The cart includes real-time stock checking:- Available stock displayed for each item
- Stock warnings if quantity exceeds availability
- Automatic limitation to available stock
- Out of stock items clearly marked
Stock Validation Process
Stock Validation Process
When updating quantities:
- System checks current available stock
- Compares with requested quantity
- If exceeding stock, limits to maximum available
- Shows warning toast notification
- Updates cart with corrected quantity
Error Handling
Common Scenarios
| Scenario | System Response |
|---|---|
| Not logged in | Redirects to login page |
| Out of stock | Prevents adding, shows error |
| Invalid quantity | Auto-corrects and notifies |
| Empty cart at checkout | Shows empty cart message |
Toast Notifications
The cart uses toast notifications for user feedback:- Success (green): Product added successfully
- Warning (yellow): Stock limit reached
- Error (red): Operation failed
Technical Details
AJAX Updates
Quantity updates use AJAX for seamless experience:Session Storage
Cart data is stored in PHP sessions:- Secure server-side storage
- Not exposed to client manipulation
- Validated on every operation
Tips for Best Experience
Check Stock First
View product stock on detail pages before adding large quantities
Use Combos
Build complete PC setups to maximize combo discounts
Track Free Shipping
Add items to reach the $50,000 threshold for free delivery
Review Before Checkout
Double-check quantities and total before proceeding to payment