View Single Post
  #2  
Old 02-27-2009, 01:17 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: Display Quantity and price table

Whoa... wasted time to research that skin1/customer/products_prices.tpl actually does nothing since the working horse there is javascript.

Find in your skin1/modules/Product_Options/check_options.tpl lines
Code:
{if $product_wholesale ne ''} {foreach from=$product_wholesale item=v key=k} _product_wholesale[{$k}] = [{$v.quantity|default:0},{$v.next_quantity|default:0},{$v.taxed_price|default:$product.taxed_price}, [], {$v.price|default:$product.price}]; {if $v.taxes ne ''} {foreach from=$v.taxes item=t key=kt} _product_wholesale[{$k}][3][{$kt}] = {$t|default:0}; {/foreach} {/if} {/foreach} {/if}


and change to
Code:
{if $product_wholesale ne ''} {foreach from=$product_wholesale item=v key=k} _product_wholesale[{$k}] = [{$v.quantity|default:0},{$v.next_quantity|default:0},{$v.taxed_price|default:$product.taxed_price}, [], {$v.price|default:$product.price}]; {if $v.taxes ne ''} {foreach from=$v.taxes item=t key=kt} _product_wholesale[{$k}][3][{$kt}] = {$t|default:0}; {/foreach} {/if} {/foreach} _product_wholesale.reverse(); {/if}
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote