Git Product home page Git Product logo

monogram's Introduction

Stencil Theme with Monogram Functionality

Description

This Stencil theme enhances your online store's product view page with a dynamic monogram feature. Customers can click the "Customize" button to open a popup window with two sections:

  1. Image Section: This displays the product image, serving as a canvas for custom text and color swatches.

  2. Text Customization Section: Here, customers can:

    • Enter text in an input box.
    • Select color swatches from checkboxes.
    • Apply the selected color to the entered text, instantly changing its appearance on the product image.

This monogram feature empowers customers to personalize products and provides a more engaging shopping experience.

Benefits

  • Enhanced User Experience: Real-time customization increases engagement and satisfaction.
  • Personalization: Customers can add their touch, boosting the likelihood of a purchase.
  • Color Swatch Integration: Easy color selection ensures a seamless blend with product design.
  • Instant Preview: Product image updates in real-time, offering immediate feedback.

Installation and Running

Prerequisites

  • Access to your online store's Stencil theme files.
  • Basic knowledge of HTML, CSS, and JavaScript may help with customization.

Installation Steps

###Clone the Repository:**

git clone https://github.com/Rahulkumarbrj/monogram.git

###Move to the dir:**

cd monogram

###Add stencil requirements:**

Stencil init
   ? What is the URL of your store's home page? <store url>
   ? What is your Stencil OAuth Access Token? <access token>
   ? What port would you like to run the server on? (5000) <port>

Modifications to the following files.

  • assets/js/theme/custom/monogram.js
  • templates/components/products/product-view.html
  • templates/components/products/options/swatch.html
  • templates/components/products/options/input-text.html
  • assets/js/theme/product.js

product configuration.

  • Add an image for the product with the alt tag "monogram"
  • Create two Modifier Options with one
    1. LABEL "Enter your initials or name to be monogrammed" AND TYPE "TEXT"
    2. LABEL "Choose your colour" AND TYPE "Swatch"

monogram's People

Contributors

devrahulkumargupta avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.