| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Bestsellers modification | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Bestsellers modification
Hi everyone,
I am attempting to get 'Bestsellers' to display on every page of my store, and have modified it to display in the third column. I have basically use an {include file="modules/Bestsellers/bestsellers.tpl"} statement in home.tpl for where I want the bestsellers to display and it works flawlessly on certain pages, like the main store front or within the product catalogue. However when I navigate to gift certs, or advanced search it won't display anything from bestsellers.tpl and I can't figure out why. Can anyone provide some insight here?
__________________
- www.nerdseven.com - Gadgets & Gizmos from Out of This World - Sound Sensitive T-Shirts That Flash to the Beat of Music (http://www.tqualizer.com) X-Cart Version 4.1.10 |
|||||||||
#2
|
|||||||
|
|||||||
Re: Bestsellers modification
hello tqualizerman,
The bestseller menu displays bestsellers within the current category, that's why you're not able to see the product listings on certain pages. i.e. Try this post http://forum.x-cart.com/showthread.php?t=6073&highlight=bestseller which contains some mod that may do what you're looking for. Thanks,
__________________
Ennexus SEO, CMS, E-Commerce, Hosting X-cart Gold 4.1.x X-cart Gold 4.2.1 X-Affiliate Dynamic Image Generator, Tela Firma |
|||||||
#3
|
|||||||||
|
|||||||||
Re: Bestsellers modification
Thanks for the link.
After looking through the thread I think much of what was discussed is what I need to do, but the code seems to all be outdated. Has anyone got a bestsellers modification which can simply be plugged into any page to show the overall best selling products in the store (regardless of category)??
__________________
- www.nerdseven.com - Gadgets & Gizmos from Out of This World - Sound Sensitive T-Shirts That Flash to the Beat of Music (http://www.tqualizer.com) X-Cart Version 4.1.10 |
|||||||||
#4
|
|||||||
|
|||||||
Re: Bestsellers modification
No problem,
If you can't find a mod out there you can try the code on the 4th page of the post. PHP Code:
Add the above code underneath the following code PHP Code:
in files giftcert.php and search.php on the root folder. (* make sure you backup your file *) I've tested it on ver 4.1.9 and 4.1.10 it's showing up. Thanks,
__________________
Ennexus SEO, CMS, E-Commerce, Hosting X-cart Gold 4.1.x X-cart Gold 4.2.1 X-Affiliate Dynamic Image Generator, Tela Firma |
|||||||
#5
|
|||||||||
|
|||||||||
Re: Bestsellers modification
derrRrRrrr.....
I thought I was working with outdated code because until now I've only uncovered the .TPL files but now I see all of this is referring to the still-very-much-used .PHP files...fairly simple mod once you come to this realization. Thanks for pointing me in the right direction.
__________________
- www.nerdseven.com - Gadgets & Gizmos from Out of This World - Sound Sensitive T-Shirts That Flash to the Beat of Music (http://www.tqualizer.com) X-Cart Version 4.1.10 |
|||||||||
#6
|
|||||||||
|
|||||||||
Re: Bestsellers modification
Can anyone advise how to implement this code into a static page?
__________________
- www.nerdseven.com - Gadgets & Gizmos from Out of This World - Sound Sensitive T-Shirts That Flash to the Beat of Music (http://www.tqualizer.com) X-Cart Version 4.1.10 |
|||||||||
#7
|
|||||||||
|
|||||||||
Re: Bestsellers modification
Add this code to pages.php
Code:
Ensure that parsing of smarty tags in static pages is enabled. Include your bestsellers.tpl in your static page. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|