Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Remove unused files
Paweł Burniakf7622ab4137d
diff --git a/saleor/checkout/templates/checkout/address.html b/saleor/checkout/templates/checkout/address.htmldeleted file mode 100644index 1c2c2306d3..0000000000--- a/saleor/checkout/templates/checkout/address.html+++ /dev/null@@ -1,65 +0,0 @@-{% extends "checkout/details.html" %}-{% load as_vertical_form from bootstrap %}-{% load i18n %}--{% block forms %}- {% if addresses %}- <p>{% trans "Use one of your existing addresses or enter a new address below." %}</p>-- <div class="row">- {% for address in addresses %}- <div class="col-sm-4">- <div class="panel {% if address.is_selected %}panel-primary{% else %}panel-default{% endif %}">- <div class="panel-body">- <form method="post">- {% csrf_token %}- <address>{% include "userprofile/snippets/address-details.html" with address=address %}</address>- {% for field in address.form %}{{ field.as_hidden }}{% endfor %}- {% block extra_address_fields %}{% endblock %}- <div class="form-group">- {% block use_this_address %}- <button type="submit" class="btn btn-default btn-lg col-sm-12">Use</button>- {% endblock %}- </div>- </form>- </div>- </div>- </div>- {% endfor %}- </div>-- <hr>-- {% if existing_address_selected %}- <p>- <a href="#address-form" class="btn btn-default" data-toggle="collapse" data-target="#address-form">{% trans "Enter a new address" %}</a>- </p>- {% endif %}- {% endif %}-- <div class="row">- <div class="col-sm-6">- {% block additional_message %}{% endblock %}-- <div class="panel panel-default{% if addresses and existing_address_selected %} collapse{% endif %}" id="address-form">- <div class="panel-body">- <form method="post" class="{% if not address_book or not existing_address_selected %} in{% endif %}">- {% csrf_token %}- <fieldset>- {% block fields %}{% endblock %}- </fieldset>-- <div class="form-group pull-right">- {% block form_submit %}- <button type="submit" class="btn btn-primary">- {% trans "Save address" %}- </button>- {% endblock %}- </div>- </form>- </div>- </div>- </div>- </div>-{% endblock forms %}-diff --git a/saleor/checkout/templates/checkout/billing.html b/saleor/checkout/templates/checkout/billing.htmldeleted file mode 100644index 166a56b7c9..0000000000--- a/saleor/checkout/templates/checkout/billing.html+++ /dev/null@@ -1,39 +0,0 @@-{% extends "checkout/address.html" %}--{% load as_vertical_form from bootstrap %}-{% load i18n %}--{% block use_this_address %}- <button type="submit" class="btn {% if entry.is_selected %}btn-primary{% else %}btn-default{% endif %} btn-lg col-sm-12">{% trans "Bill to this address" %}</button>-{% endblock %}--{% block additional_message %}- {% if not user.is_authenticated %}- <p class="alert alert-info">- {% trans "Already have an account?" %}- <a href="{% url "registration:login" %}?next={% url "checkout:details" step="billing-address" %}">{% trans "Log in" %}</a>- </p>- {% endif %}-{% endblock %}--{% block fields %}- {{ step.forms.address.first_name|as_vertical_form }}- {{ step.forms.address.last_name|as_vertical_form }}- {% if not user.is_authenticated %}- {{ step.forms.anonymous|as_vertical_form }}- {% endif %}- {{ step.forms.address.company_name|as_vertical_form }}- {{ step.forms.address.street_address_1|as_vertical_form }}- {{ step.forms.address.street_address_2|as_vertical_form }}- {{ step.forms.address.city|as_vertical_form }}- {{ step.forms.address.postal_code|as_vertical_form }}- {{ step.forms.address.country|as_vertical_form }}- {{ step.forms.address.country_area|as_vertical_form }}- {{ step.forms.address.phone|as_vertical_form }}-{% endblock fields %}--{% block form_submit %}- <button type="submit" class="btn btn-primary">- {% trans "Bill to this address" %}- </button>-{% endblock %}diff --git a/saleor/checkout/templates/checkout/digitaldelivery.html b/saleor/checkout/templates/checkout/digitaldelivery.htmldeleted file mode 100644index 7236d7e99d..0000000000--- a/saleor/checkout/templates/checkout/digitaldelivery.html+++ /dev/null@@ -1,51 +0,0 @@-{% extends "checkout/details.html" %}--{% load as_horizontal_form from bootstrap %}-{% load i18n %}-{% load gross from prices_i18n %}--{% block step_info %}- <div class="panel panel-default">- <div class="panel-heading">- {% trans "Delivery group" %}- </div>- <div class="panel-body">- <table class="table table-striped">- <thead>- <tr>- <th class="col-sm-4">{% trans "Name" %}</th>- <th class="col-sm-2">{% trans "Price" %}</th>- <th class="col-sm-2">{% trans "Subtotal" %}</th>- </tr>- </thead>- <tbody>- {% for item in items %}- <tr>- <td class="col-sm-4">{{ item.product }}{% if item.quantity != 1 %} <em>×{{ item.quantity }}</em>{% endif %}</td>- <td class="col-sm-2">{% gross item.get_price_per_item %}</td>- <td class="col-sm-2">{% gross item.get_total %}</td>- </tr>- {% endfor %}- </tbody>- </table>- </div>- </div>- <hr>-{% endblock %}--{% block forms %}-<form method="post" class="form-horizontal">- {% csrf_token %}- <fieldset>- <legend>{% trans "Enter address" %}</legend>- {{ form|as_horizontal_form }}- </fieldset>- <div class="form-group">- <div class="col-sm-offset-2 col-sm-10">- <button type="submit" class="btn btn-primary">- {% trans "Send to this address" %}- </button>- </div>- </div>-</form>-{% endblock forms %}diff --git a/saleor/checkout/templates/checkout/shipping.html b/saleor/checkout/templates/checkout/shipping.htmldeleted file mode 100644index b8d857842a..0000000000--- a/saleor/checkout/templates/checkout/shipping.html+++ /dev/null@@ -1,37 +0,0 @@-{% extends "checkout/address.html" %}-{% load as_horizontal_form from bootstrap %}-{% load as_vertical_form from bootstrap %}-{% load gross from prices_i18n %}-{% load i18n %}--{% block use_this_address %}- <button type="submit" class="btn {% if entry.is_selected %}btn-primary{% else %}btn-default{% endif %} btn-lg col-sm-12">{% trans "Ship to this address" %}</button>-{% endblock %}--{% block extra_address_fields %}- {{ delivery_form|as_vertical_form }}-{% endblock %}--{% block fields %}- <div id="form-full-toggle" data-label="{% trans "Shipping address same as billing" %}"></div>- <div class="form-full">- {{ step.forms.address.first_name|as_vertical_form }}- {{ step.forms.address.last_name|as_vertical_form }}- {{ step.forms.address.company_name|as_vertical_form }}- {{ step.forms.address.street_address_1|as_vertical_form }}- {{ step.forms.address.street_address_2|as_vertical_form }}- {{ step.forms.address.city|as_vertical_form }}- {{ step.forms.address.postal_code|as_vertical_form }}- {{ step.forms.address.country|as_vertical_form }}- {{ step.forms.address.country_area|as_vertical_form }}- {{ step.forms.address.phone|as_vertical_form }}- </div>-- {{ delivery_form|as_horizontal_form }}-{% endblock fields %}--{% block form_submit %}- <button type="submit" class="btn btn-primary">- {% trans "Ship to this address" %}- </button>-{% endblock %}