Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 Tips and Tricks - HALL OF FAME
 Best sellers by category
Author « Topic »  

Sinbad
ECT Moderator

USA
65936 Posts

Posted - 05/09/2016 :  15:52:16  
This neat tip was shared with me by Mike Beebe.

Browse to search.php or .asp, view the page source in the browser.
Look for <option value=""> just below that will be the section id's. Make note of these as we will be using them next to define which category to display for best sellers.

If you are using the vsadmin/includes for best sellers add the parameter there.
PHP - $crosssellsection="284";
ASP - crosssellsection=284

If you define the best sellers directly on a page you would add the parameter on the page like
<?php
$crosssellaction='bestsellers';
$crosssellsection="284";
$csnobuyorcheckout=TRUE;
$csnoshowdiscounts=TRUE;
$csnoproductoptions=TRUE;
?>
<?php include "vsadmin/inc/inccrosssell.php" ?>

ASP
<%
crosssellaction="bestsellers"
crosssellsection=284
%>
<!--#include file="vsadmin/inc/inccrosssell.asp"-->

Its possible to display more than one section by separating them with a comma 15,20,30 you can also have different multiple sections on the home page for best sellers.

I have had fun with it I hope you will also - Thank you Mike


Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates

Andy
ECT Moderator

95440 Posts

Posted - 05/11/2016 :  05:57:45  
That's a very neat tip, thanks Mike and Sinbad.

I have added it to our help page here on setting up home page products

http://www.ecommercetemplates.com/help/home-page-display.asp

Andy

Please feel free to review / rate our software
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000