當前位置: 首頁>>代碼示例>>PHP>>正文


PHP ShopFunctions::writePriceConfigLine方法代碼示例

本文整理匯總了PHP中ShopFunctions::writePriceConfigLine方法的典型用法代碼示例。如果您正苦於以下問題:PHP ShopFunctions::writePriceConfigLine方法的具體用法?PHP ShopFunctions::writePriceConfigLine怎麽用?PHP ShopFunctions::writePriceConfigLine使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在ShopFunctions的用法示例。


在下文中一共展示了ShopFunctions::writePriceConfigLine方法的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1:

echo JText::_('COM_VIRTUEMART_ADMIN_CFG_PRICES_ROUNDING');
?>
</th>
		    </tr>
<?php 
echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'basePrice', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_BASEPRICE');
echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'variantModification', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_VARMOD');
echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'basePriceVariant', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_BASEPRICE_VAR');
echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'basePriceWithTax', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_BASEPRICE_WTAX');
echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'discountedPriceWithoutTax', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_DISCPRICE_WOTAX');
echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'salesPriceWithDiscount', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_SALESPRICE_WD');
echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'salesPrice', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_SALESPRICE');
echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'priceWithoutTax', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_SALESPRICE_WOTAX');
echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'discountAmount', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_DISC_AMOUNT');
echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'taxAmount', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_TAX_AMOUNT');
echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'unitPrice', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_UNITPRICE');
?>
		</table>

	</fieldset>
    </div>

    <input type="hidden" name="default" value="<?php 
echo $this->shoppergroup->default;
?>
" />
    <input type="hidden" name="virtuemart_shoppergroup_id" value="<?php 
echo $this->shoppergroup->virtuemart_shoppergroup_id;
?>
" />
<?php 
開發者ID:juanmcortez,項目名稱:Lectorum,代碼行數:31,代碼來源:edit.php

示例2:

						<th><?php 
echo JText::_('COM_VIRTUEMART_ADMIN_CFG_PRICES_LABEL');
?>
</th>
						<th><?php 
echo JText::_('COM_VIRTUEMART_ADMIN_CFG_PRICES_TEXT');
?>
</th>
						<th><?php 
echo JText::_('COM_VIRTUEMART_ADMIN_CFG_PRICES_ROUNDING');
?>
</th>
					</tr>
					<?php 
echo ShopFunctions::writePriceConfigLine($this->config, 'basePrice', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_BASEPRICE');
echo ShopFunctions::writePriceConfigLine($this->config, 'variantModification', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_VARMOD');
echo ShopFunctions::writePriceConfigLine($this->config, 'basePriceVariant', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_BASEPRICE_VAR');
echo ShopFunctions::writePriceConfigLine($this->config, 'discountedPriceWithoutTax', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_DISCPRICE_WOTAX', 0);
echo ShopFunctions::writePriceConfigLine($this->config, 'priceWithoutTax', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_SALESPRICE_WOTAX', 0);
echo ShopFunctions::writePriceConfigLine($this->config, 'taxAmount', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_TAX_AMOUNT', 0);
echo ShopFunctions::writePriceConfigLine($this->config, 'basePriceWithTax', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_BASEPRICE_WTAX');
echo ShopFunctions::writePriceConfigLine($this->config, 'salesPrice', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_SALESPRICE');
echo ShopFunctions::writePriceConfigLine($this->config, 'salesPriceWithDiscount', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_SALESPRICE_WD');
echo ShopFunctions::writePriceConfigLine($this->config, 'discountAmount', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_DISC_AMOUNT');
echo ShopFunctions::writePriceConfigLine($this->config, 'unitPrice', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_UNITPRICE');
?>
				</table>
			</fieldset>
		</td>
	</tr>
</table>
開發者ID:sergy444,項目名稱:joomla,代碼行數:31,代碼來源:default_pricing.php

示例3:

echo tsmText::_('com_tsmart_ADMIN_CFG_PRICES_ROUNDING');
?>
</th>
		    </tr>
<?php 
echo ShopFunctions::writePriceConfigLine($this->shoppergroup, 'basePrice', 'com_tsmart_ADMIN_CFG_PRICE_BASEPRICE');
echo ShopFunctions::writePriceConfigLine($this->shoppergroup, 'variantModification', 'com_tsmart_ADMIN_CFG_PRICE_VARMOD');
echo ShopFunctions::writePriceConfigLine($this->shoppergroup, 'basePriceVariant', 'com_tsmart_ADMIN_CFG_PRICE_BASEPRICE_VAR');
echo ShopFunctions::writePriceConfigLine($this->shoppergroup, 'basePriceWithTax', 'com_tsmart_ADMIN_CFG_PRICE_BASEPRICE_WTAX');
echo ShopFunctions::writePriceConfigLine($this->shoppergroup, 'discountedPriceWithoutTax', 'com_tsmart_ADMIN_CFG_PRICE_DISCPRICE_WOTAX');
echo ShopFunctions::writePriceConfigLine($this->shoppergroup, 'salesPriceWithDiscount', 'com_tsmart_ADMIN_CFG_PRICE_SALESPRICE_WD');
echo ShopFunctions::writePriceConfigLine($this->shoppergroup, 'salesPrice', 'com_tsmart_ADMIN_CFG_PRICE_SALESPRICE');
echo ShopFunctions::writePriceConfigLine($this->shoppergroup, 'priceWithoutTax', 'com_tsmart_ADMIN_CFG_PRICE_SALESPRICE_WOTAX');
echo ShopFunctions::writePriceConfigLine($this->shoppergroup, 'discountAmount', 'com_tsmart_ADMIN_CFG_PRICE_DISC_AMOUNT');
echo ShopFunctions::writePriceConfigLine($this->shoppergroup, 'taxAmount', 'com_tsmart_ADMIN_CFG_PRICE_TAX_AMOUNT');
echo ShopFunctions::writePriceConfigLine($this->shoppergroup, 'unitPrice', 'com_tsmart_ADMIN_CFG_PRICE_UNITPRICE');
?>
		</table>

	</fieldset>
    </div>

    <input type="hidden" name="default" value="<?php 
echo $this->shoppergroup->default;
?>
" />
    <input type="hidden" name="tsmart_shoppergroup_id" value="<?php 
echo $this->shoppergroup->tsmart_shoppergroup_id;
?>
" />
<?php 
開發者ID:cuongnd,項目名稱:etravelservice,代碼行數:31,代碼來源:edit.php

示例4:

			<tr>
				<th></th>
				<th><?php 
echo JText::_('COM_VIRTUEMART_ADMIN_CFG_PRICES_LABEL');
?>
</th>
				<th><?php 
echo JText::_('COM_VIRTUEMART_ADMIN_CFG_PRICES_TEXT');
?>
</th>
				<th><?php 
echo JText::_('COM_VIRTUEMART_ADMIN_CFG_PRICES_ROUNDING');
?>
</th>
			</tr>
			<?php 
echo ShopFunctions::writePriceConfigLine($this->config, 'basePrice', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_BASEPRICE');
echo ShopFunctions::writePriceConfigLine($this->config, 'variantModification', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_VARMOD');
echo ShopFunctions::writePriceConfigLine($this->config, 'basePriceVariant', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_BASEPRICE_VAR');
echo ShopFunctions::writePriceConfigLine($this->config, 'discountedPriceWithoutTax', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_DISCPRICE_WOTAX');
echo ShopFunctions::writePriceConfigLine($this->config, 'priceWithoutTax', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_SALESPRICE_WOTAX');
echo ShopFunctions::writePriceConfigLine($this->config, 'taxAmount', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_TAX_AMOUNT');
echo ShopFunctions::writePriceConfigLine($this->config, 'basePriceWithTax', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_BASEPRICE_WTAX');
echo ShopFunctions::writePriceConfigLine($this->config, 'salesPrice', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_SALESPRICE');
echo ShopFunctions::writePriceConfigLine($this->config, 'salesPriceWithDiscount', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_SALESPRICE_WD');
echo ShopFunctions::writePriceConfigLine($this->config, 'discountAmount', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_DISC_AMOUNT');
?>
		</table>
	    </fieldset>
	</td></tr>
</table>
開發者ID:joselapria,項目名稱:virtuemart,代碼行數:31,代碼來源:default_pricing.php

示例5:

			<th><?php 
echo JText::_('COM_VIRTUEMART_ADMIN_CFG_PRICES_ROUNDING');
?>
</th>
		    </tr>
<?php 
echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'basePrice', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_BASEPRICE');
echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'variantModification', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_VARMOD');
echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'basePriceVariant', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_BASEPRICE_VAR');
echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'basePriceWithTax', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_BASEPRICE_WTAX');
echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'discountedPriceWithoutTax', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_DISCPRICE_WOTAX');
echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'salesPriceWithDiscount', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_SALESPRICE_WD');
echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'salesPrice', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_SALESPRICE');
echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'priceWithoutTax', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_SALESPRICE_WOTAX');
echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'discountAmount', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_DISC_AMOUNT');
echo ShopFunctions::writePriceConfigLine($this->shoppergroup->price_display, 'taxAmount', 'COM_VIRTUEMART_ADMIN_CFG_PRICE_TAX_AMOUNT');
?>
		</table>

	</fieldset>
    </div>

    <input type="hidden" name="default" value="<?php 
echo $this->shoppergroup->default;
?>
" />
    <input type="hidden" name="virtuemart_shoppergroup_id" value="<?php 
echo $this->shoppergroup->virtuemart_shoppergroup_id;
?>
" />
<?php 
開發者ID:joselapria,項目名稱:virtuemart,代碼行數:31,代碼來源:edit.php

示例6:

						<th><?php 
echo tsmText::_('com_tsmart_ADMIN_CFG_PRICES_LABEL');
?>
</th>
						<th><?php 
echo tsmText::_('com_tsmart_ADMIN_CFG_PRICES_TEXT');
?>
</th>
						<th><?php 
echo tsmText::_('com_tsmart_ADMIN_CFG_PRICES_ROUNDING');
?>
</th>
					</tr>
					<?php 
echo ShopFunctions::writePriceConfigLine($this->config->_params, 'basePrice', 'com_tsmart_ADMIN_CFG_PRICE_BASEPRICE');
echo ShopFunctions::writePriceConfigLine($this->config->_params, 'variantModification', 'com_tsmart_ADMIN_CFG_PRICE_VARMOD');
echo ShopFunctions::writePriceConfigLine($this->config->_params, 'basePriceVariant', 'com_tsmart_ADMIN_CFG_PRICE_BASEPRICE_VAR');
echo ShopFunctions::writePriceConfigLine($this->config->_params, 'discountedPriceWithoutTax', 'com_tsmart_ADMIN_CFG_PRICE_DISCPRICE_WOTAX', 0);
echo ShopFunctions::writePriceConfigLine($this->config->_params, 'priceWithoutTax', 'com_tsmart_ADMIN_CFG_PRICE_SALESPRICE_WOTAX', 0);
echo ShopFunctions::writePriceConfigLine($this->config->_params, 'taxAmount', 'com_tsmart_ADMIN_CFG_PRICE_TAX_AMOUNT', 0);
echo ShopFunctions::writePriceConfigLine($this->config->_params, 'basePriceWithTax', 'com_tsmart_ADMIN_CFG_PRICE_BASEPRICE_WTAX');
echo ShopFunctions::writePriceConfigLine($this->config->_params, 'salesPrice', 'com_tsmart_ADMIN_CFG_PRICE_SALESPRICE');
echo ShopFunctions::writePriceConfigLine($this->config->_params, 'salesPriceWithDiscount', 'com_tsmart_ADMIN_CFG_PRICE_SALESPRICE_WD');
echo ShopFunctions::writePriceConfigLine($this->config->_params, 'discountAmount', 'com_tsmart_ADMIN_CFG_PRICE_DISC_AMOUNT');
echo ShopFunctions::writePriceConfigLine($this->config->_params, 'unitPrice', 'com_tsmart_ADMIN_CFG_PRICE_UNITPRICE');
?>
				</table>
			</fieldset>
		</td>
	</tr>
</table>
開發者ID:cuongnd,項目名稱:etravelservice,代碼行數:31,代碼來源:default_pricing.php


注:本文中的ShopFunctions::writePriceConfigLine方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。