Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 01-14-2011 06:32:12

robprotronica
Member
Registered: 12-16-2008
Posts: 105

Edit Featured Products

Hi,

We would like to ad some copy at the top of the featured products list - should not be too difficult if only I could find where this listing gets generated.

I have looked in what I think are the obvious places - maybe going blind on this one - but cant find anything.

Anyone know where this list gets put together so I can get it to drop some additional html in at the top.

Thanks

Rob

Offline

 

#2 01-14-2011 11:48:02

robprotronica
Member
Registered: 12-16-2008
Posts: 105

Re: Edit Featured Products

Found it!

There is an XHTML Include named "Product List Display" which generates all the product lists.

To insert the copy that we wanted I added the following after the "Print the product header" statement:-

Code:

// +--
// | Print the products header.
// +--

print '<div class="khxc_storehead">' . $header . '</div>' . $eol . $eol;

//+--
//| Print additional copy above "Featured Items" List
//+--


if ($header == 'GPSAffiliate Online Store Featured Items') {

     print '<p>Insert desired text or html here</p>' . $eol . $eol;

} // End of if statement.



// +--
// | Print sort options if we are not in the prodshow namespace and
// | we are viewing more than one product or we are within a product
// | result set.
// +--

all working fine so i thought I would post in case it is useful to anyone.

Rob

Offline

 

#3 01-15-2011 00:19:13

Design_Wholesale
Member
From: England!
Registered: 11-21-2008
Posts: 1104
Website

Re: Edit Featured Products

Thanks for sharing that. - You might want to request that it be added to the sticky that is being put together for tutorials and the like: https://forum.kryptronic.com/viewtopic. … 85#p135885

Offline

 

Board footer