Giter Club home page Giter Club logo

shopify-theme-framework's Introduction

IMPORTANT NOTICE

This repository is no longer actively updated (though PRs are very welcome).

The project has moved to https://github.com/Elkfox/Shopify-Theme-Framework


Shopify Theme Framework (Legacy)

This theme is built almost entirely from the Zurb Foundation framework, and Shopify liquid markup, with a few little extra touches added for good measure.

The template is intended as a rapid Shopify theme development framework for developers.

Demo: https://theme-framework.myshopify.com

Zurb Foundation Docs: http://foundation.zurb.com/docs

Shopify Theme Docs: http://docs.shopify.com/themes

=========================

Copyright (C) 2013 Cam Gould http://camgould.com

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Please see full license information at http://opensource.org/licenses/GPL-3.0

shopify-theme-framework's People

Contributors

cam avatar hellojebus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

shopify-theme-framework's Issues

Collection Page Rows

Hey Cam thanks for your help with everything thus far. I am having some trouble controlling how the products are aligning on the collection pages. I tried to change the css to make a medium size product grid to go along with the large and small, but my changes don't seem to be taking effect.

I want every row to always display three products on large and medium screens, right now at certain sizes my rows get blow out and a product drops down.

Here is a link: http://asterisk-2.myshopify.com/collections/accessories-1
password: whaick

Thanks again.

Breadcrumb snippet addition

Hi guys, Not an issue as such but i've developed the addition of a breadcrumb snippet and wanted to share it with you. Here is the code for the snippet

<ul class="breadcrumbs">
<li><a href="/" class="homepage-link" title="Back to the frontpage">Home</a></li>
{% if template contains "product" %}
{% if collection %}
<li>{% if collection.handle %}
{% capture url %}/collections/{{ collection.handle }}{% endcapture %}
{{ collection.title | link_to: url }}
{% elsif collection.all_products_count > 0 and collection.products.first.type == collection.title %}
{{ collection.title | link_to_type }}
{% elsif collection.all_products_count > 0 and collection.products.first.vendor == collection.title %}
{{ collection.title | link_to_vendor }}
{% endif %}
{% else %}</li>
<li> {{ product.type | link_to_type }}
{% endif %}
{% elsif template == "article" %}</li>
<li>{{ blog.title | link_to: blog.url }}
{% endif %}</li>
<li class="current"><a href="#">{{ page_title }}</a></li>
</ul>

and then you can just insert it wherever you want with

{% include 'breadcrumb' %}

Accordion

Anyone get the foundation accordion/tabs/dropdowns working?

Secondary Product Image Display Error

I'm having an issue in relation to individual product pages. If a product has more than one image, the secondary images are shown in small thumbnails, however when trying to transition between one image to view the next, nothing happens.

For example, if I click to see the second picture on the larger scale, it doesn't transition to that image. It continues to show the featured image only.

Is there a solution to this issue?

Best regards,

Mike.

Equalizer Plugin Missing

If you could enable support for the Equalizer plugin, recently added to Foundation 5, that would be awesome

Dynamic price update not working with product variations

Hi,

I've got a few product variations going on namely size and colour but it's not updating the product price. So, the user has no idea how much the item will cost before they will add to their cart.

I'm using the default product.liquid template with a few css changes. There's no JS errors on the page.

View larger image modal not closing

I was having an issue with the reveal modal not closing when clicking on an extra image under the featured. I've fixed it now an would like to inform all how.

Under product.liquid, just add "data-reveal" to the div that had the modal. It should look something like this:

div id="myModal{{ image.id }}" class="reveal-modal expand" style="position:fixed;" data-reveal

(But obviously with < > on either side)

Hope this helps!

Out Of Stock button change doesn't work

Code looks fine but for some reason the Add to Cart button doesn't grey out and change to "out of stock" when an item is unavailable as per the standard shopify themes

Product Details Popup

Add option and basic markup for popup 'quick shop' using Foundation's 'reveal' modals.

Should include 'product name', 'product price, 'product selectors', truncated 'product description' and 'add to cart' button.

Too little products float right.

I'm getting an odd thing happening. If there is an instance on the site that only populates 2-3 products, there will be a gap between the last product in the list. I have it setup for 4 to a row.

In other words, if there are only 2 products in a collection, there will be a 2 product gap between the first and last child. Any ideas?

Does this shopify support products with custom core price options? not using for variants option only custom core select option.

Does this shopify support products with custom core price options? not using for variants option only custom core select option. because only option yes or no with select the custom price like '$10 for yes' but 'no' option will select then price not add $10 only show previous price.
after add to cart click button the value will add on the cart form and go to checkout page..
please any help me for this issuse....

Related products not displaying

Related products are, 90% of the time, not displaying. I've only managed to catch them on the page once so i have a feeling something may not be quite right with the liquid statements.

Can provide link on request but only privately

Mistake in modal images

There is a mistake in the way product pages display multiple images as modal popups. I have fixed the code in the demo, and will commit it ASAP.

Multiple dropdown selectors for sorting products

I think a lot of people want to be able to have a way to sort products using a refinement tool with multiple drop down selectors.

While this feature usually requires some hard-coding, I believe it could be made almost entirely UI based using the template options system. This could be a little bit heavy though, and may be best left as a snippet that can be hard-coded per site.

I would love to know people's thoughts on this before I code it up!

Shopify Documentation on the concept can be found at http://docs.shopify.com/support/your-store/collections/filtering-a-collection-with-multiple-tag-drop-down

Alt menu type

Add the alternate menu style from foundation (ie not the topbar). Probably as bottom menu for demo purposes.

Ajaxifed Cart Suggestion

Hey guys,

Suggestion to add an ajaxed "add to cart" so that the user isn't taken away to the shopping cart from the product they are browsing after pressing add to cart.

I'm looking into this myself anyway so will post here if i succeed!

Upgrade to Foundation 5

It is important to prioritise upgrading to Foundation 5, which has addressed some issues seen in Foundation 4.

Reveal Modal not working when trigger button is separate from the modal?

I've tried to implement the Quick View Modal in my store and for some reason if I open the model on the product.liquid page all the content displays inside the modal. However if I open the modal on the index.liquid or the collection.liquid page, empty image and dropdown fields are presented.

The only reason I can think this might not be working is because I have the link trigger in a separate snippet to the actual modal I want to be revealed - this is due to my setup. The thing is I can't understand why this might be? Otherwise I must be completely missing something in my code.

Here's a link to my test store. If you click 'Buy' it opens the Quick View modal.

If this is something you could help with I would be truly grateful!

Strange behavior with multiple reveal modals on home page

Hi there!

On my home page (http://airwarelabs.com/), I've added a foundation Reveal Modal in the section called "Bubble Boy Bursts Out of his Bubble" that shows a video. You can either click the play button or the button that's labeled "SEE HIS STORY" to see the video. The first time when you click on either button the video loads, but when you try to click on either button again the video does not load.

Furthermore, a different video labeled "VIEW HOW-TO VIDEO" at the bottom of the home page stops working when I put in these new videos.An error also appears when I put in these new videos:
event.returnValue is deprecated. Please use the standard event.preventDefault() instead. www-embed-player-vflvfyHkM.js:29

Also, If I replace the videos with images the Reveal Modals work fine, so I'm assuming it has to do with having multiple iframes on this page :(

So, so lost, please help. Thanks

PS: I tried copying my code into here but in the preview it strips out the html, let me know how I can show you my code.

Slideshow size change.

Not really an issue, however, I can't seem to figure it out.

I changed the overall width of the layout to 75em instead of the standard 62.5 in the row element. The issue I'm facing now is that the slider images are resizing to the standard 1000 x 563 when they need to be 1170 x 563 or 1170 x 659. I can't seem to figure out how to adjust the width. Any ideas?

Product Swatches

I've already developed this, but need to clean it up and add it. Harass me if you need it ASAP.

Overflow / Scroll Modal

I noticed that there is an overflow: scroll property added to the reveal modal, and in my case, I need this for mobile or the ul in my modal will not work properly. Trouble is though, that it creates an unsightly gray bar across the right and bottom.

I've changed it to a overflow-y: auto !important. That fixed the issue for me. Will this cause any issues that anyone can think of?

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.