Here’s an overview showing the name and view for URLs in Satchmo.
URL paths are relative to SHOP_BASE.
| Url : | / |
|---|---|
| View : | satchmo_store.shop.views.home.home() |
| Url : | /<CATEGORY_SLUG>/ |
|---|---|
| View : | product.views.category_index() |
| Url : | /<CATEGORY_SLUG>/slug1/slug2/.../<slug>/ |
|---|---|
| View : | product.views.category_view() |
| Url : | /<PRODUCT_SLUG>/<slug>/ |
|---|---|
| View : | product.views.get_product() |
| Url : | /cart/ |
|---|---|
| View : | satchmo_store.shop.views.cart.display() |
| Url : | /checkout/ |
|---|---|
| View : | payment.views.contact.contact_info_view() |
| Url : | /checkout/balance/ |
|---|---|
| View : | payment.views.balance.balance_remaining_order() |
| Url : | /checkout/balance/<id>/ |
|---|---|
| View : | payment.views.balance.balance_remaining() |
| Url : | /checkout/custom/charge/ |
|---|---|
| View : | payment.views.balance.charge_remaining_post() |
| Url : | /checkout/custom/charge/<id>/ |
|---|---|
| View : | payment.views.balance.charge_remaining() |
| Url : | /checkout/mustlogin/ |
|---|---|
| View : | payment.views.contact.authentication_required() |
| Url : | /checkout/success/ |
|---|---|
| View : | payment.views.checkout.success() |
| Url : | /contact/ |
|---|---|
| View : | satchmo_store.shop.views.contact.form() |
| Url : | /contact/thankyou/ |
|---|---|
| View : | Contact thanks |
| Url : | /history/ |
|---|---|
| View : | satchmo_store.shop.views.orders.order_history() |
| Url : | /quickorder/ |
|---|---|
| View : | satchmo_store.shop.views.cart.add_multiple() |
| Url : | /search/ |
|---|---|
| View : | satchmo_store.shop.views.search.search_view() |
| Url : | /tracking/ |
|---|---|
| View : | satchmo_store.shop.views.orders.order_tracking() |
The view satchmo_store.shop.views.contact.form() redirects the user to this page after sending the email successfully.
url: satchmo_contact_thanks template: shop/contact_thanks.html context: None
| Url : | satchmo_balance_remaining |
|---|---|
| Template : | shop/checkout/balance_remaining.html |
| Context : |
|
||||||||
|---|---|---|---|---|---|---|---|---|---|
| Url : | satchmo_balance_remaining_order |
|---|---|
| Template : | shop/checkout/balance_remaining.html |
| Context : | see balance_remaining’s context. |
Displays a confirmation form for the order with id id.
| Url : | |||
|---|---|---|---|
| Template : | payment/admin/charge_remaining_confirm.html |
||
| Context : |
|
Handles the submit response to payment.views.balance.charge_remaining().
| Url : | |||
|---|---|---|---|
| Template : | payment/admin/charge_remaining_confirm.html |
||
| Context : |
|
| Url : | satchmo_checkout_auth_required |
|---|---|
| Template : | shop/checkout/authentication_required.html |
| Context : | None |
| Url : | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| Template : | shop/checkout/form.html |
||||||||
| Context : |
|
||||||||
The order has been succesfully processed. This can be used to generate a receipt or some other confirmation
| Url : | |||
|---|---|---|---|
| Template : | shop/checkout/success.html |
||
| Context : |
|
Display all categories.
Parameters: - root_only: If true, then only show root categories.
| Url : | |||
|---|---|---|---|
| Template : | product/category_index.html |
||
| Context : |
|
Display the category, its child categories, and its products.
| Url : | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Template : | product/category.html |
||||||||||
| Context : |
|
||||||||||
| Url : | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Template : | product/product.html |
||||||||||||||
| Context : |
|
||||||||||||||
| Url : | |||
|---|---|---|---|
| Template : | shop/multiple_product_form.html |
||
| Context : |
|
| Url : | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Template : | shop/cart.html |
||||||||||
| Context : |
|
||||||||||
| Url : | |||
|---|---|---|---|
| Template : | shop/contact_form.html |
||
| Context : |
|
| Url : | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Template : | shop/index.html |
||||||||||
| Context : |
|
||||||||||
| Url : | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| Template : | shop/order_history.html |
||||||||
| Context : |
|
||||||||
| Url : | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| Template : | shop/order_tracking.html |
||||||||
| Context : |
|
||||||||
| Url : | satchmo_search |
|---|---|
| Template : | shop/search.html |
| Context : |
URLs are relative to /checkout/PAYMENT_PAYPAL.URL_BASE/.
| Url : | / |
|---|---|
| View : | payment.modules.paypal.views.pay_ship_info() |
| Url : | /confirm/ |
|---|---|
| View : | payment.modules.paypal.views.confirm_info() |
| Url : | /confirmorder/ |
|---|---|
| View : | payment.views.confirm.confirm_free_order |
| Url : | /ipn/ |
|---|---|
| View : | payment.modules.paypal.views.ipn |
| Url : | /success/ |
|---|---|
| View : | payment.views.checkout.success() |
| Url : | |||||
|---|---|---|---|---|---|
| Template : | shop/checkout/paypal/pay_ship.html |
||||
| Context : |
|
| Url : | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Template : | shop/checkout/paypal/confirm.html |
||||||||||||||||||||
| Context : |
|
||||||||||||||||||||
a CharField with a TextArea widget.
a CharField.
an EmailField
a CharField.
a DecimalField.
a CharField.
a hidden IntegerField field.
a DecimalField.
A form populated with PositiveRoundedDecimalField fields, one for each active product.
Subclasses payment.forms.PaymentMethodForm
a radio-button selection with choices payment.config.labelled_gateway_choices().
an EmailField.
a CharField.
a CharField.
a CharField.
a CharField.
a CharField.
a CharField.
a CharField.
a CharField.
a CharField.
a CharField.
a CharField.
a BooleanField to determine whether the data in billing fields is to be copied into shipping fields.
a CharField.
a CharField.
a CharField.
a CharField.
a CharField.
a CharField.
a hidden CharField.
Here are the variables provided in the context by Satchmo’s context processor, satchmo_store.shop.context_processor.settings.
shop_base: the value SHOP_BASE of in SATCHMO_SETTINGS in your local_settings.py shop: the current satchmo_store.shop.models.Config in use shop_name: the store_name value from the config media_url: cart_count: number of items in the cart cart: user’s current cart; an instance of satchmo_store.shop.models.Cart categories: all categories in the site is_secure: request: login_url: the LOGIN_URL setting in your settings.py logout_url: the LOGOUT_URL setting in your settings.py sale: