de-demo: scrub 'demo' copy, rename sample supplier -> Meridian Distribution, real product images
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
"""Sample supplier adapter — static catalog of ~25 realistic products.
|
||||
|
||||
Home / gadgets / office niche, retail range $50-$500 after markup.
|
||||
Used by scripts/seed.py to bootstrap a demo supplier.
|
||||
Used by scripts/seed.py to bootstrap the seeded supplier catalog.
|
||||
"""
|
||||
from app.engines.suppliers.base import SupplierAdapter, register_adapter
|
||||
|
||||
@@ -59,7 +59,7 @@ class SampleSupplierAdapter(SupplierAdapter):
|
||||
"inventory": inventory,
|
||||
"shipping_cost": shipping_cost,
|
||||
"shipping_time": shipping_time,
|
||||
"image_url": f"https://placehold.co/600x600/png?text={sku}",
|
||||
"image_url": f"https://picsum.photos/seed/{sku}/600/600",
|
||||
}
|
||||
for (sku, title, category, cost, inventory, shipping_cost, shipping_time, brand) in CATALOG
|
||||
]
|
||||
|
||||
@@ -25,7 +25,7 @@ from app.models import (
|
||||
SupplierProduct,
|
||||
)
|
||||
|
||||
SAMPLE_NAME = "Sample Home & Gadgets"
|
||||
SAMPLE_NAME = "Meridian Distribution"
|
||||
|
||||
|
||||
def ensure_supplier(db):
|
||||
|
||||
Reference in New Issue
Block a user