osCmax v2.5 User Manual
Results 1 to 3 of 3

X-sell and STS - do they not get on together?

This is a discussion on X-sell and STS - do they not get on together? within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I've designed my site using STS and have since slowly added a couple of contributions. I've got the x-sell contribution ...

      
  1. #1
    New Member
    Join Date
    Apr 2005
    Posts
    8
    Rep Power
    0


    Default X-sell and STS - do they not get on together?

    I've designed my site using STS and have since slowly added a couple of contributions. I've got the x-sell contribution working which is a cross selling modification. What I cant do is get STS to pick it up in my product_info template.

    I found this code at the bottom of the sts_product_info.php file and uncommented it, i also replaced the last bit of code to FILENAME_XSELL_PRODUCTS to call the x-sell variable:

    Code:
    // See if any "Also Purchased" items
    // I suspect that this won't work yet
     if ((USE_CACHE == 'true') && empty($SID)) {
       $template['alsopurchased'] = tep_cache_also_purchased(3600);
     } else {
       $template['alsopurchased'] = include(DIR_WS_MODULES . FILENAME_XSELL_PRODUCTS);
     }
    The problem is the recommendation comes through at the top of the page, and i havent event added the $alsopurchased to the template page. This took immediate effect upon uploading the sts_product_info.php script... Any ideas or help???!!!!! See picture for what i mean:


  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default RE: X-sell and STS - do they not get on together?

    I do not know STS at all, but it looks like html formatting problem, like an item out of a table or missing tag.

    View the sourcecode in an html editor with error highlighting or look at the tags really closely. I bet you find a few missing tags.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    New Member
    Join Date
    Apr 2005
    Posts
    8
    Rep Power
    0


    Default

    This problem has since been solved.

Similar Threads

  1. X-sell display
    By spurs20 in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 08-09-2005, 09:44 AM
  2. X-Sell problems
    By razz2 in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 02-16-2005, 10:40 AM
  3. I want to sell in UK£ not Dollars
    By owarnes in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 01-08-2003, 08:51 PM
  4. Is there a way to sell without starting account?
    By Anonymous in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 11-26-2002, 01:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •