Qty Discount

I want to show something on qty discount like



5+ $25

10+ $24

20+ $23

30+ Contact Us



How can i write ?

Is this what you are after?



[url]http://forum.cs-cart.com/showthread.php?t=11331&highlight=quantity+discount[/url]



Bob

Nope, i want to show like if someone buy 50+ qty they have to contact me .



Quantity - 50+

---------------------------------

Price - Contact Us



I hope you understand

Sorry, missed that part.



Maybe do something like set the highest bracket price in the “Quantity discount” tab to 999,999.99.



Then in /customer/views/products/components/products_qty_discounts.tpl, test for that value and substitute “Contact us”.



Bob

[quote name=‘jobosales’]Sorry, missed that part.



Maybe do something like set the highest bracket price in the “Quantity discount” tab to 999,999.99.



Then in /customer/views/products/components/products_qty_discounts.tpl, test for that value and substitute “Contact us”.



Bob[/QUOTE]



Sorry, but where to add ?


```php

{$lang.text_qty_discounts}:








{foreach from=$product.prices item="price"}

{/foreach}




{foreach from=$product.prices item="price"}

{/foreach}

{$lang.quantity} {if $product.min_qty > 0 }{$product.min_qty}{else}1{/if}+ {$price.lower_limit}+
{$lang.price} {include file="common_templates/price.tpl" value=$product.price} {include file="common_templates/price.tpl" value=$price.price}
```

It should be this line:

{[B]$price.lower_limit[/B]}+



You will need to test for the value and substitute the “Contact us” ( you should probably use a language variable). Look at this for clues:

{if $product.min_qty > 0 }{$product.min_qty}{else}1{/if}+



Bob