Ver 3.0.6
Can anyone help me locate the product qty discount box to upper right of template. I have tried varying positions but it either splits up other sections such as product name or doesn't sit correctly at all.
Part of the existing code is below, but still isn't quite right, i am trying to get it to float right or sit where indicated in attached image.
see {[john]}
Thanks
john
```php
{script src=“js/exceptions.js”}
{hook name="products:view_main_info"}
{if $product}
{assign var="obj_id" value=$product.product_id}
{include file="common_templates/product_data.tpl" product=$product separate_buttons=$separate_buttons|default:true but_role="big" but_text=$lang.add_to_shopping_cart}
{if !$no_images}
{include file="views/products/components/product_images.tpl" product=$product show_detailed_link="Y"}
{/if}
{assign var="form_open" value="form_open_`$obj_id`"}
{$smarty.capture.$form_open}
{if !$hide_title}
{$product.product|unescape}
{/if}{assign var="rating" value="rating_`$obj_id`"}{$smarty.capture.$rating}
{assign var="sku" value="sku_$obj_id"}{$smarty.capture.$sku}
{assign var="old_price" value="old_price_`$obj_id`"}
{assign var="price" value="price_`$obj_id`"}
{assign var="clean_price" value="clean_price_`$obj_id`"}
{assign var="list_discount" value="list_discount_`$obj_id`"}
{assign var="discount_label" value="discount_label_`$obj_id`"}
{if $smarty.capture.$old_price|trim || $smarty.capture.$clean_price|trim || $smarty.capture.$list_discount|trim}
{if $smarty.capture.$old_price|trim}{$smarty.capture.$old_price} {/if}
{/if}
{if !$smarty.capture.$old_price|trim || $details_page}
{/if}
{$smarty.capture.$price}
{if !$smarty.capture.$old_price|trim || $details_page}
{if $smarty.capture.$old_price|trim || $smarty.capture.$clean_price|trim || $smarty.capture.$list_discount|trim}
{$smarty.capture.$clean_price}
{$smarty.capture.$list_discount}
{*[john]*}
{if $show_discount_label && $smarty.capture.$discount_label|trim && $product.prices}
{$smarty.capture.$discount_label}
{include file="views/products/components/products_qty_discounts.tpl"}
{else $product.price && !$show_discount_label}
{include file="views/products/components/products_qty_discounts.tpl"}
{/if}
{*[/john]*}
{/if} ```