{% extends "base.html" %} {% block title %}Add Product - Price Tracker{% endblock %} {% block content %}

Add New Product

{{ form.hidden_tag() }}
{{ form.name.label(class="form-label fw-bold") }} {{ form.name(class="form-control form-control-lg") }} {% if form.name.errors %}
{% for error in form.name.errors %}
{{ error }}
{% endfor %}
{% endif %}
{{ form.target_price.label(class="form-label fw-bold") }}
£ {{ form.target_price(class="form-control form-control-lg") }}
{% if form.target_price.errors %}
{% for error in form.target_price.errors %}
{{ error }}
{% endfor %}
{% endif %} Optional: Alert when price drops below this
{{ form.description.label(class="form-label fw-bold") }} {{ form.description(class="form-control", rows="3") }} {% if form.description.errors %}
{% for error in form.description.errors %}
{{ error }}
{% endfor %}
{% endif %} Optional: Brief description of the product

Product URLs

Add URLs from the sites you want to track. At least one URL is required.

{{ form.jjfoodservice_url.label(class="form-label fw-bold") }}
JJ Food Service {{ form.jjfoodservice_url(class="form-control", placeholder="https://www.jjfoodservice.com/...") }}
{% if form.jjfoodservice_url.errors %}
{% for error in form.jjfoodservice_url.errors %}
{{ error }}
{% endfor %}
{% endif %}
{{ form.atoz_catering_url.label(class="form-label fw-bold") }}
A to Z Catering {{ form.atoz_catering_url(class="form-control", placeholder="https://www.atoz-catering.co.uk/...") }}
{% if form.atoz_catering_url.errors %}
{% for error in form.atoz_catering_url.errors %}
{{ error }}
{% endfor %}
{% endif %}
{{ form.amazon_uk_url.label(class="form-label fw-bold") }}
Amazon UK {{ form.amazon_uk_url(class="form-control", placeholder="https://www.amazon.co.uk/...") }}
{% if form.amazon_uk_url.errors %}
{% for error in form.amazon_uk_url.errors %}
{{ error }}
{% endfor %}
{% endif %}
Tips:
  • Make sure URLs point to the specific product page
  • Test URLs in your browser first to ensure they work
  • The system will automatically prioritize delivery prices over collection prices
  • For JJ Food Service and A to Z Catering, ensure you can see delivery pricing on the page
  • For best results, use direct product page URLs
Cancel {{ form.submit(class="btn btn-primary btn-lg") }}
How to Find Product URLs
JJ Food Service

Navigate to the specific product page on JJ Food Service and copy the URL. Make sure you're logged in for accurate pricing. The system will automatically prioritize delivery prices over collection prices.

A to Z Catering

Go to the product page on A to Z Catering and copy the URL. URLs typically contain "/products/product/" followed by the product name. The system will automatically capture delivery pricing when available.

Amazon UK

Navigate to the product page on Amazon.co.uk and copy the URL. The URL should contain "/dp/" followed by the product identifier.

Delivery Pricing Priority

For JJ Food Service and A to Z Catering, the system automatically prioritizes delivery prices over collection prices. This ensures you're tracking the most relevant pricing for delivered goods to your business.

{% endblock %}