Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
litespeed_wiki:cache:lscps:customization_1_7 [2018/02/05 21:54]
Jackson Zhang [Cart and Login Widgets as ESI Blocks]
litespeed_wiki:cache:lscps:customization_1_7 [2018/02/05 21:57] (current)
Jackson Zhang [Make changes to template]
Line 118: Line 118:
 </​code>​ </​code>​
  
 +=== 4. ps_shoppingcart as widget ===
 +
 +Replace the following:
 +
 +<​code>​
 + {widget name="​ps_shoppingcart"​}
 +</​code>​
 +
 +with: 
 +<​code>​
 + {hook h="​litespeedEsiBegin"​ m="​ps_shoppingcart"​ field="​widget"​}
 +        {widget name="​ps_shoppingcart"​}
 +        {hook h="​litespeedEsiEnd"​}
 +</​code>​
 ==== Make changes to multi-templates ==== ==== Make changes to multi-templates ====
 Sometime ''​header.tpl''​ located at ''​themes/​warehouse/​templates/​_partials/​header.tpl''​ may use various variants, such as the following: Sometime ''​header.tpl''​ located at ''​themes/​warehouse/​templates/​_partials/​header.tpl''​ may use various variants, such as the following:
  • Admin
  • Last modified: 2018/02/05 21:57
  • by Jackson Zhang