安裝 Porto Theme Files

You are here:
  • Main
  • 安裝 Porto Theme Files
< All Topics

安裝 Porto Theme Files
cd Theme Files/Magento 1.x

unzip Porto\ Theme.zip &&/bin/cp -rf app js lib media skin /usr/share/nginx/html/ &&rm -rf app js lib media skin

unzip Patch\ for\ Magento\ 1.9.2.x\ and\ above.zip &&/bin/cp -rf app /usr/share/nginx/html/ && rm -rf app

unzip Patch\ for\ Magento\ 1.9.2.2\ and\ above.zip &&/bin/cp -rf app /usr/share/nginx/html/ && rm -rf app

unzip Patch\ for\ Configurable\ Swatches.zip &&/bin/cp -rf app skin /usr/share/nginx/html/ && rm -rf app skin

 

unzip Porto\ Theme.zip &&/bin/cp -rf app js lib media skin /usr/share/nginx/try/ &&rm -rf app js lib media skin

unzip Patch\ for\ Configurable\ Swatches.zip &&/bin/cp -rf app skin /usr/share/nginx/try/ && rm -rf app skin

unzip Patch\ for\ Magento\ 1.9.2.x\ and\ above.zip &&/bin/cp -rf app /usr/share/nginx/try/ && rm -rf app

unzip Patch\ for\ Magento\ 1.9.2.2\ and\ above.zip &&/bin/cp -rf app /usr/share/nginx/try/ && rm -rf app

 

新增 Block 權限

  1. filterproducts/featured_home_list *
  2. filterproducts/latest_home_list *
  3. filterproducts/newproduct_home_list *
  4. filterproducts/sale_home_list *
  5. filterproducts/mostviewed_home_list *
  6. filterproducts/bestsellers_home_list *
  7. blog/last
  8. newsletter/subscribe
  9. tag/popular
  10. zeon_manufacturer/home

匯入『靜態區塊』、『頁面』

於『系統』/『設定』/『Porto – Settings Panel』/『Theme Installation』中

將『Overwrite Existing Blocks』設定為『是』後,點擊『Import Static Blocks』按鈕

將『Overwrite Existing Pages』設定為『是』後,點擊『Import Pages』按鈕

 

<p>{{block type="ultimo/product_list_featured" template="catalog/product/list_featured_slider.phtml" category_id="104" products_count="10" hide_button="1" block_name="熱門商品"}}</p>

<p>{{block type="ultimo/product_list_featured" template="catalog/product/list_featured_slider.phtml" block_name="Random Products"}}</p>

<script type="text/javascript">// <![CDATA[
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
</script>
</p>

<div align="center">
<table border="0">
<tbody>
<tr>
<td>&nbsp;</td>
</tr>
<tr>
<td><a href="https://www.gapl.com.tw/brands/uuni.html" target="_blank"> <img src="{{media url="wysiwyg/Discounted_2017/Discounted_2017_5/Discounted_2017_920_uuni3_01.jpg"}}" alt="" /></a><img alt="" src="{{media url="wysiwyg/Discounted_2017/20_20.png"}}" /><a href="https://www.gapl.com.tw/hot-brands/iwatani.html" target="_blank"><img src="{{media url="wysiwyg/Discounted_2017/Discounted_2017_5/Discounted_2017_920_IWATANI_CB-ABR-1.jpg"}}" alt="" /></a></td>
</tr>
</tbody>
</table>
</div>
<div align="center">
<table border="0">
<tbody>
<tr>
<td><a href="https://www.gapl.com.tw/brands/euro-cuisine.html" target="_blank"><img src="{{media url="wysiwyg/Discounted_2017/Discounted_2017_5/Discounted_2017_920_Euro_Cuisine.jpg"}}" alt="" /></a><img alt="" src="{{media url="wysiwyg/Discounted_2017/20_20.png"}}" /><a href="https://www.gapl.com.tw/brands/kermit-chair.html" target="_blank"><img src="{{media url="wysiwyg/Discounted_2017/Discounted_2017_5/Discounted_2017_920_Kermit_Chair.jpg"}}" alt="" /></a><img alt="" src="{{media url="wysiwyg/Discounted_2017/20_20.png"}}" /><a href="https://www.gapl.com.tw/hot-brands/chabatree.html" target="_blank"><img src="{{media url="wysiwyg/Discounted_2017/Discounted_2017_5/Discounted_2017_920_CHABATREE_.jpg"}}" alt="" /></a></td>
</tr>
</tbody>
</table>
</div>
<div align="center">
<table border="0">
<tbody>
<tr>
<td><a href="https://www.gapl.com.tw/catalogsearch/result/?q=igloo" target="_blank"><img src="{{media url="wysiwyg/Discounted_2017/Discounted_2017_5/Discounted_2017_920_igloo.jpg"}}" alt="" /></a><img alt="" src="{{media url="wysiwyg/Discounted_2017/20_20.png"}}" /><a href="https://www.gapl.com.tw/ball-mason-jars-51/recap.html" target="_blank"><img src="{{media url="wysiwyg/Discounted_2017/Discounted_2017_5/Discounted_2017_920_recap.jpg"}}" alt="" /></a><img alt="" src="{{media url="wysiwyg/Discounted_2017/20_20.png"}}" /><a href="https://www.gapl.com.tw/brands/blue-ridge.html" target="_blank"><img src="{{media url="wysiwyg/Discounted_2017/Discounted_2017_5/Discounted_2017_920_Blue_Ridge_Chair_Works.jpg"}}" alt="" /></a></td>
</tr>
</tbody>
</table>
</div>
<div align="center">
<table border="0">
<tbody>
<tr>
<td><a href="https://www.gapl.com.tw/ball-mason-jars-51.html" target="_blank"><img src="{{media url="wysiwyg/Discounted_2017/Discounted_2017_5/Discounted_2017_920_ball.jpg"}}" alt="" /></a><img alt="" src="{{media url="wysiwyg/Discounted_2017/20_20.png"}}" /><a href="https://www.gapl.com.tw/hot-brands/iwatani.html" target="_blank"><img src="{{media url="wysiwyg/Discounted_2017/Discounted_2017_5/Discounted_2017_920_iwatani.jpg"}}" alt="" /></a></td>
</tr>
</tbody>
</table>
</div>
<div align="center">
<table border="0">
<tbody>
<tr>
<td><a href="https://www.gapl.com.tw/ball-mason-jars-51/jarware.html" target="_blank"><img src="{{media url="wysiwyg/Discounted_2017/Discounted_2017_5/Discounted_2017_920_JARWARE.jpg"}}" alt="" /></a><img alt="" src="{{media url="wysiwyg/Discounted_2017/20_20.png"}}" /><a href="https://www.gapl.com.tw/catalogsearch/result/?q=Candy+Light" target="_blank"><img src="{{media url="wysiwyg/Discounted_2017/Discounted_2017_5/Discounted_2017_920_Candy_Light.jpg"}}" alt="" /></a><img alt="" src="{{media url="wysiwyg/Discounted_2017/20_20.png"}}" /><a href="https://www.gapl.com.tw/ball-mason-jars-51/ilids.html" target="_blank"><img src="{{media url="wysiwyg/Discounted_2017/Discounted_2017_5/Discounted_2017_920_iLIDS.jpg"}}" alt="" /></a></td>
</tr>
</tbody>
</table>
</div>
<div align="center">
<table border="0">
<tbody>
<tr>
<td><a href="https://www.gapl.com.tw/brands/byer.html" target="_blank"><img src="{{media url="wysiwyg/Discounted_2017/Discounted_2017_5/Discounted_2017_920_Byer_of_Maine.jpg"}}" alt="" /></a><img alt="" src="{{media url="wysiwyg/Discounted_2017/20_20.png"}}" /><a href="https://www.gapl.com.tw/hot-brands/captain-stag.html" target="_blank"><img src="{{media url="wysiwyg/Discounted_2017/Discounted_2017_5/Discounted_2017_920_CAPTAIN_STAG.jpg"}}" alt="" /></a><img alt="" src="{{media url="wysiwyg/Discounted_2017/20_20.png"}}" /><a href="https://www.gapl.com.tw/hot-brands/emalia-olkusz.html" target="_blank"><img src="{{media url="wysiwyg/Discounted_2017/Discounted_2017_5/Discounted_2017_920_Emalia_Olkusz.jpg"}}" alt="" /></a></td>
</tr>
</tbody>
</table>
</div>
<div align="center">
<table border="0">
<tbody>
<tr>
<td><a href="https://www.gapl.com.tw/hot-brands/.html" target="_blank"><img src="{{media url="wysiwyg/Discounted_2017/Discounted_2017_5/Discounted_2017_920_file.jpg"}}" alt="" /></a><img alt="" src="{{media url="wysiwyg/Discounted_2017/20_20.png"}}" /><a href="https://www.gapl.com.tw/hot-brands/soto.html" target="_blank"><img src="{{media url="wysiwyg/Discounted_2017/Discounted_2017_5/Discounted_2017_920_SOTO.jpg"}}" alt="" /></a><img alt="" src="{{media url="wysiwyg/Discounted_2017/20_20.png"}}" /><a href="https://www.gapl.com.tw/appliances/fan.html" target="_blank"><img src="{{media url="wysiwyg/Discounted_2017/Discounted_2017_5/Discounted_2017_920_Vornado.jpg"}}" alt="" /></a></td>
</tr>
</tbody>
</table>
</div>
<p>{{block type="catalog/product_new" template="catalog/product/new.phtml" products_count="30" hide_button="1" block_name="最新商品"}}</p>
<p>{{block type="catalog/product_new" template="catalog/product/new.phtml" products_count="30" hide_button="1" block_name="最新商品"}}</p>
<p>{{block type="brands/brands" template="infortis/brands/brand_slider.phtml" breakpoints="[0, 1], [320, 2], [480, 2], [768, 3], [960, 4], [1280, 5]" block_name="代理品牌"}}</p>

 修改分類

關閉『首頁』

『設定』/『Porto Extension』/『Megamenu』/『一般設定』/『Show the link “Home”』

右側選單

『靜態頁面』/『靜態區塊』/『porto_custom_menu』

『靜態頁面』/『靜態區塊』/『porto_custom_menu_mobile』

可以將『限時特賣』、『品牌列表』、移到右邊(品牌列表需另外開新頁面)

 

Table of Contents