pricehigh
[pricehigh, text(, subtext, price1, price2)]
Display left-aligned highlighted text, grey subtext and 2 highlighted prices right-aligned.
Parameters
text - text to be displayed first
subtext - optional text to be displayed next
price1 - optional text to be displayed on the right
price2 - optional text to be displayed on the right
See Also
[pricehead][priceline][colorsection]content/system/classes Examples
Example#1 used in a colorsection
[colorsection]
[pricehigh,Product Description]
[colorsectionend]
Output:
Example#2 used in a colorsection with subtext
[colorsection]
[pricehigh,Product Description,(extra)]
[colorsectionend]
Output:
Product Description (extra)
Example#3 used in a colorsection with prices
[colorsection]
[pricehigh,Product Description,[],£9.00]
[pricehigh,Product Description,[],£6.00,£10.00]
[colorsectionend]
Output:
Product Description
[pound]9.00
Product Description
[pound]10.00
[pound]6.00
Example#4 creating a pricelist
[colorsection]
[pricehead,Product Category,(description),single,pack]
[priceline,Product Description,£5.00,£9.00]
[priceline,Product Description,£6.00,£10.00]
[pricehigh,Sub-Category]
[priceline,Product Description,£6.00,[]]
[priceline,Product Description, ,£10.00]
[pricehigh, , ,case,pallet]
[priceline,Product Description,£60.00,£500.00]
[colorsectionend]
include in content/system/classes
.PriceHead {
color:[var,colors.white];
}
.PriceHigh {
color:[var,colors.orange];
}
.PriceSub {
color:[var,colors.orange];
}
.PriceLine {
color:[var,colors.grey];
}
Output:
Product Category
(description)pack
single
Product Description
£9.00
£5.00
Product Description
£10.00
£6.00
Sub-CategoryProduct Description
[
£6.00
]
Product Description
£10.00
Product Description
£500.00
£60.00
Notes
for use in a [section] override the color in the PriceHigh class in content/system/classes
to override the Price colours use: PriceHead, PriceHigh, PriceSub, PriceLine classes in content/system/classes