SHOW:
|
|
- or go back to the newest paste.
| 1 | - | {% if context == "cart" or context == "checkout" %}
|
| 1 | + | {% if context == "checkout" %}
|
| 2 | <script> | |
| 3 | FC.client.on("render.done", function() {
| |
| 4 | - | var message = '<p>Message to be shown if there is more than 1 of each type of product by category.</p>', |
| 4 | + | var message = '<p>First-run sifters go into production early 2021 to deliver to you by April 20.</p>'; |
| 5 | - | both_categories = false, |
| 5 | + | |
| 6 | - | number_default = 0, |
| 6 | + | if ($(".production-note").length == 0) {
|
| 7 | - | number_perishables = 0; |
| 7 | + | $("fieldset.fc-address-entry").append('<div class="row production-note"><div class="col-sm-10 col-sm-push-1">' + message + '</div></div>');
|
| 8 | } | |
| 9 | - | for (var i=0; i<FC.json.items.length; i++) {
|
| 9 | + | |
| 10 | - | if (FC.json.items[i].category == "DEFAULT") {
|
| 10 | + | |
| 11 | - | number_default = number_default + FC.json.items[i].quantity; |
| 11 | + |