![]() |
Display Quantity and price table
I need some guidence, I am going to use 4.2x and I am trying to see if there's any way to display the price chart in an Ascending order. I would like it to show as follows:
Eg. 72+ $0.5 36+ $0.9 12+ $1.05 I tried to enter the price and quantity in the product mgt. in this sequence, but it will revert back to display 12+ on the 1st row, 36+ on 2nd row. Any help will be much appreciated. |
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 ''} and change to Code:
{if $product_wholesale ne ''} |
Re: Display Quantity and price table
Quote:
Thanks for your input, since I am still testing my own site, there's no way to tell if it will work till the xcart team switch my version to v4.2. My original thought was also changing the tpl in skin1/customer/products_prices.tpl , but I didnt see anything. Anyways, you are the man! Question, _product_wholesale.reverse() is this a built in function or I have missed something? Thanks for your input! Thanks |
Re: Display Quantity and price table
_product_wholesale is array,
so reverse() is a built-in javascript method for arrays |
Re: Display Quantity and price table
Gotcha, thanks for your input. Will let you know if it works after the final upgrade. ***cross my fingers***
|
Re: Display Quantity and price table
Just want to Thank Victor for this soloution, finally got the 4.2 sorta running but the code works like a charm. Still more things to fix. Thanks Vic
Quote:
|
All times are GMT -8. The time now is 02:37 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.