本文整理匯總了PHP中J2Store::modules方法的典型用法代碼示例。如果您正苦於以下問題:PHP J2Store::modules方法的具體用法?PHP J2Store::modules怎麽用?PHP J2Store::modules使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類J2Store
的用法示例。
在下文中一共展示了J2Store::modules方法的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1:
<?php
echo $this->loadTemplate('shipping');
?>
</div>
</div>
<div class="span6">
<?php
echo $this->loadTemplate('totals');
?>
</div>
</div>
<?php
} else {
?>
<span class="cart-no-items">
<?php
echo JText::_('J2STORE_CART_NO_ITEMS');
?>
</span>
<?php
}
?>
</div>
</div>
<?php
echo J2Store::modules()->loadposition('j2store-cart-bottom');
示例2:
?>
</div>
<?php
//make sure filter is enable
if ($this->params->get('list_show_filter')) {
?>
<?php
if ($filter_position == 'right') {
?>
<div class="j2store-sidebar-filters-container span3">
<?php
echo J2Store::modules()->loadposition('j2store-filter-right-top');
?>
<?php
echo $this->loadTemplate('filters');
?>
<?php
echo J2Store::modules()->loadposition('j2store-filter-right-bottom');
?>
</div>
<?php
}
?>
<?php
}
?>
</div> <!-- end of row-fluid -->
</div> <!-- end of product list -->
示例3:
</div>
<div class="row-fluid">
<!-- Chart-->
<div class="span12 chart">
<?php
echo J2Store::modules()->loadposition('j2store-module-position-3');
?>
</div>
</div>
<div class="row-fluid">
<!-- Statistics-->
<div class="span6 statistics">
<?php
echo J2Store::modules()->loadposition('j2store-module-position-5');
?>
</div>
<!-- Latest orders -->
<div class="span6 latest_orders">
<?php
echo J2Store::modules()->loadposition('j2store-module-position-4');
?>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</form>
示例4:
echo $this->product->product_type;
?>
detail bs2">
<?php
echo J2Store::modules()->loadposition('j2store-single-product-top');
?>
<?php
if ($this->params->get('item_show_back_to', 0) && isset($this->back_link) && !empty($this->back_link)) {
?>
<div class="j2store-view-back-button">
<a href="<?php
echo $this->back_link;
?>
" class="j2store-product-back-btn btn btn-small btn-info">
<i class="fa fa-chevron-left"> </i> <?php
echo JText::_('J2STORE_PRODUCT_BACK_TO') . ' ' . $this->back_link_title;
?>
</a>
</div>
<?php
}
?>
<?php
echo $this->loadTemplate($this->product->product_type);
?>
<?php
echo J2Store::modules()->loadposition('j2store-single-product-bottom');
?>
</div>
示例5:
<?php
echo J2Store::modules()->loadposition('j2store-postpayment-top');
?>
<h3><?php
echo JText::_("J2STORE_CHECKOUT_RESULTS");
?>
</h3>
<?php
echo $plugin_html;
?>
<?php
if (!empty($order_link) && $paction != 'cancel') {
?>
<div class="note">
<a href="<?php
echo JRoute::_($order_link);
?>
">
<?php
echo JText::_("J2STORE_VIEW_ORDER_HISTORY");
?>
</a>
</div>
<?php
}
echo J2Store::modules()->loadposition('j2store-postpayment-bottom');
?>
</div>
</div>