| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Bestsellers on ALL pages | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Bestsellers on ALL pages
Its great to have Bestsellers in different categories (depending on their category), but it would be nice to have them also on all other pages and not only home.
Bestsellers is an eyecathing sales pitch, and currently they do not show up when on Product Details, Help, Specials, Cart, register and additional Static pages. I would suggest the Bestsellers to pick up as shown on the HOME page to all previously mentioned pages as well.
__________________
It doesn\'t matter what is done... it is how it is done. ============================= XCart Version: 3.5.3 -> Dmcigars.com XCart Version: 4.1.3.... |
|||||||||
#2
|
|||||||||
|
|||||||||
I agree 100%
__________________
Web Design Web Design and Custom X-Cart Projects http://www.dataviking.com Mention the forums for discounts! x-cart Version 4.1.8 |
|||||||||
#3
|
|||||||||
|
|||||||||
Ok, I also found out how to get this done.
Just add this code: Code:
right after require "./auth.php";, on all scripts for pages you want them to appear on. Some pages to consider inserting this code (all under /customer directory): - cart.php - register.php - help.php - giftcert.php - product.php - error_message.php - pages.php - download.php - search.php
__________________
It doesn\'t matter what is done... it is how it is done. ============================= XCart Version: 3.5.3 -> Dmcigars.com XCart Version: 4.1.3.... |
|||||||||
#4
|
|||||||||
|
|||||||||
Excellent post. Bump to move to Custom Mods please.
|
|||||||||
#5
|
|||||||
|
|||||||
I've wanted to do this too and it seems to work well by adding the following at the bottom of auth.php
Code:
I actually haven't had any success with it showing up while browsing categories though, and it didn't make a difference by adding the include to every file. edit: This should have been obvious before, but I just realized it works only if there's ordered products within the categories you're browsing.
__________________
X-Cart 4.0.5 MySQL: 3.23.58 PHP 4.3.2 |
|||||||
#6
|
|||||||
|
|||||||
Leon,
I've tried what you did but it does not work for me. I cannot even display "Bestsellers." I am also using the same version as you are. I purchased another cart from x-cart and it was 4.0.1. But, it did not display as well. Patricia |
|||||||
#7
|
|||||||
|
|||||||
have you checked in modules section if best sellers option is enabled.
__________________
X-Cart Version 4.1.8 Hosted on Linux |
|||||||
#8
|
|||||||||
|
|||||||||
raxitpatel is right, if you dont even have bestsellers appearing, its because you havent enabled the module yet, try that.
__________________
It doesn\'t matter what is done... it is how it is done. ============================= XCart Version: 3.5.3 -> Dmcigars.com XCart Version: 4.1.3.... |
|||||||||
#9
|
|||||||||
|
|||||||||
I've done something similar on my site and have taken it a bit further. What I've done is if there are no best sellers available for that category, then I select the overall store bestsellers. That way your store look is uniform no matter what page you're on.
Just add this to modules/Bestsellers/bestsellers.php: Code:
Before: Code:
I did this for 3.5.x Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
#10
|
|||||||||
|
|||||||||
Carrie,
What file do we need to edit. Kind regards, Ricky
__________________
X-CART Gold version 4.0.14 & 4.1.11 Apache Version 1.3.29 (Unix) EWDHosting-Quality X-cart Hosting We will always sell you the right shoe and the left one is free. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|