├── .gitignore ├── .htaccess ├── README.md ├── amp ├── .htaccess └── index.php └── app └── design └── frontend └── amp └── default ├── layout └── local.xml └── template └── page ├── 1column.phtml ├── 2columns-left.phtml ├── 2columns-right.phtml ├── 3columns.phtml └── html ├── breadcrumbs.phtml ├── cookienotice.phtml ├── footer.phtml ├── head.phtml ├── header.phtml └── notices.phtml /.gitignore: -------------------------------------------------------------------------------- 1 | .htaccess.sample 2 | .modgit/ 3 | .modman/ 4 | app/code/community/Phoenix/ 5 | app/code/community/OnTap/ 6 | app/code/community/Cm/ 7 | app/code/core/ 8 | app/design/adminhtml/default/default/ 9 | app/design/frontend/base/ 10 | app/design/frontend/rwd/ 11 | app/design/frontend/default/blank/ 12 | app/design/frontend/default/default/ 13 | app/design/frontend/default/iphone/ 14 | app/design/frontend/default/modern/ 15 | app/design/frontend/enterprise/default 16 | app/design/frontend/enterprise/iphone 17 | app/design/frontend/amp/default/template/page/html/styles.phtml 18 | app/design/install/ 19 | app/etc/modules/Enterprise_* 20 | app/etc/modules/Mage_All.xml 21 | app/etc/modules/Mage_Api.xml 22 | app/etc/modules/Mage_Api2.xml 23 | app/etc/modules/Mage_Authorizenet.xml 24 | app/etc/modules/Mage_Bundle.xml 25 | app/etc/modules/Mage_Captcha.xml 26 | app/etc/modules/Mage_Centinel.xml 27 | app/etc/modules/Mage_Compiler.xml 28 | app/etc/modules/Mage_ConfigurableSwatches.xml 29 | app/etc/modules/Mage_Connect.xml 30 | app/etc/modules/Mage_CurrencySymbol.xml 31 | app/etc/modules/Mage_Downloadable.xml 32 | app/etc/modules/Mage_ImportExport.xml 33 | app/etc/modules/Mage_LoadTest.xml 34 | app/etc/modules/Mage_Oauth.xml 35 | app/etc/modules/Mage_Ogone.xml 36 | app/etc/modules/OnTap_Merchandiser.xml 37 | app/etc/modules/Mage_PageCache.xml 38 | app/etc/modules/Mage_Persistent.xml 39 | app/etc/modules/Mage_Weee.xml 40 | app/etc/modules/Mage_Widget.xml 41 | app/etc/modules/Mage_XmlConnect.xml 42 | app/etc/modules/Phoenix_Moneybookers.xml 43 | app/etc/modules/Cm_RedisSession.xml 44 | app/etc/applied.patches.list 45 | app/etc/config.xml 46 | app/etc/enterprise.xml 47 | app/etc/local.xml.additional 48 | app/etc/local.xml.template 49 | app/etc/local.xml 50 | app/.htaccess 51 | app/bootstrap.php 52 | app/locale/ 53 | app/Mage.php 54 | /cron.php 55 | cron.sh 56 | downloader/ 57 | errors/ 58 | favicon.ico 59 | /get.php 60 | includes/ 61 | /index.php 62 | index.php.sample 63 | /install.php 64 | js/blank.html 65 | js/calendar/ 66 | js/enterprise/ 67 | js/extjs/ 68 | js/firebug/ 69 | js/flash/ 70 | js/index.php 71 | js/jscolor/ 72 | js/lib/ 73 | js/mage/ 74 | js/prototype/ 75 | js/scriptaculous/ 76 | js/spacer.gif 77 | js/tiny_mce/ 78 | js/varien/ 79 | js/google/ 80 | js/merchandiser/ 81 | lib/3Dsecure/ 82 | lib/Apache/ 83 | lib/flex/ 84 | lib/googlecheckout/ 85 | lib/.htaccess 86 | lib/LinLibertineFont/ 87 | lib/Mage/ 88 | lib/PEAR/ 89 | lib/Pelago/ 90 | lib/phpseclib/ 91 | lib/Varien/ 92 | lib/Zend/ 93 | lib/Cm/ 94 | lib/Credis/ 95 | lib/Magento/ 96 | LICENSE_AFL.txt 97 | LICENSE.html 98 | LICENSE.txt 99 | LICENSE_EE* 100 | /mage 101 | media/customer/ 102 | media/dhl/ 103 | media/downloadable/ 104 | media/.htaccess 105 | media/import/ 106 | media/xmlconnect/ 107 | media/catalog/product/cache/ 108 | media/catalog/product/placeholder/default/ 109 | /api.php 110 | nbproject/ 111 | pear 112 | pear/ 113 | php.ini.sample 114 | pkginfo/ 115 | RELEASE_NOTES.txt 116 | shell/abstract.php 117 | shell/compiler.php 118 | shell/indexer.php 119 | shell/log.php 120 | sitemap.xml 121 | skin/adminhtml/default/default/ 122 | skin/adminhtml/default/enterprise 123 | skin/frontend/base/ 124 | skin/frontend/rwd/ 125 | skin/frontend/default/blank/ 126 | skin/frontend/default/blue/ 127 | skin/frontend/default/default/ 128 | skin/frontend/default/french/ 129 | skin/frontend/default/german/ 130 | skin/frontend/default/iphone/ 131 | skin/frontend/default/modern/ 132 | skin/frontend/enterprise 133 | skin/install/ 134 | var/ 135 | dev/ 136 | tools/ 137 | media/ 138 | shell/ 139 | lib/ 140 | privatesales/ 141 | app/design/frontend/amp/default/template/page/html/styles.phtml 142 | 143 | app/design/frontend/amp/default/template/page/html/styles.phtml 144 | -------------------------------------------------------------------------------- /.htaccess: -------------------------------------------------------------------------------- 1 | ############################################ 2 | ## uncomment these lines for CGI mode 3 | ## make sure to specify the correct cgi php binary file name 4 | ## it might be /cgi-bin/php-cgi 5 | 6 | # Action php5-cgi /cgi-bin/php5-cgi 7 | # AddHandler php5-cgi .php 8 | 9 | ############################################ 10 | ## GoDaddy specific options 11 | 12 | # Options -MultiViews 13 | 14 | ## you might also need to add this line to php.ini 15 | ## cgi.fix_pathinfo = 1 16 | ## if it still doesn't work, rename php.ini to php5.ini 17 | 18 | ############################################ 19 | ## this line is specific for 1and1 hosting 20 | 21 | #AddType x-mapp-php5 .php 22 | #AddHandler x-mapp-php5 .php 23 | 24 | ############################################ 25 | ## default index file 26 | 27 | DirectoryIndex index.php 28 | 29 | 30 | 31 | ############################################ 32 | ## adjust memory limit 33 | 34 | # php_value memory_limit 64M 35 | php_value memory_limit 256M 36 | php_value max_execution_time 18000 37 | 38 | ############################################ 39 | ## disable magic quotes for php request vars 40 | 41 | php_flag magic_quotes_gpc off 42 | 43 | ############################################ 44 | ## disable automatic session start 45 | ## before autoload was initialized 46 | 47 | php_flag session.auto_start off 48 | 49 | ############################################ 50 | ## enable resulting html compression 51 | 52 | #php_flag zlib.output_compression on 53 | 54 | ########################################### 55 | # disable user agent verification to not break multiple image upload 56 | 57 | php_flag suhosin.session.cryptua off 58 | 59 | ########################################### 60 | # turn off compatibility with PHP4 when dealing with objects 61 | 62 | php_flag zend.ze1_compatibility_mode Off 63 | 64 | 65 | 66 | 67 | ########################################### 68 | # disable POST processing to not break multiple image upload 69 | 70 | SecFilterEngine Off 71 | SecFilterScanPOST Off 72 | 73 | 74 | 75 | 76 | ############################################ 77 | ## enable apache served files compression 78 | ## http://developer.yahoo.com/performance/rules.html#gzip 79 | 80 | # Insert filter on all content 81 | ###SetOutputFilter DEFLATE 82 | # Insert filter on selected content types only 83 | #AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript 84 | 85 | # Netscape 4.x has some problems... 86 | #BrowserMatch ^Mozilla/4 gzip-only-text/html 87 | 88 | # Netscape 4.06-4.08 have some more problems 89 | #BrowserMatch ^Mozilla/4\.0[678] no-gzip 90 | 91 | # MSIE masquerades as Netscape, but it is fine 92 | #BrowserMatch \bMSIE !no-gzip !gzip-only-text/html 93 | 94 | # Don't compress images 95 | #SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary 96 | 97 | # Make sure proxies don't deliver the wrong content 98 | #Header append Vary User-Agent env=!dont-vary 99 | 100 | 101 | 102 | 103 | 104 | ############################################ 105 | ## make HTTPS env vars available for CGI mode 106 | 107 | SSLOptions StdEnvVars 108 | 109 | 110 | 111 | 112 | 113 | ############################################ 114 | ## enable rewrites 115 | 116 | Options +FollowSymLinks 117 | RewriteEngine on 118 | 119 | ############################################ 120 | ## you can put here your magento root folder 121 | ## path relative to web root 122 | 123 | #RewriteBase /magento/ 124 | 125 | ############################################ 126 | ## uncomment next line to enable light API calls processing 127 | 128 | # RewriteRule ^api/([a-z][0-9a-z_]+)/?$ api.php?type=$1 [QSA,L] 129 | 130 | ############################################ 131 | ## rewrite API2 calls to api.php (by now it is REST only) 132 | 133 | RewriteRule ^api/rest api.php?type=rest [QSA,L] 134 | 135 | ############################################ 136 | ## workaround for HTTP authorization 137 | ## in CGI environment 138 | 139 | RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] 140 | 141 | ############################################ 142 | ## TRACE and TRACK HTTP methods disabled to prevent XSS attacks 143 | 144 | RewriteCond %{REQUEST_METHOD} ^TRAC[EK] 145 | RewriteRule .* - [L,R=405] 146 | 147 | ############################################ 148 | ## redirect for mobile user agents 149 | 150 | #RewriteCond %{REQUEST_URI} !^/mobiledirectoryhere/.*$ 151 | #RewriteCond %{HTTP_USER_AGENT} "android|blackberry|ipad|iphone|ipod|iemobile|opera mobile|palmos|webos|googlebot-mobile" [NC] 152 | #RewriteRule ^(.*)$ /mobiledirectoryhere/ [L,R=302] 153 | 154 | ############################################ 155 | ## always send 404 on missing files in these folders 156 | 157 | RewriteCond %{REQUEST_URI} !^/(media|skin|js)/ 158 | 159 | ############################################ 160 | ## never rewrite for existing files, directories and links 161 | 162 | RewriteCond %{REQUEST_FILENAME} !-f 163 | RewriteCond %{REQUEST_FILENAME} !-d 164 | RewriteCond %{REQUEST_FILENAME} !-l 165 | 166 | ############################################ 167 | ## rewrite everything else to index.php 168 | 169 | RewriteRule .* index.php [L] 170 | 171 | 172 | 173 | 174 | ############################################ 175 | ## Prevent character encoding issues from server overrides 176 | ## If you still have problems, use the second line instead 177 | 178 | AddDefaultCharset Off 179 | #AddDefaultCharset UTF-8 180 | 181 | 182 | 183 | ############################################ 184 | ## Add default Expires header 185 | ## http://developer.yahoo.com/performance/rules.html#expires 186 | 187 | ExpiresDefault "access plus 1 year" 188 | 189 | 190 | 191 | ############################################ 192 | ## By default allow all access 193 | 194 | Order allow,deny 195 | Allow from all 196 | 197 | ########################################### 198 | ## Deny access to release notes to prevent disclosure of the installed Magento version 199 | 200 | 201 | order allow,deny 202 | deny from all 203 | 204 | 205 | ############################################ 206 | ## If running in cluster environment, uncomment this 207 | ## http://developer.yahoo.com/performance/rules.html#etags 208 | 209 | #FileETag none 210 | 211 | ########################################### 212 | ## Deny access to cron.php 213 | 214 | 215 | ############################################ 216 | ## uncomment next lines to enable cron access with base HTTP authorization 217 | ## http://httpd.apache.org/docs/2.2/howto/auth.html 218 | ## 219 | ## Warning: .htpasswd file should be placed somewhere not accessible from the web. 220 | ## This is so that folks cannot download the password file. 221 | ## For example, if your documents are served out of /usr/local/apache/htdocs 222 | ## you might want to put the password file(s) in /usr/local/apache/. 223 | 224 | #AuthName "Cron auth" 225 | #AuthUserFile ../.htpasswd 226 | #AuthType basic 227 | #Require valid-user 228 | 229 | ############################################ 230 | 231 | Order allow,deny 232 | Deny from all 233 | 234 | 235 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Accelerated Mobile Pages (AMP) Extension for Magento 2 | 3 | 'Mobile web is slow, clunky and [a] frustrating experience' - [AMP Home Page](https://www.ampproject.org/) 4 | 5 | The Magento 1.x shopping cart CMS is one of the slowest systems out there. The only thing store owners can do to make it faster is using Cache and a CDN. Now, thanks to this extension, Magento store owners can integrate Accelerated Mobile Pages (AMP) into their Magento store. It's very easy and explained on this page: [Accelerated Mobile Pages (AMP) for Magento](http://codingbasics.net/accelerated-mobile-pages-magento/) 6 | ## Why Read Only? 7 | Magento 1.x needs JavaScript to do almost anything on the platform. ~~Because I wanted to get this out fast~~ For that reason when creating this package I decided to put together a barebones example of AMP's for Magento. 8 | 9 | ## More information on AMP⚡ 10 | [AMP HTML](https://www.ampproject.org/docs/get_started/about-amp.html) is a way to build web pages for static content that render with reliable, fast performance. It is our attempt at fixing what many perceive as painfully slow page load times – especially when reading content on the mobile web. 11 | 12 | If you are creating AMP pages, check out the docs on [ampproject.org](https://www.ampproject.org/). 13 | 14 | Resources: 15 | * [AMP by example](https://ampbyexample.com/) 16 | * [AMP HTML samples](https://github.com/ampproject/amphtml/tree/master/examples) 17 | * [AMP-HTML on StackOverflow](https://stackoverflow.com/questions/tagged/amp-html) 18 | * [Accelerated Mobile Pages (AMP) for Magento](http://codingbasics.net/accelerated-mobile-pages-magento/) 19 | 20 | ## Do not suffer a loss in traffic 21 | Google is moving to promote sites that use AMP to the top of the search rankings in a carousel feature. Some believe it already does. Don't leave your customers behind when you could make a stupidly simple change. Most importantly the big guys wont have this yet. Win win. You get more mobile customers and have a bigger revenue in turn. 22 | 23 | ## Installation 24 | **1. TO DO** 25 | 26 | ## Tests 27 | I would test this code, but I really do not know how to do that. If someone would like to contribute with tests that would be awesome. 28 | 29 | ## License 30 | Feel free to use this for your own learning, or business use. Don't sue me if anything goes wrong, because this comes with no warrenty what-so-ever. Just give me some credit if you can. -------------------------------------------------------------------------------- /amp/.htaccess: -------------------------------------------------------------------------------- 1 | ############################################ 2 | ## uncomment these lines for CGI mode 3 | ## make sure to specify the correct cgi php binary file name 4 | ## it might be /cgi-bin/php-cgi 5 | 6 | # Action php5-cgi /cgi-bin/php5-cgi 7 | # AddHandler php5-cgi .php 8 | 9 | ############################################ 10 | ## GoDaddy specific options 11 | 12 | # Options -MultiViews 13 | 14 | ## you might also need to add this line to php.ini 15 | ## cgi.fix_pathinfo = 1 16 | ## if it still doesn't work, rename php.ini to php5.ini 17 | 18 | ############################################ 19 | ## this line is specific for 1and1 hosting 20 | 21 | #AddType x-mapp-php5 .php 22 | #AddHandler x-mapp-php5 .php 23 | 24 | ############################################ 25 | ## default index file 26 | 27 | DirectoryIndex index.php 28 | 29 | 30 | 31 | ############################################ 32 | ## adjust memory limit 33 | 34 | # php_value memory_limit 64M 35 | php_value memory_limit 256M 36 | php_value max_execution_time 18000 37 | 38 | ############################################ 39 | ## disable magic quotes for php request vars 40 | 41 | php_flag magic_quotes_gpc off 42 | 43 | ############################################ 44 | ## disable automatic session start 45 | ## before autoload was initialized 46 | 47 | php_flag session.auto_start off 48 | 49 | ############################################ 50 | ## enable resulting html compression 51 | 52 | #php_flag zlib.output_compression on 53 | 54 | ########################################### 55 | # disable user agent verification to not break multiple image upload 56 | 57 | php_flag suhosin.session.cryptua off 58 | 59 | ########################################### 60 | # turn off compatibility with PHP4 when dealing with objects 61 | 62 | php_flag zend.ze1_compatibility_mode Off 63 | 64 | 65 | 66 | 67 | ########################################### 68 | # disable POST processing to not break multiple image upload 69 | 70 | SecFilterEngine Off 71 | SecFilterScanPOST Off 72 | 73 | 74 | 75 | 76 | ############################################ 77 | ## enable apache served files compression 78 | ## http://developer.yahoo.com/performance/rules.html#gzip 79 | 80 | # Insert filter on all content 81 | ###SetOutputFilter DEFLATE 82 | # Insert filter on selected content types only 83 | #AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript 84 | 85 | # Netscape 4.x has some problems... 86 | #BrowserMatch ^Mozilla/4 gzip-only-text/html 87 | 88 | # Netscape 4.06-4.08 have some more problems 89 | #BrowserMatch ^Mozilla/4\.0[678] no-gzip 90 | 91 | # MSIE masquerades as Netscape, but it is fine 92 | #BrowserMatch \bMSIE !no-gzip !gzip-only-text/html 93 | 94 | # Don't compress images 95 | #SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary 96 | 97 | # Make sure proxies don't deliver the wrong content 98 | #Header append Vary User-Agent env=!dont-vary 99 | 100 | 101 | 102 | 103 | 104 | ############################################ 105 | ## make HTTPS env vars available for CGI mode 106 | 107 | SSLOptions StdEnvVars 108 | 109 | 110 | 111 | 112 | 113 | ############################################ 114 | ## enable rewrites 115 | 116 | Options +FollowSymLinks 117 | RewriteEngine on 118 | 119 | ############################################ 120 | ## you can put here your magento root folder 121 | ## path relative to web root 122 | 123 | #RewriteBase /magento/ 124 | 125 | ############################################ 126 | ## uncomment next line to enable light API calls processing 127 | 128 | # RewriteRule ^api/([a-z][0-9a-z_]+)/?$ api.php?type=$1 [QSA,L] 129 | 130 | ############################################ 131 | ## rewrite API2 calls to api.php (by now it is REST only) 132 | 133 | RewriteRule ^api/rest api.php?type=rest [QSA,L] 134 | 135 | ############################################ 136 | ## workaround for HTTP authorization 137 | ## in CGI environment 138 | 139 | RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] 140 | 141 | ############################################ 142 | ## TRACE and TRACK HTTP methods disabled to prevent XSS attacks 143 | 144 | RewriteCond %{REQUEST_METHOD} ^TRAC[EK] 145 | RewriteRule .* - [L,R=405] 146 | 147 | ############################################ 148 | ## redirect for mobile user agents 149 | 150 | #RewriteCond %{REQUEST_URI} !^/mobiledirectoryhere/.*$ 151 | #RewriteCond %{HTTP_USER_AGENT} "android|blackberry|ipad|iphone|ipod|iemobile|opera mobile|palmos|webos|googlebot-mobile" [NC] 152 | #RewriteRule ^(.*)$ /mobiledirectoryhere/ [L,R=302] 153 | 154 | ############################################ 155 | ## always send 404 on missing files in these folders 156 | 157 | RewriteCond %{REQUEST_URI} !^/(media|skin|js)/ 158 | 159 | ############################################ 160 | ## never rewrite for existing files, directories and links 161 | 162 | RewriteCond %{REQUEST_FILENAME} !-f 163 | RewriteCond %{REQUEST_FILENAME} !-d 164 | RewriteCond %{REQUEST_FILENAME} !-l 165 | 166 | ############################################ 167 | ## rewrite everything else to index.php 168 | 169 | RewriteRule .* index.php [L] 170 | 171 | 172 | 173 | 174 | ############################################ 175 | ## Prevent character encoding issues from server overrides 176 | ## If you still have problems, use the second line instead 177 | 178 | AddDefaultCharset Off 179 | #AddDefaultCharset UTF-8 180 | 181 | 182 | 183 | ############################################ 184 | ## Add default Expires header 185 | ## http://developer.yahoo.com/performance/rules.html#expires 186 | 187 | ExpiresDefault "access plus 1 year" 188 | 189 | 190 | 191 | ############################################ 192 | ## By default allow all access 193 | 194 | Order allow,deny 195 | Allow from all 196 | 197 | ########################################### 198 | ## Deny access to release notes to prevent disclosure of the installed Magento version 199 | 200 | 201 | order allow,deny 202 | deny from all 203 | 204 | 205 | ############################################ 206 | ## If running in cluster environment, uncomment this 207 | ## http://developer.yahoo.com/performance/rules.html#etags 208 | 209 | #FileETag none 210 | -------------------------------------------------------------------------------- /amp/index.php: -------------------------------------------------------------------------------- 1 | 29 |
30 |

31 | Whoops, it looks like you have an invalid PHP version.

Magento supports PHP 5.2.0 or newer. 32 | Find out how to install 33 | Magento using PHP-CGI as a work-around.

'; 34 | exit; 35 | } 36 | 37 | /** 38 | * Error reporting 39 | */ 40 | error_reporting(E_ALL | E_STRICT); 41 | 42 | /** 43 | * Compilation includes configuration file 44 | */ 45 | define('MAGENTO_ROOT', getcwd() . '/..'); 46 | 47 | $compilerConfig = MAGENTO_ROOT . '/includes/config.php'; 48 | if (file_exists($compilerConfig)) { 49 | include $compilerConfig; 50 | } 51 | 52 | $mageFilename = MAGENTO_ROOT . '/app/Mage.php'; 53 | $maintenanceFile = 'maintenance.flag'; 54 | 55 | if (!file_exists($mageFilename)) { 56 | if (is_dir('downloader')) { 57 | header("Location: downloader"); 58 | } else { 59 | echo $mageFilename." was not found"; 60 | } 61 | exit; 62 | } 63 | 64 | if (file_exists($maintenanceFile)) { 65 | include_once dirname(__FILE__) . '/errors/503.php'; 66 | exit; 67 | } 68 | 69 | require_once $mageFilename; 70 | 71 | #Varien_Profiler::enable(); 72 | 73 | if (isset($_SERVER['MAGE_IS_DEVELOPER_MODE'])) { 74 | Mage::setIsDeveloperMode(true); 75 | } 76 | 77 | #ini_set('display_errors', 1); 78 | 79 | umask(0); 80 | 81 | /* Store or website code */ 82 | $mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : 'amp'; 83 | 84 | /* Run store or run website */ 85 | $mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ? $_SERVER['MAGE_RUN_TYPE'] : 'store'; 86 | 87 | Mage::run($mageRunCode, $mageRunType); 88 | -------------------------------------------------------------------------------- /app/design/frontend/amp/default/layout/local.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | ]]> 15 | 16 | 17 | 18 | 19 | 20 | ]]> 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | js 29 | js 30 | js 31 | js 32 | js 33 | js 34 | js 35 | js 36 | js 37 | js 38 | js 39 | js 40 | js 41 | js_cookies 42 | optional_zip_countries 43 | 44 | 45 | skin_csscss/styles.css 46 | skin_csscss/widgets.css 47 | skin_csscss/print.css 48 | skin_csscss/styles-ie.csslt IE 8 49 | jslib/ds-sleight.jslt IE 7 50 | skin_jsjs/ie6.jslt IE 7 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 157 | 158 | 159 | 160 | 161 | 164 | 165 | 166 | 167 | 168 | 171 | 172 | 173 | 174 | 175 | 178 | 179 | 180 | 181 | 182 | 185 | 186 | 187 | 188 | 189 | 192 | 193 | 194 | 195 | 196 | 199 | 200 | 201 | 202 | 203 | 206 | 207 | 208 | 209 | 210 | 213 | 214 | 215 | 216 | 217 | 220 | 221 | 222 | 223 | 224 | 227 | 228 | 229 | 230 | 231 | 234 | 235 | 236 | 237 | 238 | 241 | 242 | 243 | 244 | 245 | 248 | 249 | 250 | 251 | 252 | 255 | 256 | 257 | 258 | 259 | 262 | 263 | 264 | 265 | 266 | -------------------------------------------------------------------------------- /app/design/frontend/amp/default/template/page/1column.phtml: -------------------------------------------------------------------------------- 1 | 27 | 32 | 33 | 34 | getChildHtml('head') ?> 35 | 36 | getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>> 37 | getChildHtml('after_body_start') ?> 38 |
39 | getChildHtml('header') ?> 40 | getChildHtml('global_notices') ?> 41 |
42 |
43 |
44 | getChildHtml('breadcrumbs') ?> 45 |
46 | getChildHtml('global_messages') ?> 47 | getChildHtml('content') ?> 48 |
49 |
50 |
51 | getChildHtml('footer') ?> 52 | getChildHtml('global_cookie_notice') ?> 53 | getChildHtml('before_body_end') ?> 54 |
55 |
56 | getAbsoluteFooter() ?> 57 | 58 | 59 | -------------------------------------------------------------------------------- /app/design/frontend/amp/default/template/page/2columns-left.phtml: -------------------------------------------------------------------------------- 1 | 27 | 32 | 33 | 34 | getChildHtml('head') ?> 35 | 36 | getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>> 37 | getChildHtml('after_body_start') ?> 38 |
39 | getChildHtml('header') ?> 40 | getChildHtml('global_notices') ?> 41 |
42 |
43 |
44 | getChildHtml('breadcrumbs') ?> 45 |
46 | getChildHtml('global_messages') ?> 47 | getChildHtml('content') ?> 48 |
49 | 50 |
51 |
52 | getChildHtml('footer') ?> 53 | getChildHtml('global_cookie_notice') ?> 54 | getChildHtml('before_body_end') ?> 55 |
56 |
57 | getAbsoluteFooter() ?> 58 | 59 | 60 | -------------------------------------------------------------------------------- /app/design/frontend/amp/default/template/page/2columns-right.phtml: -------------------------------------------------------------------------------- 1 | 27 | 32 | 33 | 34 | getChildHtml('head') ?> 35 | 36 | getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>> 37 | getChildHtml('after_body_start') ?> 38 |
39 | getChildHtml('header') ?> 40 | getChildHtml('global_notices') ?> 41 |
42 |
43 |
44 | getChildHtml('breadcrumbs') ?> 45 |
46 | getChildHtml('global_messages') ?> 47 | getChildHtml('content') ?> 48 |
49 | 50 |
51 |
52 | getChildHtml('footer') ?> 53 | getChildHtml('global_cookie_notice') ?> 54 | getChildHtml('before_body_end') ?> 55 |
56 |
57 | getAbsoluteFooter() ?> 58 | 59 | 60 | -------------------------------------------------------------------------------- /app/design/frontend/amp/default/template/page/3columns.phtml: -------------------------------------------------------------------------------- 1 | 27 | 32 | 33 | 34 | getChildHtml('head') ?> 35 | 36 | getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>> 37 | getChildHtml('after_body_start') ?> 38 | 39 | getChildHtml('header') ?> 40 | getChildHtml('global_notices') ?> 41 | 42 |
43 |
44 |
45 |
46 | getChildHtml('breadcrumbs') ?> 47 |
48 |
49 | getChildHtml('global_messages') ?> 50 | getChildHtml('content') ?> 51 |
52 | 53 |
54 | 55 |
56 |
57 | getChildHtml('footer') ?> 58 | getChildHtml('global_cookie_notice') ?> 59 | getChildHtml('before_body_end') ?> 60 |
61 |
62 | getAbsoluteFooter() ?> 63 | 64 | 65 | -------------------------------------------------------------------------------- /app/design/frontend/amp/default/template/page/html/breadcrumbs.phtml: -------------------------------------------------------------------------------- 1 | 27 | 28 | 46 | 47 | -------------------------------------------------------------------------------- /app/design/frontend/amp/default/template/page/html/cookienotice.phtml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codingbasicsnet/AMP-Magento-Extension/a7efd071378f780b1a34b22f355bd2fd7bd26252/app/design/frontend/amp/default/template/page/html/cookienotice.phtml -------------------------------------------------------------------------------- /app/design/frontend/amp/default/template/page/html/footer.phtml: -------------------------------------------------------------------------------- 1 | 27 | 34 | -------------------------------------------------------------------------------- /app/design/frontend/amp/default/template/page/html/head.phtml: -------------------------------------------------------------------------------- 1 | 2 | <?php echo $this->getTitle() ?> 3 | 4 | 5 | 6 | 7 | 8 | getChildHtml() ?> 9 | getCurrentUrl();$bodytag = str_replace("/amp/", "/", $currentUrl); ?> 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/design/frontend/amp/default/template/page/html/header.phtml: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 | getCurrentUrl();$bodytag = str_replace("/amp/", "/", $currentUrl); ?> 6 | Shop on Full Site 7 |
8 |
9 | -------------------------------------------------------------------------------- /app/design/frontend/amp/default/template/page/html/notices.phtml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | --------------------------------------------------------------------------------