| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
New Arrivals - Stop from listing on Static Pages | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() How can I stop the new arrivals from listing on Category pages? I still want the module to work, but listing on Category pages is throwing off some SEO stuff.
__________________
X-Cart 4.3 Joomla Among other things ![]() |
|||||||
#2
|
|||||||||
|
|||||||||
![]() I don't see a New Arrivals block on any of your static pages.
Also I checked on my stock X-Cart 5.2.15 and it appears that New Arrivals do not appear on static pages by default.
__________________
Best regards, Igor Pudovkin X-Cart hosting team |
|||||||||
#3
|
|||||||
|
|||||||
![]() Well apparently I screwed this up. The SEO guy was sending me the link for an empty category. I thought it was a Static page. Either way, how can I remove that bit of code from the Category pages?
__________________
X-Cart 4.3 Joomla Among other things ![]() |
|||||||
#4
|
|||||||||
|
|||||||||
![]() There is no setting to configure it, but you can tweak the visibility of the block from a custom module.
You should "decorate" the getAllowedTargets() method of \XLite\Module\CDev\ProductAdvisor\View\NewArrivals class and make it always remove "category" from the parent's result. I.e. it should be something like this: PHP Code:
You can find the documentation on creating custom modules here: http://kb.x-cart.com/display/XDD/Step+1+-+creating+simplest+module
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful ![]() Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
|||
X-Cart forums © 2001-2020
|