| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Using Category to Display Image | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() My client wants to have a "Sale banner" appear in the description. Originally he wanted to appear over top of the Dogs Picture, but I told him that would be a little tough.
So I'm settling on adding each Dog to a Category and then I'd like to put an {if} statement in the product_details.tpl However, I think the $current_category.category is the wrong way to check for this. I've tried to use the Category number 100, but that didn't work either. What's the right coding? Code:
Thanks, Mike
__________________
X-Cart 4.3 Joomla Among other things ![]() |
|||||||
#2
|
|||||||
|
|||||||
![]() So it would seem that I need to do this in 3 different places.
I need it on the Best Sellers List, the list that's displayed when clickign on the Category and the actually product_details.tpl too. I figured out how to make it display on the product_details.tpl, but the cat$ only works for the current category. I need this display whether it's in the current category or not. 100 = Discount 28 = Puppies For Sale All the dogs on the site are in the Puppies For Sale category, but only the ones that are going to be on sale will be put in the Additional Group of Discount. They're all also in other additional categories. Code:
__________________
X-Cart 4.3 Joomla Among other things ![]() |
|||||||
|
|||
X-Cart forums © 2001-2020
|