| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
display customer reviews out of tabs | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
display customer reviews out of tabs
Is there a way to pull customer reviews out of tabs on product page?
I have tabs enabled and do like having "Send to friend", etc. in tabs but would like to display reviews below tabs. I looked in the module files but didn't see where it tells it to display in tabs, product_details template only says "if tabs are enabled" than tabs_ui template uses "foreach" statement to display extra items (including reviews obviously). Is this controlled somewhere in core files? Anyone knows which files? Thanks.
__________________
x-cart 4.4.2 Gold |
|||||||
#2
|
|||||||||
|
|||||||||
Re: display customer reviews out of tabs
in common_files/customer/main/product.tpl comment out
Code:
And add this below this code.... Code:
Hope that works
__________________
If you need professional help on your x-cart site or any website. Feel free to PM me or Skype me to discuss your project. |
|||||||||
|
#3
|
|||||||
|
|||||||
Re: display customer reviews out of tabs
Thanks but that takes all 3 modules out of tabs, I'd like to keep "Send to friend" and "Recommended products" in tabs but display only reviews separate/below tabs.
Is there a way to control individual modules to go in tabs or not? Which file determines this? Like I said I looked in the Reviews module files but did not see anything so it must be somewhere in core files I assume. I guess I could hard code ui_tabs and just include modules I want to show but I'm not sure what other modules can be displayed in tabs if enabled so I'd like to keep original ui_tabs code but modify Reviews module itself (or wherever the code for it is) to not display in tabs, if possible. Thanks.
__________________
x-cart 4.4.2 Gold |
|||||||
#4
|
|||||||||
|
|||||||||
Re: display customer reviews out of tabs
Unfortunately QT hard coded the tabs. You need to modify include/product_tabs.php and comment out the code for recommended products
Code:
then in product.tpl add Code:
below the tabs code
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#5
|
|||||||
|
|||||||
Re: display customer reviews out of tabs
Thank you Steve
I was wondering where that code is So I guess it might be better to just hard code tabs content in tabs template (in the theme) to keep core files not edited/hacked as much as possible for future upgrading? Does that makes sense or does it matter, I guess as long as I keep notes on which files were edited should be ok. What do you suggest? Hack tpl files if possible and if not than hack core php files? Thanks.
__________________
x-cart 4.4.2 Gold |
|||||||
#6
|
|||||||
|
|||||||
Re: display customer reviews out of tabs
Powertrain,
WinMerge is a useful tool to compare template files and easily find the changes you've made. It was mentioned in another thread here.
__________________
X-Cart Platinum 4.6.5 |
|||||||
|
#7
|
|||||||
|
|||||||
Re: display customer reviews out of tabs
Well I think I have all info I needed, Thanks for your help
__________________
x-cart 4.4.2 Gold |
|||||||
#8
|
|||||||||
|
|||||||||
Re: display customer reviews out of tabs
Sorry, I miss read but looks like you got it
__________________
If you need professional help on your x-cart site or any website. Feel free to PM me or Skype me to discuss your project. |
|||||||||
|
|
|||
X-Cart forums © 2001-2020
|