VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Customization
 Random products on frontpage (again)
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Steve2507
VP-ASP Expert

590 Posts

Posted - March 03 2008 :  06:34:13  Show Profile  Reply with Quote
I want to split test an idea I have about random products on the frontpage of the site. So I am going to set it up on a different site to our main site first.

The problem is how to call the random products.

All the settings in xfront........ are correct, but I can't get them to display. We use default.asp and have it call a number of other files so that we can change these smaller files easily.

The code for the default page is currently:
<%Option Explicit%>
<!--#include file="shop$db.asp"-->
<!--#include file="shoprandomproducts.asp"-->
<%InitializeSystem%>
<%shoppageheader%>
<!-- #include file="z_default_top.htm" -->
<!-- #include file="z_default_category_links.htm" -->
<%shoppagetrailer%>

I have tried to add
[Add_randomproducts]
and moved
<!--#include file="shoprandomproducts.asp"-->
but neither work. Any ideas anyone?

Thanks


Steve
Sex toys from a UK sex shop

carfin
VP-ASP Expert

United Kingdom
948 Posts

Posted - March 03 2008 :  07:54:58  Show Profile  Reply with Quote
Hi Steve,

you could create your own home page by altering the design and layout of tmp_default.htm then adding the call [Add_randomproducts] to the template wherever you want the products to display on the page.

Regards,

Carrol
www.deanston-electrical.co.uk
Go to Top of Page

Steve2507
VP-ASP Expert

590 Posts

Posted - March 03 2008 :  11:47:36  Show Profile  Reply with Quote
Hi Carrol,

I tried that but when I added it into the mix it didn't work?




Steve
Sex toys from a UK sex shop
Go to Top of Page

carfin
VP-ASP Expert

United Kingdom
948 Posts

Posted - March 04 2008 :  03:01:17  Show Profile  Reply with Quote
I don't use the random products feature, but I've just tested it by adding [Add-randomproducts] to the tmp_default.htm and it works fine, but I don't have any additional file calls in default.asp so it could be one of them that is causing a conflict. If you're sure that the xfront... fields are set correctly for random display, then this may be one for support to look at.

Regards,

Carrol
www.deanston-electrical.co.uk
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000