当前位置: 首页>>代码示例>>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;未经允许,请勿转载。