Hallo, ich möchte mir gerne den Angebotspreis im listitem_infogrid.tpl anders formatieren. Leider bekomme ich nicht die Anzeige für den Originalpreis und den Angebotspreis in eigene div-Container um Sie in der Listenansicht anders zu formatieren mit css. Könnte mir jemand dabei unterstützen, ob es doch eine Möglichkeit gibt.
<div class="priceBox">
<div class="content">
[{if $oViewConf->getShowCompareList()}]
[{oxid_include_dynamic file="widget/product/compare_links.tpl" testid="_`$iIndex`" type="compare" aid=$product->oxarticles__oxid->value anid=$altproduct in_list=$product->isOnComparisonList() page=$oView->getActPage()}]
[{/if}]
[{block name="widget_product_listitem_infogrid_price_value"}]
[{if $product->getPrice()}]
<div class="price">
<div class="original_preis">
[{if $product->isRangePrice()}]
[{ oxmultilang ident="PRICE_FROM" }]
[{if !$product->isParentNotBuyable() }]
[{assign var="oPrice" value=$product->getMinPrice() }]
[{else}]
[{assign var="oPrice" value=$product->getVarMinPrice() }]
[{/if}]
[{else}]
<div class="original_preis_2">
[{if !$product->isParentNotBuyable() }]
[{assign var="oPrice" value=$product->getPrice() }]
[{else}]
[{assign var="oPrice" value=$product->getVarMinPrice() }]
[{/if}]
</div>
[{/if}]
<div class="original_preis_3">
[{oxprice price=$oPrice currency=$oView->getActCurrency()}]
[{if $oView->isVatIncluded() }]
[{if !($product->hasMdVariants() || ($oViewConf->showSelectListsInList() && $product->getSelections(1)) || $product->getVariants())}]*[{/if}]
[{/if}]
</div>
</div>
</div>
[{/if}]
[{block name="widget_product_listitem_infogrid_price"}]
[{oxhasrights ident="SHOWARTICLEPRICE"}]
[{if $product->getTPrice()}]
<span class="oldPrice">
[{ oxmultilang ident="REDUCED_FROM_2" }]
<del>[{oxprice price=$product->getTPrice() currency=$oView->getActCurrency()}]</del>
<span class="angebot">
[{ if $product->oxarticles__oxtprice->value > 0 }]
Sie sparen
[{assign var="uvp" value=$product->getTPrice() }][{assign var="price" value=$product->getPrice() }]
[{math equation="(( z / x ) * ( x - y))" x=$uvp->getBruttoPrice() y=$price->getBruttoPrice() z=100 format="%.0f"}]%[{/if}]
</span>
[{/if}]
[{/block}]
[{if $product->getUnitPrice()}]
<span id="productPricePerUnit_[{$iIndex}]" class="pricePerUnit">
[{$product->getUnitQuantity()}] [{$product->getUnitName()}] | [{oxprice price=$product->getUnitPrice() currency=$oView->getActCurrency() }]/[{$product->getUnitName()}]
</span>
[{elseif $product->oxarticles__oxweight->value }]
<span id="productPricePerUnit_[{$iIndex}]" class="pricePerUnit">
<span title="weight">[{ oxmultilang ident="WEIGHT" suffix="COLON" }]</span>
<span class="value">[{ $product->oxarticles__oxweight->value }] [{ oxmultilang ident="KG" }]</span>
</span>
[{/if}]
[{/oxhasrights}]
[{/block}]
</div>
</div>