コード例 #1
0
?>
		<td align="right" width="11%"><strong><?php 
echo JText::_('COM_VIRTUEMART_ORDER_PRINT_SUBTOTAL_DISCOUNT_AMOUNT');
?>
</strong></td>
		<td align="right" width="11%"><strong><?php 
echo JText::_('COM_VIRTUEMART_ORDER_PRINT_TOTAL');
?>
</strong></td>
	</tr>

<?php 
foreach ($this->orderDetails['items'] as $item) {
    $qtt = $item->product_quantity;
    $product_link = JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_category_id=' . $item->virtuemart_category_id . '&virtuemart_product_id=' . $item->virtuemart_product_id);
    $baseUrl = shopFunctionsF::getBaseUrl();
    // product link must be an absolute URL.
    $product_link = $baseUrl . $product_link;
    //$product_link =JURI::root().'index.php?option=com_virtuemart&view=productdetails&virtuemart_category_id=' . $item->virtuemart_category_id .'&virtuemart_product_id=' . $item->virtuemart_product_id;
    ?>
		<tr valign="top">
			<td align="left">
				<?php 
    echo $item->order_item_sku;
    ?>
			</td>
			<td align="left" colspan="2" >
				<a href="<?php 
    echo $product_link;
    ?>
"><?php 
コード例 #2
0
					<tr>
						<td >
							<?php 
if (!empty($this->mailbody)) {
    echo nl2br($this->mailbody);
} else {
    echo JText::sprintf('COM_VIRTUEMART_CART_NOTIFY_MAIL_HTML', $this->productName, $this->link);
}
?>
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>
	<?php 
// $uri    = JURI::getInstance();
// $prefix = $uri->toString(array('scheme', 'host', 'port'));
$link = JRoute::_('index.php?option=com_virtuemart', true, -1);
echo '<br/><br/>';
/* GENERAL FOOTER FOR ALL MAILS */
$link = shopFunctionsF::getBaseUrl() . JRoute::_('index.php?option=com_virtuemart', false, -1);
echo JText::_('COM_VIRTUEMART_MAIL_FOOTER') . '<a href="' . $link . '">' . $this->vendor->vendor_name . '</a>';
echo '<br/>';
echo $this->vendor->vendor_name . '<br />' . $this->vendor->vendor_phone . ' ' . $this->vendor->vendor_store_name . '<br /> ' . $this->vendor->vendor_store_desc . '<br />' . $this->vendor->vendor_legal_info;
?>
	</td></tr>
	</table>
</div>
</body>
</html>
コード例 #3
0
		<?php 
echo JText::_('COM_VIRTUEMART_MAIL_SHOPPER_YOUR_PASSWORD');
?>
<br />
		<strong><?php 
echo $this->orderDetails['details']['BT']->order_pass;
?>
</strong>
	</td>
    <td width="40%">
    	<p>
 			<a class="default" title="<?php 
echo $this->vendor->vendor_store_name;
?>
" href="<?php 
echo shopFunctionsF::getBaseUrl() . JRoute::_('index.php?option=com_virtuemart&view=orders&layout=details&order_number=' . $this->orderDetails['details']['BT']->order_number . '&order_pass='******'details']['BT']->order_pass);
?>
">
			<?php 
echo JText::_('COM_VIRTUEMART_MAIL_SHOPPER_YOUR_ORDER_LINK');
?>
</a>
		</p>
	</td>
  </tr>
  <tr>
    <td colspan="3"><p>
				<?php 
echo JText::sprintf('COM_VIRTUEMART_MAIL_SHOPPER_TOTAL_ORDER', $this->currency->priceDisplay($this->orderDetails['details']['BT']->order_total));
?>
</p></td>