| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Hiding product weights and inventory quantities | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Hiding product weights and inventory quantities
By default X-Cart 5 shows all product weights and inventory quantities. I would like to hide this from the storefront. Anyone know how this can be done? Is there a module or somewhere in the template files I can hide the code that displays these values?
|
|||||||||
#2
|
|||||||
|
|||||||
Re: Hiding product weights and inventory quantities
there may be a better way, but this worked for me
to hide the weight, using custom skins module copy skins\default\en\product\details\common_attributes \common.product-attributes.weight.tpl to skins\custom_skin\default\en\product\details\commo n_attributes\common.product-attributes.weight.tpl and comment out the template code Code:
I'm not using inventory, so I'd guess for inventory maybe do the same with this template skins\default\en\product\details\parts\common.stoc k.tpl
__________________
SignTorch Vector Graphics dropping xc4.6.x, tested xc5 (FAIL) |
|||||||
|
#3
|
|||||||||
|
|||||||||
Re: Hiding product weights and inventory quantities
Thank you. I was able to hide the product quantities through the template files.
|
|||||||||
#4
|
|||||||
|
|||||||
Re: Hiding product weights and inventory quantities
You can also do it with custom css in the back of xcart with
Code:
This way you don't have to modify any files, which makes upgrading a little easier.
__________________
X-Cart 4.6.4 Gold Plus X-Cart 5.2.4 Free |
|||||||
#5
|
|||||||
|
|||||||
Re: Hiding product weights and inventory quantities
Hanypa,
Your way works, but that hides the product description too. I'm interersted in only hiding the Weight & SKU. Perhaps a combination of Custom Skin and your CSS? Or is there a way to build a Module to do this?
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#6
|
|||||||
|
|||||||
Re: Hiding product weights and inventory quantities
Quote:
Code:
__________________
X-Cart Business 5.2.6 |
|||||||
#7
|
|||||||||
|
|||||||||
Re: Hiding product weights and inventory quantities
Quote:
Just add this to 'Custom CSS': Code:
__________________
Best regards, Igor Pudovkin X-Cart hosting team |
|||||||||
#8
|
|||||||
|
|||||||
Re: Hiding product weights and inventory quantities
Quote:
Also, the weight also appears in the cart, and I'd like to hide it there as well. Any idea how to do that?
__________________
Business 5.2.13 |
|||||||
#9
|
|||||||
|
|||||||
Re: Hiding product weights and inventory quantities
Idk what to tell you, I just upgraded the site and mine is working fine.
__________________
X-Cart 4.3 Joomla Among other things |
|||||||
#10
|
|||||||
|
|||||||
Re: Hiding product weights and inventory quantities
It works now. Not sure what was the problem. But the shopping cart still shows weight. How do I hide it from there as well?
__________________
Business 5.2.13 |
|||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|