Move Qty Discount Box Position

V4.24, can anyone help in getting my qty discounts table to move to anywhere inside the highlighted area in photo please.



Thanks

john.

qty disc box.JPG

Dear John,



Could you please send us your website link?

You may send it in PM



Best regards, Alt-team.

  1. Open the design\themes\YOUR-tHEME\templates\common\product_data.tpl file and replace:



{if $product.prices}
{include file="views/products/components/products_qty_discounts.tpl"}
{/if}




with:



{capture name="qty_discounts_`$obj_id`"}
{if $product.prices}
{include file="views/products/components/products_qty_discounts.tpl"}
{/if}
{/capture}




2. Open the design\themes\YOUR_THEME\templates\blocks\product_templates\default_template.tpl file and add this code:



{assign var="qty_discounts" value="qty_discounts_`$obj_id`"}
{$smarty.capture.$qty_discounts nofilter}




before this line:



{hook name="products:brand"}




Hope this will help.

Thanks Guys, appreciated.



ALT TEam, you inbox is full



John

I have managed to move the box now, and have moved it right with .css but is it possible to close up this white space highlighted, or make the box “float” in some way



Thanks

John

white space.JPG

Update:

Ive managed to get it as per image below using the .css below in my_changes but for the life of e O cant get the title “Our qty discounts” to move above the table



url is Uneek UC101 Classic Poloshirt

.ty-product-prices {
margin: -40px 290px;
}

.ty-product-block__note {
position: absolute;
right: 0px;
top: 220px;
padding: 21px 10px 110px;
width: 320px;
line-height: 140%;
color: #798D8E;
}

.ty-qty-discount__table {
width: 300px;
margin-top: -60px;
min-width: 200px;
padding: 0px;
border: 1px solid #FFF;
position: absolute;
margin-left: 400px;
}




Any help please



Thanks

john

title.JPG