BLOG

Slick Marquee text slick slider with hover pause functionality

{%- capture topInfoBar -%} <div class="top-bar {% if section.settings.topbarmobile %}small--hide{% endif %}"> <div class="marquee-text page-width{% if section.settings.fullwidth %} fullwidth{% endif %}" id="carousel-{{ section.id }}" data-section-id="{{ section.id }}" data-section-type="carousel"> <div class="flex carousel top-info-bar" data-slick='{"slidesToShow": {{ section.settings.grid }},"slidesToScroll": 1, {%- if settings.rtl -%}"rtl": true,{%- endif -%} "infinite":...

Custom store front using react

Steps:1.npx create-react-app shopifyreact2.git clone https://github.com/Shopify/storefront-api-examples3.cd storefront-api-examples4.cd react-js-buy5.yarn install6.Update access token and Domainsrc/index.jsconst config = new Config({ storefrontAccessToken: 'your-storefront-access-token', domain: 'your-shop-name.myshopify.com',});

Drop-down all product list and submit button to go selected product

  Demo store: https://simple-business-plan-templates.myshopify.com/ Front end Password: baseum Section code: <div class="back-banner" style="background-image:url('{{section.settings.background-img | img_url:'master'}}')"> <div class="fx"> <div class="fx-lf"> <div class="left-part"> <h2 class="dropdown-heading">{{section.settings.titleleft }}</h2> <div class="product-form__input product-form__input--dropdown"> <label class="form__label" for="Option-{{ section.id }}-{{ forloop.index0 }}"> {{ option.name }} </label> <div class="select"> <select id="Option-{{ section.id }}-{{ forloop.index0 }}" class="select__select">...

Shopify variant image swatches 2.0

  If you want use Meta field then follow below link: https://www.bluish.io/shopify/color-swatches-dawn-theme Else follow for the custom code {%- when 'variant_picker' -%} {%- unless product.has_only_default_variant -%} {%- if block.settings.picker_type == 'button' -%} <variant-radios class="no-js-hidden" data-section="{{ section.id }}" data-url="{{ product.url }}" {{ block.shopify_attributes }}> {%- for...

Based on quantity update price recharge app subscription product page shopify

    Example store link:   https://pets-buy-supplement.myshopify.com/ https://optimalpaw.com/ <script> window.addEventListener('load', function() { $(".velaQtyButton").on( 'mouseup', function() { var cutext = $(".reg11 .money .money").text(); if( $(".rc_block__type__onetime").hasClass("rc_block__type--active") ) { cutext = $(".rc_block__type__onetime .money").text(); } else { cutext = $(".rc_block__type__autodeliver .money").text(); } var newpeic = cutext.replace( "$",'' ); var count_number...

Buy now/ Add to cart button shopify 2.0 collection page

<product-form class="product-form" id="add-to-cart">       {%- form 'product', product_card_product, id: product_form_id, class: 'form', novalidate: 'novalidate', data-type: 'add-to-cart-form' -%}       <input type="hidden" name="id" value="{{ product_card_product.selected_or_first_available_variant.id }}">       {{ form | payment_terms }}       <input type="hidden" name="id" value="{{ product_card_product.selected_or_first_available_variant.id }}">       <div class="product-form__buttons"> ...