This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {% comment %} | |
| This will add all items from your collection to the cart | |
| Update you-collection with your collection tag name. | |
| {% endcomment %} | |
| {% assign collection = collections.your-collection %} | |
| {% paginate collection.products by 100 %} | |
| <form action="/cart" method="post"> | |
| {% if collection.products_count > 0 %} | |
| {% for product in collection.products %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| snippet rnc | |
| import React, { Component } from 'react'; | |
| import { | |
| Text, | |
| View, | |
| } from 'react-native'; | |
| class ${1} extends Component { | |
| constructor() { |