Wholesale Simplified

For show this apps in Jumpstart theme, you should add some code in your template. So total process are given below.

 

1. Go to “Themes” menu of Admin Dashboard and Edit Jumpstart themes to install the application.

2. Click on “Template Editor” and follow the below steps to put the Shopify Wholesale Simplified Application “Code” on the following files.

 

Step 1: Go to theme.liquid file under the Layout folder and add the following code before the “</body>” tag.

<!-- Start: SC Wholesale Simplified -->
{% include 'sc-ws' with 'sc-ws-script' %}
<!-- End: SC Wholesale Simplified -->

Please see the following screenshot for clear overview:

 

Step 2: Add the following code in product-template.liquid file under the Sections folder before the code of showing product price (with compared price).

<!-- SC: Wholesale Simplified -->
{% include 'sc-ws' with 'discount' %}
{% if sc_ws_variant_price %}
            {% include 'sc-ws' with 'show-product-discount' %}
{% else %}

And complete the code with {% endif %}

Please see the following screenshot for clear overview:

 

Step 3 (a): Add the following code in the beginning of cart-template.liquid file under the Sections folder.

<!-- Start: SC Wholesale Simplified -->
{% assign sc_ws_total_discount = 0 %}
{% assign sc_ws_total_sale = 0 %}
<!-- End: SC Wholesale Simplified -->

Please see the following screenshot for clear overview:

 

Step 3 (b): Add the following code in cart-template.liquid file under the Sections folder before the code where showing cart item line-price (item.line_price)

	<!-- SC: Wholesale Simplified -->
              {% include 'sc-ws' with 'discount',product:item.product,sc_ws_variant:item.variant,sc_ws_quantity:item.quantity %}
                  {% if sc_ws_variant_price %}
                     {% include 'sc-ws' with 'show-cart-item-total-discount'  %}            
                {% else %}

And complete the code with {% endif %}

Please see the following screenshot for clear overview:

 

Step 3 (c): Add following code in cart-template.liquid file under the Sections folder as a class name where showing cart total price (cart.total_price).

sc-ws-cart-total-price

Please see the following screenshot for clear overview:

 

Step 3 (d): Add following code in cart-template.liquid file under the Sections folder after the “cart.general.shipping_at_checkout” code.

<!-- Start: SC Wholesale Simplified -->
{% include 'sc-ws' with 'cart-notice' %}
<!-- End: SC Wholesale Simplified -->

Please see the following screenshot for clear overview: