cd ~/sites
valet park
# clone shopware
git clone -b 6.1 https://github.com/shopware/development.git shopware
# change directory
cd shopware
# install dependencies
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
| {% if customer.name %} | |
| <p>Hej, {{ customer.name }}!</p> | |
| <p></p> | |
| {% endif %} | |
| <p>{{ shop_name }} har refunderet din ordre ({{ name }}) {% if amount > 0 %}til i alt {{ amount | money_with_currency }}{% endif %}{% if refund_line_items.size > 0 %} for:</p> | |
| <p> | |
| {% for line in refund_line_items %} | |
| {{ line.quantity }} x {{ line.line_item.title }}</p> | |
| {% endfor %} | |
| {% else %} |
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
| <!-- TRANSLATED BY: Sebastian Stoll from www.justonline.dk --> | |
| {% if billing_address.name %} | |
| <p>Hej, {{ billing_address.name }}!</p> | |
| <p></p> | |
| {% endif %} | |
| <p>{% if fulfillment.item_count == item_count %}Alle{% elsif fulfillment_status == 'fulfilled' %}De seneste{% else %}Nogle af{% endif %} varerne fra ordren {{ name }} er nu blevet afsendt:</p> | |
| <p>{% for line in fulfillment.fulfillment_line_items %}<img src="{{ line.line_item | img_url: 'small' }}" />{{ line.quantity }} x {{ line.line_item.title }}<br> | |
| {% endfor %}</p> | |
| <p>{% if requires_shipping %}De er afsendt {% if fulfillment.tracking_company %}via {{ fulfillment.tracking_company }} {% endif %}til den følgende adresse:</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
| <!-- TRANSLATED BY: Sebastian Stoll from www.justonline.dk --> | |
| {% if billing_address.name %} | |
| <p>Hej, {{ billing_address.name }}!</p> | |
| {% endif %} | |
| <p>De følgende, afsendte varer {{ name }} er blevet opdateret med ny leveringsstatus:</p> | |
| <ul style="list-style-type:none"> | |
| {% for line in fulfillment.fulfillment_line_items %}<li> | |
| <img src="{{ line.line_item | img_url: 'small' }}" /> |
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
| <!-- Tooltip example --> | |
| <button type="button" class="btn btn-default" | |
| data-toggle="tooltip" | |
| data-placement="top" | |
| title="Tooltip on top">Tooltip on top</button> | |
| <!-- The following code will enable all tooltips in the document --> | |
| <script> | |
| $(document).ready(function(){ | |
| $('[data-toggle="tooltip"]').tooltip(); |
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 | |
| namespace App\Http\Middleware; | |
| use Closure; | |
| class Cors | |
| { | |
| /** | |
| * Handle an incoming request. |
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
| { | |
| "private": true, | |
| "scripts": { | |
| "dev": "npm run development", | |
| "development": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", | |
| "watch": "cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", | |
| "watch-poll": "npm run watch -- --watch-poll", | |
| "hot": "cross-env NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js", | |
| "prod": "npm run production", | |
| "production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js" |
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
| function str_slug($title, $separator = '-') { | |
| // Convert all dashes/underscores into separator | |
| $flip = $separator == '-' ? '_' : '-'; | |
| $title = preg_replace('!['.preg_quote($flip).']+!u', $separator, $title); | |
| // Replace @ with the word 'at' | |
| $title = str_replace('@', $separator.'at'.$separator, $title); |
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
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
| <html lang="{{ locale }}" dir="{{ direction }}" class="{{ checkout_html_classes }}"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, height=device-height, minimum-scale=1.0, user-scalable=0"> | |
| <title>{{ shop.name }} - {{ page_title }}</title> | |
| {{ content_for_header }} |
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
| Nice to see you :-) |