Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
v:2.0:receipt [2016/12/01 03:06] – [Revisiting the Receipt] adam | v:2.0:receipt [2020/10/03 00:34] (current) – [Where the Receipt Fits Into the Order Flow] foxybrett | ||
---|---|---|---|
Line 18: | Line 18: | ||
* General | * General | ||
* Payment gateway or processor response | * Payment gateway or processor response | ||
- | * Your store' | + | * Your store' |
* The date and time | * The date and time | ||
* Order | * Order | ||
Line 52: | Line 52: | ||
- Back to your site. | - Back to your site. | ||
- | Also worth noting is that <wrap tip>you can configure the " | + | Also worth noting is that <wrap tip>you can configure the " |
+ | ===== Specifying a custom transaction ID for your store ===== | ||
+ | By default, FoxyCart store transactions are assigned a unique numerical global transaction ID, which means that transaction ID's will most probably not be sequential within your store. You can enable custom ID's though that will be sequential and can be customised to a specific start number, length and prefix/ | ||
+ | |||
+ | To enable custom ID's for your store, navigate to the '' | ||
+ | |||
+ | ; Start Value | ||
+ | : **Description: | ||
+ | : **Default: | ||
+ | ; Minimum Length | ||
+ | : **Description: | ||
+ | : **Default: | ||
+ | ; Prefix | ||
+ | : **Description: | ||
+ | ; Suffix | ||
+ | : **Description: | ||
+ | |||
+ | \\ | ||
+ | <WRAP center round info 90%> | ||
+ | Note that enabling the custom display ID's will only apply to new transactions placed after it's enabled. Any transactions placed while this setting was not enabled will simply have the default global transaction ID. | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== Filtering by Custom ID in the Admin or API ==== | ||
+ | |||
+ | To look for transactions when using a custom display ID, you can use the " | ||
===== Revisiting the Receipt ===== | ===== Revisiting the Receipt ===== | ||
The receipt can be revisited by your customers (or by store admins for viewing or printing orders) using the receipt' | The receipt can be revisited by your customers (or by store admins for viewing or printing orders) using the receipt' | ||
Line 69: | Line 94: | ||
{% if context == ' | {% if context == ' | ||
- | {% set candy = true %} | + | {% set hasWholesale |
{% for item in items %} | {% for item in items %} | ||
{% if item.category == ' | {% if item.category == ' | ||
- | {% set categoryFound | + | {% set hasWholesale |
{% endif %} | {% endif %} | ||
{% endfor %} | {% endfor %} | ||
- | {% if categoryFound | + | {% if hasWholesale |
- | < | + | < |
{% endif %} | {% endif %} | ||