| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Duplicate price with custom skin modification | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Duplicate price with custom skin modification
I am attempting to hide the price, if the product is not available. This works as I upload the following file with this content;
"custom_skin/default/en/items_list/product/parts/common.product-price.tpl" Code:
I mentioned this worked, but this is until I perform a rebuild cache for some reason. After this time it will still hide the price for products not available, however it will display two prices in the thumbnails and product page. It could be some oversight I am missing. Please advise.
__________________
Richard Ultimate 5.4 testing |
|||||||||
#2
|
|||||||||
|
|||||||||
Re: Duplicate price with custom skin modification
Richard,
Can you post the entire contents of your common.product-price.tpl file?
__________________
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: Duplicate price with custom skin modification
Code:
__________________
Richard Ultimate 5.4 testing |
|||||||||
#4
|
|||||||||
|
|||||||||
Re: Duplicate price with custom skin modification
Richard,
Try removing the @ListChild directives from the comments. Just remove the entire lines, all 5 of them. Then rebuild cache and see what you get. I think the original template is assigning itself to the lists, and then your modified template is reassigning it.
__________________
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. |
|||||||||
|
#5
|
|||||||||
|
|||||||||
Re: Duplicate price with custom skin modification
That worked, thanks a lot Mike
__________________
Richard Ultimate 5.4 testing |
|||||||||
|
|||
X-Cart forums © 2001-2020
|