| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
"From" Price In products_list.tpl | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
"From" Price In products_list.tpl
Hi,
We have a range of different products on the site we are building, some have no variants, some have variants where the price is the same and others have variants where the price is different. We are currently using: Code:
To display "From" - however as I mentioned, some products have variants, but the price is the same. Is there anyway around this? Thanks, Shane
__________________
X-Cart Version 4.50 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: "From" Price In products_list.tpl
Consider this code. I have not tested it but it seems sound.
PHP Code:
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#3
|
|||||||
|
|||||||
Re: "From" Price In products_list.tpl
Thanks for your help Mike, however I don't think the products_list.tpl has access to the $variants array and I can't see any php files where it is being generated in order to give it access to it?
Thanks again for your help. Cheers, Shane
__________________
X-Cart Version 4.50 |
|||||||
#4
|
|||||||||
|
|||||||||
Re: "From" Price In products_list.tpl
Quote:
I haven't read through this entire thread: http://forum.x-cart.com/showthread.php?t=52055 but it looks like it should shed some light on what needs to be done.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|