Ropstam Shopify Test Project
This adds a discounted section to any page inside shopify.
Just go to the sections directory inside your shopify admin panel and click on creation section and select liquid and give your file a meaningful name like discounted-product.js and paste the appropriate code from this file into that section file. And after that create or add all the assets files inside the assets directory.
after successful addition of this code you will be able to add a nice looking section to your page that will calculate from time from your input and add a nice time ticking clock with some custom messages and a product that you can select.
This project utilizes the following third-party library:
- Moment.js: Link to Moment.js
- moment.js is a good library for time with some nice localization features.
If you'd like to contribute to this project, please follow these guidelines.
- Fork the project.
- Create your feature branch (
git checkout -b feature/YourFeature
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/YourFeature
). - Open a pull request.
This project is free to edit and free to use. No licensing.