Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need Assistance With Featured Products Contribution Install


Guest

Recommended Posts

Hello,

I'm trying to get the Featured Products contribution installed. I get to step 15 in the instructions, but get stuck

Step 15: Only necessary if it STS_Template uses. If you have installed the contribution STS in your catalog:

15.1 Add the following lines to /catalog/includes/sts_template.html

$featuredbox

15.2 Add the following lines to /catalog/includes/column_right.php or column_left.php

   require(DIR_WS_BOXES . 'featured.php');

 // STS: ADD
 $sts_block_name = 'featuredbox';
 require(STS_RESTART_CAPTURE);
 // STS: EOADD

15.3 Add the following lines to /catalog/includes/sts_display_output.php

$template['featuredbox'] = strip_unwanted_tags($sts_block['featuredbox'], 'featuredbox');

and further down

echo $sts_block['featured'];

 

Basically I can't figure out where to put the items in 15.3. I am using STS, so I know what files to edit, but if I place them anywhere it breaks the store

I'm trying to replace the New Products box with a Featured Products box.

 

Any help would be appreciated.

Thanks

-DigitalOldschool

Edited by DigitalOldschool
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...