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
| # | |
| # Whitelist appropriate assets files. | |
| # Note that you will need to maintain this whitelist yourself if you modify File::$allowed_extensions | |
| # | |
| # If you are not using Apache then you can ignore this file. | |
| # If you are using IIS then you should look at assets/web.config instead. | |
| # | |
| # To add an extension to the list, you need to put another string of the form "ext|" on the | |
| # FilesMatch line, inside the parentheses. | |
| # |
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
| <p>Hello World!</p> |
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
| <!-- | |
| /** | |
| * Add this markup to the recommendation template in your Nosto control panel | |
| */ | |
| --> | |
| <div class="ratings-wrapper"> | |
| <div class="ratings"> | |
| <div class="rating-box"> | |
| <div class="rating" style="width:$!product.tags1.get(0)%"></div> | |
| </div> |
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
| <div class="actions"> | |
| <button class="button btn-cart" type="button" title="Add to Basket" onclick="nostojs(function(api){api.reportAddToCart('$!product.productId','$!divId');});setLocation('/checkout/cart/add/product/$!product.productId');"> | |
| <span><span>Add to Basket</span></span> | |
| </button> | |
| <a class="button link-wishlist" href="/wishlist/index/add/product/$!product.productId">Add to Wishlist</a> | |
| </div> |
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
| <?xml version="1.0"?> | |
| <layout version="0.1.0"> | |
| <default> | |
| <reference name="root"> | |
| <reference name="top.links"> | |
| <!-- Add custom links. Pretty self-explanatory. | |
| Dig into app/code/core/Mage/Page/Block/Template/Links.php for more info --> | |
| <action method="addLink" translate="label title"> | |
| <label>About Us</label> | |
| <url>about</url> <!-- can use full url also --> |
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
| <h1>Style Guide</h1> | |
| <hr> | |
| <h2>Display Headings</h2> | |
| <h1 class="font-family--tradegothic">Display Heading 1<br> | |
| <span class="sub-heading">Display Heading 1 Sub-heading</span></h1> | |
| <h2 class="font-family--tradegothic">Display Heading 2<br> | |
| <span class="sub-heading">Display Heading 2 Sub-heading</span></h2> |
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
| <ul class="messages"> | |
| <li class="error-msg"> | |
| <ul> | |
| <li><span>Error Message</span></li> | |
| </ul> | |
| </li> | |
| <li class="success-msg"> | |
| <ul> | |
| <li><span>Success Message</span></li> | |
| </ul> |
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
| module.exports = function(grunt) { | |
| var gulp = require('gulp'), | |
| styleguide = require('sc5-styleguide'); | |
| grunt.initConfig({ | |
| pkg: grunt.file.readJSON('package.json'), | |
| sass: { |
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
| { | |
| "name": "[project-name]", | |
| "description": "[project-description]", | |
| "version": "1.0.0" | |
| } |
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
| php bin/magento setup:install --base-url=http://mysite.dev --db-host=localhost --db-name=mysite --db-user=root --admin-firstname=Magento --admin-lastname=User [email protected] --admin-user=admin --admin-password=password123 --language=en_GB --currency=GBP --timezone=Europe/London --use-rewrites=1 --backend-frontname=admin |