I just purchased this add-on and installed it. 2 minutes flat. Awesome!
See it in action here:
http://www.kingsleypress.com/devern-fromke.html
[quote name=‘kingsleypress’ timestamp=‘1311195058’ post=‘117807’]
I just purchased this add-on and installed it. 2 minutes flat. Awesome!
See it in action here:
Devern Fromke Books Available from Kingsley Press
[/quote]
[quote]If there were 10 of us and it cost $300, that would only be $30 each.[/quote]
And we even kept it under your budget Kingsley!
Glad to hear it works for you!
Ha ha. Nice one!
Also note that you can easily change the “As Low as:” text to whatever you prefer by simply searching for & changing the Lanquage Variable “lowest_price” ![]()
I may have found a little bug with this add-on in that it does not seem to be properly displaying the “Lowest Price” from your quantity discounts for customers assigned to usergroups with additional pricing discounts.
Other than this “possible issue” (still determining), this mod is a huge improvement in the way quantity discount pricing is displayed in our store.
[quote name=‘Struck’ timestamp=‘1311272215’ post=‘117908’]
I may have found a little bug with this add-on in that it does not seem to be properly displaying the “Lowest Price” from your quantity discounts for customers assigned to usergroups with additional pricing discounts.
Other than this “possible issue” (still determining), this mod is a huge improvement in the way quantity discount pricing is displayed in our store.
[/quote]
You can redownload the addon and upload it again to see this feature works. It does support user groups. ![]()
[quote]You can redownload the addon and upload it again to see this feature works. It does support user groups.
[/quote]
Ok, thank you for the reply!
I knew that it was to be part of the original functionality, so I will re-upload and give it a whirl! ![]()
[quote name=‘Struck’ timestamp=‘1311273859’ post=‘117914’]
Ok, thank you for the reply!
I knew that it was to be part of the original functionality, so I will re-upload and give it a whirl! ![]()
[/quote]
Make sure to re-download the addon on our website. ![]()
[quote name='johnbol1' timestamp='1309504522' post='116066']
are you looking for something like this, if so it was ; an include of the product qty discounts.tpl in to the product data.tpl file I think
I will check for you if it what you are looking for
John
[/quote]
that is exactly what I need John, could you check it for us to be sure. I've been playing with templates for the last hour and still can't find where to put product qty discounts.tpl for them to show up on product list.
thank you!!!
[quote name='johnbol1' timestamp='1309504522' post='116066']
are you looking for something like this, if so it was ; an include of the product qty discounts.tpl in to the product data.tpl file I think
I will check for you if it what you are looking for
John
[/quote]
I'm looking for this exactly too. Does anyone have instructions on how to implement this?
Thank you.
[quote name='johnbol1' timestamp='1309504522' post='116066']
are you looking for something like this, if so it was ; an include of the product qty discounts.tpl in to the product data.tpl file I think
I will check for you if it what you are looking for
John
[/quote]
John,
Could you advise what change you made to product_data to make the discount show on th category page? I have been digging through the product_data file and cant figure it out.
Initailly it was a product data.tpl and a few others altered for this but Nastena showed me this way as a hook.
controllers/customer/categories.php
add this
for ($i = 0; $i < sizeof($products); ++$i) {
$product_id = $products[$i]['product_id'];
$products[$i]['prices'] = db_get_array("SELECT price, lower_limit, usergroup_id FROM ?:product_prices WHERE product_id = ?i ORDER BY usergroup_id, lower_limit", $product_id);
}
below
this
$selected_layout = fn_get_products_layout($_REQUEST);
create a folder for hook
/customer/addons/my_changes/hooks/products
then add a product_multicolumns_list.post.tpl file in that folder
with this content
{$lang.text_qty_discounts}:{foreach from=$product.prices item="price"}
{if in_array($price.usergroup_id, $auth.usergroup_ids) && $product.base_price != $price.price}
{assign var="var" value=1}
{/if}
{/foreach}
{if $product.prices|@sizeof > 1 && $var == 1}
{$lang.quantity}
{foreach from=$product.prices item="price"}
{if in_array($price.usergroup_id, $auth.usergroup_ids)}
{$price.lower_limit}+
{/if}
{/foreach}
{$lang.price}
{foreach from=$product.prices item="price"}
{if in_array($price.usergroup_id, $auth.usergroup_ids)}
{include file="common_templates/price.tpl" value=$price.price}
{/if}
{/foreach}
{/if}
Then clear cache etc. this was for a 2.1.4 installation and if you are using different names or layouts then adjust your hook names accordingly.
John
Thanks I'll give it a try
[quote name='solesurvivor' timestamp='1338314297' post='137592']
Thanks I'll give it a try
[/quote]
you end up with? can write a detailed path for the files?
thanks
I had to write a complete addon for this actually. It wasn't horrible but took a bit to figure out.