Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't find STS file to edit for Shop by Price


essential1

Recommended Posts

Hi

 

am just putting together an oscommerce package which consists of several contributions, including STS.

 

I have come to add Shop by Price but am unable to locate one of the files to edit if running STS.

 

Edit "/includes/sts_display_out.php" adding after "Create custom boxes" for create a new variable for use in your html template:

 

Any thoughts or suggestions would be welcome

 

Many Thanks

 

Brian

Link to comment
Share on other sites

Hi

 

am just putting together an oscommerce package which consists of several contributions, including STS.

 

I have come to add Shop by Price but am unable to locate one of the files to edit if running STS.

 

Edit "/includes/sts_display_out.php" adding after "Create custom boxes" for create a new variable for use in your html template:

 

Any thoughts or suggestions would be welcome

 

Many Thanks

 

Brian

Brian,

 

Ignore the STS instructions included in the Shop by Price contribution (it is for older versions of STS).

If you are using STS version 4 and above, Install the contribution normally and then do the following:

 

The code below will create a sts user tag for the infobox "shop_by_price.php" and the tag will be "$shop_price":

 

 

$sts->start_capture();
  require(DIR_WS_BOXES . 'shop_by_price.php');
  $sts->stop_capture('shop_price', 'box');

You will save this code just before the last ?> in the includes/modules/sts_inc/sts_user_code.php file.

Bill Kellum

 

Sounds Good Productions

STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

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.

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...