View Single Post
  #1  
Old 05-06-2012, 07:50 AM
 
mcpilot mcpilot is offline
 

Advanced Member
  
Join Date: Dec 2004
Location: Cincinnati
Posts: 68
 

Default Need Wholesale Prices to show on Prodicts LIST page

Folks,

I need the wholesale pricing to show on the list page.

If you look here: http://208.84.152.25/~polybagt/03X03-1-mil-Flat-Poly-Bag/

you will see the wholesale bulk pricing. I need that same list to show up here: http://208.84.152.25/~polybagt/1-mil/

It you look at product_details.tpl, you find this: {include file="customer/main/product_prices.tpl"} which displays bulk prices.

Simply moving taht code to products_list.tpl does not work.

After reading several threads on this I tried adding this:

{include file="customer/main/product_prices.tpl" product_wholesale=$product.wholesale} to products_list.tpl.

Still no luck.

I then tried this:

##########################################
# Display Lowest Wholesale Prices Start
if (!empty($products) && !empty($active_modules["Wholesale_Trading"]))
foreach($products as $i=>$p) {
$productid=$p["productid"];
include $xcart_dir."/modules/Wholesale_Trading/product.php";
if ($wresult)
$products[$i]["wholesale"] = $wresult;
}
# Display Lowest Wholesale Prices End
##########################################

to products.php

Still no luck.

Seems like it ought to be easier than this. I need to display these wholesale prices on the list page.

Can someone assist?
__________________
thebookfarminc.com
Version 4.7.0
Reply With Quote