diff --git a/.vs/fortherun/v15/.suo b/.vs/fortherun/v15/.suo index 4d788be..8f4035c 100644 Binary files a/.vs/fortherun/v15/.suo and b/.vs/fortherun/v15/.suo differ diff --git a/BC-Home.html b/BC-Home.html index 68a4223..a9a970f 100644 --- a/BC-Home.html +++ b/BC-Home.html @@ -9,12 +9,15 @@ {% endif %}-->
-

Runners
giving back
to runners

- {% if theme.image_sets.slideshow.size > 0 %} + +

+

Pre-Orders Begin January 17th

+
{% if theme.featured_items > 0 %} @@ -47,9 +50,9 @@

What's new

{% if product_status != blank %}
{{ product_status }}
{% endif %} {% for category in product.categories %} - {% if category.name contains 'Pre-Order' %} -
Pre-Order
- {% endif %} + {% if category.name contains 'Pre-Order' %} +
Pre-Order
+ {% endif %} {% endfor %}

{{ product.name }}

{{ product.default_price | money: theme.money_format }}
diff --git a/BC-Layout.html b/BC-Layout.html index c26a891..131ca2b 100644 --- a/BC-Layout.html +++ b/BC-Layout.html @@ -37,21 +37,21 @@
+ + -->
+ + {% if theme.images.header != blank %} + + {% else %} +
{{ store.name }}
+ {% endif %} +
+ --> + + -->
@@ -174,48 +174,62 @@

{{ page.name }}

{% endfor %} {% endcapture %} - - {% if category.products.size > 1 %} -
- {% if product_divs != blank %} -
{{ product_divs }}
-
-
-
Check these out
- -
- -
- -
- {% endif %} - -
- {% endif %} - {% endfor %} {% endif %} {% endif %} - +
+ {% if product_divs != blank %} +
{{ product_divs }}
+
+
+
Check these out
+
+ +
+
+ {% endif %} +
+ {% for category in product.categories %} + {% if category.name contains 'Pre-Order' %} + + {% endif %} + {% if category.name contains 'Tanks' %} + + {% endif %} + {% if category.name contains 'Shirts' %} + + {% endif %} + {% if category.name contains 'Stickers' %} + + {% endif %} + {% endfor %} {% endif %} diff --git a/BC-Product-13020.html b/BC-Product-13020.html new file mode 100644 index 0000000..fb1765c --- /dev/null +++ b/BC-Product-13020.html @@ -0,0 +1,396 @@ +{% assign product_status = '' %} +{% case product.status %} + {% when 'active' %} + {% if product.on_sale %}{% assign product_status = 'On sale' %}{% endif %} + {% when 'sold-out' %} + {% assign product_status = 'Sold out' %} + {% when 'coming-soon' %} + {% assign product_status = 'Coming soon' %} +{% endcase %} +
+ +
+

{{ product.name }}

+ {% for category in product.categories %} + + {% if category.name == 'Pre-Order' %} + Pre-Order + {% endif %} + {% endfor %} + {% if product_status != blank %}{{ product_status }}{% endif %} +
+ + +
+ +
    + {% for image in product.images %} + +
  • Image of {{ product.name | escape }}
  • + {% endfor %} +
+
    + {% for image in product.images %} +
  • + + + + +
  • + {% endfor %} +
+
+ +
+ {% for category in product.categories %} + + {% if category.name == 'Pre-Order' %} +

+ Available for + Pre-Order +

+ {% endif %} + + {% if category.name == 'Pre-Order' %} + {% for option in product.options %} + + + {% endfor %} + + + +
+
+ / +
+ {% for category in product.categories %} + {% if category.name == 'Shirts' %} +

Pre-orders for this shirt are open for two weeks. If it meets the 6 shirt minimum, it will ship to you about two weeks after the pre-order ends.

+ {% endif %} + {% if category.name == 'Tanks' %} +

Pre-orders for this tank are open for two weeks. If it meets the 6 tank minimum, it will ship to you about two weeks after the pre-order ends.

+ {% endif %} + {% if category.name == 'Stickers' %} +

Pre-orders for this sticker are open for two weeks. If it meets the 6 sticker minimum, it will ship to you about two weeks after the pre-order ends.

+ {% endif %} + {% endfor %} +

If an item does not meet the order minimum you will be fully refunded.

+
+ {% endif %} + + {% endfor %} + {% if product.description != blank %} +

Description

+
+ {{ product.description | paragraphs }} +
+ {% endif %} + + +
+ + {% if product.status == 'active' %} + {% if theme.show_inventory_bars %} +
+
Availability
+
    + {% for option in product.options %} +
  • + + {% unless product.has_default_option %}
    {{ option.name }}
    {% endunless %} + + +
    {{ option.quantity }}
    +
    in stock
    + +
  • + {% endfor %} +
+
+ {% endif %} + +
+ + {% if product.has_default_option %} + {{ product.option | hidden_option_input }} + {% else %} +
+ + + + {% for category in product.categories %} + {% if category.name == 'Shirts' %} + + {% endif %} + {% if category.name == 'Tanks' %} + + {% endif %} + {% if category.name == 'Stickers' %} + + {% endif %} + {% endfor %} + + + + +
+ +
+ {% endif %} +
+
+
{{ product.default_price | money: theme.money_format }}
+ +
+
+ {% endif %} + + + + {% if theme.show_facebook or theme.show_twitter or theme.show_pinterest %} + + {% endif %} +
+
+
+ + \ No newline at end of file diff --git a/BC-Product.html b/BC-Product.html index f1f105e..f5ad385 100644 --- a/BC-Product.html +++ b/BC-Product.html @@ -273,7 +273,7 @@

Description

} document.getElementById("total").value = sum; if (sum > 5) { - document.getElementsByClassName('pre-order--sold')[0].innerHTML = "Pre-Order minimum met!"; + document.getElementsByClassName('pre-order--sold')[0].innerHTML = "Pre-Order met!"; } else { document.getElementsByClassName('pre-order--sold')[0].innerHTML = "" + sum + " sold"; } @@ -329,8 +329,9 @@

Description

var dateCreated = "{{ product.created_at }}"; var dateSplit = dateCreated.replace(' ', '-').split('-'); var yearCreated = dateSplit[0]; - var dayCreated = dateSplit[1]; - var monthCreated = dateSplit[2]; + var monthCreated = dateSplit[1]; + var dayCreated = dateSplit[2]; + console.log(dateCreated); // //Set 1 day in milliseconds var one_day = 1000*60*60*24 @@ -353,6 +354,7 @@

Description

// // Show the results of DateDiff to make sure the math is right console.log("You have " + DateDiff(createdDate, currentDate) + " left"); + console.log(new Date(createdDate).getTime() + (14 * one_day)); // // If the number of days left if 0 // The DateDiff function makes the "createdDate the deadline date @@ -368,6 +370,12 @@

Description

// // // + if (window.location.href.indexOf("testing") > -1) { + console.log("your url contains testing"); + } + // + // + // //function findTotal(){ //var arr = document.getElementsByClassName('option-sold'); //var tot=0; diff --git a/BC-Products.html b/BC-Products.html index cc433d8..a69a41e 100644 --- a/BC-Products.html +++ b/BC-Products.html @@ -6,7 +6,7 @@

Products

@@ -88,34 +88,34 @@

{{ product.name }}

{% endif %} {% if page.full_url contains '/products' or page.full_url contains '/shirts' %} - - {% for product in categories.shirts.products %} - {% assign product_status = '' %} - {% case product.status %} - {% when 'active' %} - {% if product.on_sale %}{% assign product_status = 'On sale' %}{% endif %} - {% when 'sold-out' %} - {% assign product_status = 'Sold out' %} - {% when 'coming-soon' %} - {% assign product_status = 'Coming soon' %} - {% endcase %} - - - -
- Image of {{ product.name | escape }} -
- -
- -
- {% if product_status != blank %}
{{ product_status }}
{% endif %} -

{{ product.name }}

-
{{ product.default_price | money: theme.money_format }}
-
-
-
- {% endfor %} + + {% for product in categories.shirts.products %} + {% assign product_status = '' %} + {% case product.status %} + {% when 'active' %} + {% if product.on_sale %}{% assign product_status = 'On sale' %}{% endif %} + {% when 'sold-out' %} + {% assign product_status = 'Sold out' %} + {% when 'coming-soon' %} + {% assign product_status = 'Coming soon' %} + {% endcase %} + + + +
+ Image of {{ product.name | escape }} +
+ +
+ +
+ {% if product_status != blank %}
{{ product_status }}
{% endif %} +

{{ product.name }}

+
{{ product.default_price | money: theme.money_format }}
+
+
+
+ {% endfor %} {% endif %} @@ -152,10 +152,11 @@

{{ product.name }}

{% endif %} - {% if paginate.pages > 1 %} - {{ paginate | default_pagination }} - {% endif %} - +