| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
recommended $list_price not displaying | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I'm hoping someone can help me figure out why this snippet won't display on the recommends.tpl page
PHP Code:
Any help is appreciated. Thx
__________________
4.1.7 |
|||||||
#2
|
|||||||
|
|||||||
![]() This isn't a bug, so moving to Template Editing. You need to look at the code - the array called on the recommends page is not the same as the product page, so you can't just copy code. You need to use the same value format that is used to call the links and product names.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Would you know what file i would edit to modify the array?
Thanks, E Quote:
__________________
4.1.7 |
|||||||
#4
|
|||||||
|
|||||||
![]() You just need to call the correct code in the template you are editing. Look at the way the products are called, then copy that format for the price.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() The product price displays using the following code in the recommends:
${$product.price} I try to display the list price using {$product.list_price} and it doesn't display anything. Is that what you mean? Thx,
__________________
4.1.7 |
|||||||
#6
|
|||||||||
|
|||||||||
![]() Is the [product] part populated with an item when you are passing it through?
Code:
ie. does printing {$products[product].list_price} produce a price on the same .tpl from which you are calling from?
__________________
Doms kube v4.1.9 |
|||||||||
#7
|
|||||||||
|
|||||||||
![]() The only price I can see from the recommends array is taxed price...
Code:
__________________
Doms kube v4.1.9 |
|||||||||
#8
|
|||||||
|
|||||||
![]() No, {$products[product].list_price} does not display the list price.
{$recommends[num].productid} displays the product IDIs there some other options that I can try? Thx! Quote:
__________________
4.1.7 |
|||||||
#9
|
|||||||
|
|||||||
![]() $recommends[num].list_price
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#10
|
|||||||
|
|||||||
![]() This doesn't work either
Quote:
__________________
4.1.7 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|