I am using espresso-store 1.6.2, and working with the product modifiers. I've managed to get the dynamic product variable working for my price & sku in the main area (code below).
<div class="price_box">
<h3><span class="store_product_price">{price}</span><span class="ft">{per_unit}</span></h3>
<h4 style="text-decoration:none; font-size:13px;">Sku: #<strong class="store_product_sku">{sku}</strong></h4>
{modifiers}
<hr>
<label>Options: {modifier_name}</label><br/>
{if modifier_type == 'var' OR modifier_type == 'var_single_sku'}
<form class="store_product_form">
<select name="{modifier_input_name}" class="select" style="width:100%;">
{modifier_options}
<option value="{option_id}">
{option_name}
{if price_mod_val} {price_mod} {/if}
</option>
{/modifier_options}
</select>
{if:else}
<input type="text" name="{modifier_input_name}" />
{/if}
</form>
{/modifiers}
</div>
But when I try to use the <span class="store_product_price">{price}</span>
anywhere else on my site it doesn't work, I can use it multiple time but only within the "price_box" div.
I guess i'm just wondering if you can only use the Dynamic Product Variables css classes only once?
Thanks in advance!
{exp:store:product}
tag pair