Custom Price Calculation
These attributes are meant to be combined in order to accurately calculate more complex prices outside of the cart, for example, when advertising prices in a Product’s description.
Base Price - [data-bp="{BasePrice}"]
This attribute specifies the {BasePrice} (or price-per-unit) to be used when doing price calculations.
Quantity - [data-quantity="{Quantity}"]
This attribute specified the {Quantity} (or number of units) to be used when doing price calculations. If no quantity is specified (or the attribute is omitted), then the default value of 1 will be assumed.
Example
<div> Normally <span data-ge-price>$10</span>, Buy 10 at <span data-bp="5">$5</span> each, Totaling <span data-bp="5" data-quantity="10">$50</span> </div>