| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Display Quantity and price table | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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.
__________________
JOHN - v.5.3.X biz, X-payment 3.X |
|||||||
#2
|
|||||||||
|
|||||||||
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:
and change to Code:
__________________
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 |
|||||||||
#3
|
|||||||
|
|||||||
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
__________________
JOHN - v.5.3.X biz, X-payment 3.X |
|||||||
#4
|
|||||||||
|
|||||||||
Re: Display Quantity and price table
_product_wholesale is array,
so reverse() is a built-in javascript method for arrays
__________________
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 |
|||||||||
#5
|
|||||||
|
|||||||
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***
__________________
JOHN - v.5.3.X biz, X-payment 3.X |
|||||||
#6
|
|||||||
|
|||||||
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:
__________________
JOHN - v.5.3.X biz, X-payment 3.X |
|||||||
|
|||
X-Cart forums © 2001-2020
|