Shopify Online store 1.0 


NOTE: These integration guidelines are limited to Shopify Online Store 1.0 only. 

Like most of the Shopify apps, we also offer automatic theme integration. It works for almost all the themes available in Shopify.

Please ensure to integrate the theme with your store's duplicate/staging theme to avoid conflicts.


Follow the steps for theme integration:

With Online Store 1.0 Theme Integration, it is necessary to manually add the snippets in the theme files to display the Wishlist button in the Shopify storefront.


  1. Access the Shopify store admin and navigate to Themes > Choose the theme > Actions > Edit Code


Product Pages

  1. In order to add the Snippet to display the Wishlist button on your Product pages below the “Add to Cart ” button.
  2. Open templates/product.liquid
  3. Locate the following line: <input type=“submit” class=“action-button submit” value=“{{ ‘products.product.add_to_cart’ | t }}“>
  4. Add the following code just after this line
{% render ‘hulkapps-wishlist-product-btn’ %}




Collection Pages 

  1. For adding the code to the Collections page 
  2. Open snippets/product-card-grid.liquid
  3. Locate the following line: <input class=“action-button submit” type=“submit” value=“{{ ‘products.product.add_to_cart’ | t }}” />
  4. Add the following code immediately after it
{% render ‘hulkapps-wishlist-collection-btn’, productId: product.id, variantId: product.selected_or_first_available_variant.id %}



Header Navigation

  1. For adding the heart icon to the header, copy the below code and add it to the header.liquid file.
<a href=“/apps/advanced-wishlist” class=“site-header__icon icon-wishlist-heart-empty” style=“font-size: x-large;“></a>



Move to Wishlist

  1. Adding the “Move to Wishlist” button to the Cart page - copy the below code and add it to the cart-template.liquid file.
     

{% render ‘hulkapps-wishlist-cart-btn’, productId: item.product.id, variantId: item.variant.id, loopIndex: forloop.index %}