Install Checkout Boost here and build trust with your brand! 


Disclaimer before you read this instruction:


There is no need to follow this instruction if you have a Shopify store and use Shopify Checkout. Otherwise, if you use Custom Checkout, please read this instruction carefully and follow or contact us for support.


Why do you need to follow this instruction?


After you install Checkout Boost app, it will create new product variants in order for customers to receive your free-gift offers. These new product variants need to be hidden from your storefront so your customers won’t see them. Therefore, in order for apps to run perfectly, you may want to login Shopify dashboard and do the following steps.


Step 1: Back up your theme:



Go to Themes >> Choose the theme you want to install the code >> Duplicate your original theme so that you can revert back anytime if you wish to discontinue our app in the future. 


Shopify - Theme diplicate
Step 2: Add Beeketing scripts into your theme's header:

  • Click Edit HTML/CSS
  • Add the code below into the file theme.liquid as in the screenshot. 


{% include 'scn-base-js' %}



Add Beeketing scripts into your theme's header


Step 3: Hide BK variants and discount prices from the storefront:  


Go to Themes >> Search for these keywords in turn: product, collection, search:


Hide BK variants and discount prices from the storefront


Change:

  • from product.price to scn_product_min
  • from product.price_min to scn_product_min
  • from product.price_varies to product.price_varies and scn_price_varies
  • from product.variants.size to scn_variant_size


And include the code on top of the file that you change the above codes.



{% include 'scn-product-price' with product %}




Hide BK variants and discount prices from the storefront


Step 4: Add Beeketing-Snippets:


- Snippets >> Add a new snippet >> Create a new snippet called "scn-product-price".


Add Beeketing-Snippets



- Add this code:




{% assign scn_product_min = null %}
{% assign scn_product_compare = scn-product-price.compare_at_price %}
{% assign scn_product_available = scn-product-price.available %}
{% assign scn_is_contain_scn_variant = false %}
{% assign scn_variant_size = 0 %}
{% assign scn_unavailable_variants_count = 0 %}
{% assign scn_get_first_product_variant = false %}
{% assign scn_first_product_variant = scn-product-price.variants[0] %}
{% for variant in scn-product-price.variants %}
    {% unless  variant.metafields.brodev_scn.hide == "true" %}
    {% unless variant.title contains 'Free Gift' %}
    {% unless variant.title contains '% Off' %}
    {% unless variant.metafields.shappify_qb.qb_hide == "1" %}
    {% unless variant.metafields.shappify_bundle.is_bundle == "true" %}
    {% unless variant.metafields.brodev_scn.hide == "true" %}
    {% unless variant.metafields.secomapp.freegifts %}
    {% if variant.price < scn_product_min or scn_product_min == null %}
        {% assign scn_product_min = variant.price %}
    {% endif %}
    {% if variant.available == false %}
        {% assign scn_unavailable_variants_count = scn_unavailable_variants_count | plus: 1 %}
    {% endif %}
    {% if variant.compare_at_price < scn_product_compare %}
        {% assign scn_product_compare = variant.compare_at_price %}
    {% endif %}
    {% assign scn_variant_size = scn_variant_size | plus: 1 %}
    {% if scn_get_first_product_variant == false %}
        {% assign scn_first_product_variant = variant %}
        {% assign scn_get_first_product_variant = true %}
    {% endif %}
    {% assign scn_is_contain_scn_variant = true %}
    {% endunless %}
    {% endunless %}
    {% endunless %}
    {% endunless %}
    {% endunless %}
    {% endunless %}
    {% endunless %}
{% endfor %}
{% if scn_unavailable_variants_count == scn_variant_size %}
    {% assign scn_product_available = false %}
{% endif %}
{% if scn_product_min < scn-product-price.price_max %}
    {% assign scn_price_varies = true %}
{% else %}
    {% assign scn_price_varies = false %}
{% endif %}


- Save snippet. 


You're all DONE here!


If you’re not confident with adding code to your theme, send us a request now to finish app installation by dropping an email at [email protected], we are always here to support.

 

More instruction tutorial of Checkout Boost can be found here


>> Skyrocket your sales and drive more traffic with Checkout Boost now.


Beeketing