> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ratelab.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Index

# Shipping Logic Examples

Rate Lab includes ready-made templates for common shipping scenarios. Use these as starting points for your own shipping strategies - copy the code, adapt it to your needs, and test it in the IDE.

## How to use these examples

1. Find an example that matches your needs (or is close to it).
2. Copy the Liquid code from the example.
3. Paste it into your Rate Lab template editor (left panel).
4. Modify values and logic to fit your specific requirements.
5. Click **Run** to test how it works with different order scenarios.

## Scenario categories

* [Cart & Pricing Strategies](cart-and-pricing)\
  Percentage-based pricing, tiered rates, and cart minimums.
* [Vendor-Based Logic](vendor-operations)\
  Allocate surcharges, caps, and fees per vendor or fulfillment partner.
* [Destination Controls](destination-controls)\
  Adjust rates based on geography, hazmat rules, or shipping restrictions.
* [Product-Level Qualifiers](product-qualifiers)\
  Detect properties, weight classes, or SKUs to influence pricing and descriptions.
* [Fulfillment & Fees](fulfillment-fees)\
  Introduce service fees, warehouse prefixes, or special handling costs.

Prefer the basics first? Start with the default scenario highlighted in [Cart & Pricing Strategies](cart-and-pricing#default-rate-lab-function).
