essential1 Posted November 16, 2006 Posted November 16, 2006 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 Quote
bkellum Posted November 18, 2006 Posted November 18, 2006 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. Quote Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE
Recommended Posts
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.