Wholesale Simplified

For show this apps in Simple 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 Simple 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 clean 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 clean overview:

 

Step 3 (a): Add the following code in the beginning of cart.liquid file under the Templates 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 clean overview:

 

Step 3 (b): Add the following code in cart.liquid file under the Templates folder before the code where showing cart item price (item.price)

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

And complete the code with {% endif %}

Please see the following screenshot for clean overview:

 

Step 3 (c): Add the following code in cart.liquid file under the Templates 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 clean overview:

 

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

sc-ws-cart-total-price

Please see the following screenshot for clean overview:

 

Step 3 (e): Add following code in cart.liquid file under the Templates folder before 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 clean overview: