| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Commenting Out Weight (easy question) | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Commenting Out Weight (easy question)
I want to remove the weight from being seen on my storefront, but still use it for shipping. It looks like through a search of these forums that commenting that out of my product_details.tpl file is the best way to go.
However, I've tried a couple of different ways and it's not working. I'm guessing this is the code I need to comment out: Code:
I've put // in front of every line, but that just gives me a whole bunch of // on my template page. Ditto for /* */ bracketing the code. Silly question, I know, but can someone help? Thanks!
__________________
X-Cart 4.4.1 add'l mods - Download expander |
|||||||
#2
|
|||||||
|
|||||||
Re: Commenting Out Weight (easy question)
To comment out html use <!-- html here -->
__________________
------------------------------------------------ Darren |
|||||||
#3
|
|||||||||
|
|||||||||
Re: Commenting Out Weight (easy question)
This is smarty code not html (well it does have html code as well). Use
{* code here *} to comment out. If you use html comments the code will not be executed but will show in the html source code
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#4
|
|||||||
|
|||||||
Re: Commenting Out Weight (easy question)
Thanks, Steve. That worked perfectly!
__________________
X-Cart 4.4.1 add'l mods - Download expander |
|||||||
#5
|
|||||||
|
|||||||
Re: Commenting Out Weight (easy question)
Works on 4.4.3
edit the product.tpl page of the skin you are using.
__________________
Austin! X-Cart 4.7.7 (old) X-Cart Business 5.3.6.8 (new) |
|||||||
|
|||
X-Cart forums © 2001-2020
|