{% extends 'base.html' %} {% block title %}{% if product %}Edit{% else %}Add{% endif %} Product — PickkerMarket{% endblock %} {% block content %}
{% csrf_token %}

{% if product %}Edit{% else %}Add{% endif %} Product

{{ form.name }} {% if form.name.errors %}
{{ form.name.errors }}
{% endif %}
{{ form.name_sw }} {{ form.name_sw.help_text }}
{% for field in form %} {% if field.name != "name" and field.name != "name_sw" %} {{ field }} {% if field.help_text %}{{ field.help_text }}{% endif %} {% if field.errors %}
{{ field.errors }}
{% endif %} {% endif %} {% endfor %} {% if product %} {% if not product.is_approved %}This product was submitted by a fleet company and is not yet visible to customers — review the details above, then tick this and save to make it live.{% endif %} {% endif %}
{% if product %}

Manage measures (bucket, sack, sadolin, piece) →

{% endif %}

Registered categories

Categories offered above come from this registered list — add a new one here if it's missing.

{% if categories %}
{% for c in categories %}
{{ c.name }}{% if c.name_sw %} ({{ c.name_sw }}){% endif %} · x{{ c.dispersion_factor|default:'1.0' }}
{% endfor %}
{% endif %}
{% csrf_token %}

"Scatter" (default 1.0) estimates how spread out a category's stalls usually are across the market — higher for categories like vegetables that tend to be scattered across many stalls, 1.0 for ones that usually cluster in one area (grains, fruits). Only affects pricing if Fee Settings' "extra distinct item fee" is turned on.

Registered units

The "Unit" choice above, and each product's extra measures (bucket, sack, sadolin, piece, ...), are drawn from this list — register a new one here and it's available everywhere right away, in both languages, without touching any product already using the existing units.

{% if measure_units %}
{% for u in measure_units %}
{{ u.label_en }}{% if u.label_sw %} ({{ u.label_sw }}){% endif %}
{% endfor %}
{% endif %}
{% csrf_token %}

← Back to admin portal

{% endblock %} {% block extra_scripts %} {% endblock %}