Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 presentation of products in Right/Left Nav
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

aggarale
Starting Member

Spain
5 Posts

Posted - May 17 2006 :  09:06:16  Show Profile  Reply with Quote
As can make so that the products come out aleatorily to the left and right.

Thanks.

Edited by - aggarale on May 19 2006 03:36:11

devshb
Senior Member

United Kingdom
1904 Posts

Posted - May 19 2006 :  06:39:40  Show Profile  Visit devshb's Homepage  Reply with Quote
I'm not sure if this is what you're after, but we've got an addon which can show chunks of products wherever you want in any format you want. We call it our "product showcase" addon:

http://www.bigyellowzone.com/shopexd.asp?id=105

If you buy/use it, please note step 7 in the readme file which gives extra notes on how to be able to use template logic from within panels (ie on any page) -



This step is only relevant if you want to display ShowCased products in your side panels. If you're only using ShowCased products in the main contents of specific asps (eg "default.asp") then you can skip this step.

If you want to show a set of ShowCased products in a side panel (i.e. on every page, for example in the top panel to show the latest 10 products), then you will need to do the following.

The ShowCase products logic uses the file "shopfileio.asp", which is not included in "shop$db.asp". This means that wherever you want to show ShowCased products then the main asp file which you are browsing must have "shopfileio.asp" included either in the file you are loading or in one of the files which is already included.

For this to work without having "shopfileio.asp" included twice in some of your asp files (so that you can use the ShowCase in your side panels) you need to:

1. Delete shopfileio.asp includes
Do a text search in all your files, and wherever you see this line you should delete that line:

<!--#include file="shopfileio.asp"-->

This will normally be in the following files, but you should check elsewhere too:

default.asp
index.asp
shopa_editdisplay.asp
shopa_generatehtml.asp
shopcategorylist.asp
shopcontent.asp
shopdisplaycategories.asp
shopdisplayproducts.asp
shopexd.asp
shopkitconfig.asp
shopmailformattemplate.asp
shopmakeanoffer.asp
shopmerge.asp
shopquestion.asp
shoptmptest.asp


2. Delete byz_showcase_products.asp includes
Do a text search in all your files, and wherever you see this line you should delete that line:

<!--#include file="byz_showcase_products.asp"-->

This will normally be in the following file, but you should check elsewhere too:

shop$db.asp


3. Add shopfileio.asp and byz_showcase_products.asp to shop$db.asp
At the bottom of your shop$db.asp file, you need to add the following lines:

<!--#include file="byz_showcase_products.asp"-->
<!--#include file="shopfileio.asp"-->

Once you've done this you can then use the ShowCase product functions anywhere in any of your side panels or in custom pages that you build without having to add the includes to the individual files.

Simon Barnaby
Developer
[email protected]
www.BigYellowZone.com
Web Design, Online Marketing and VPASP addons

Edited by - devshb on May 19 2006 06:43:22
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00