Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 34
  1. #21
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Problems with Recently Viewed Items addon

    You can wrap a test around the code that calls the file or otherwise executes the code:

    if (!$this_is_home_page) {
    the code to be executed on other pages than home
    }

  2. #22
    Join Date
    May 2008
    Location
    United States
    Posts
    491
    Plugin Contributions
    1

    Default Re: Problems with Recently Viewed Items addon

    I'm getting the same error as below, seems FILENAME_RECENT_PRODUCTS_MODULE is not defined.

    Quote Originally Posted by philip937 View Post
    Seriously, has the contributor actually tested this!!??

    I have downloaded the new version from the addons section, and it is still all gash!

    All I get on the page is:

    <!--bof recent products module-->

    <!-- bof: featured products -->
    <!-- eof: featured products -->
    <!--eof recent products module-->

    and the errors:

    [24-Feb-2011 18:55:30] PHP Warning: include(includes/modules/FILENAME_RECENT_PRODUCTS_MODULE.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in /home/site/public_html/includes/templates/template_default/templates/tpl_modules_recent_products.php on line 12

    seriosuly, no definition of FILENAME_RECENT_PRODUCTS_MODULE

    I manually configured the file path, and when it read the file it errored the page!!

    Who is allowing this mod to be uploaded in this "DRAFT" form..

  3. #23
    Join Date
    Mar 2011
    Posts
    364
    Plugin Contributions
    0

    Default Re: Problems with Recently Viewed Items addon

    Me thinks something is wrong with this mod. From what I gather this is how it works.

    You can activate the sidebox module and it will show the recently viewed products.

    Or you can add the code to the product page so when you are at a product page's description, it will show the recently viewed products.

    For ME, the sidebox module works. Trying to get the option on the product info page is NOT working. I'm not getting ANY ERRORS, just getting nothing but like I said, the sidebox module is working.

    Here is the code.

    <!--bof also purchased products module-->
    <?php require($template->get_template_dir('tpl_modules_also_purchased_products.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_also_purchased_products.php');?>
    <!--eof also purchased products module-->

    <!--bof recent products module-->
    <?php require($template->get_template_dir('tpl_modules_recent_products.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_recent_products.php');?>
    <!--eof recent products module-->

    NOW I did make some changes above. The code to call the file was different slightly in the author's instructions and I just made his the same was as the 'also purchased products module' hoping that would fix it but it did not. BOO.

  4. #24
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Problems with Recently Viewed Items addon

    this is the author : motoccnl . You could sent him a pm

  5. #25
    Join Date
    Mar 2011
    Posts
    364
    Plugin Contributions
    0

    Default Re: Problems with Recently Viewed Items addon

    Quote Originally Posted by Design75 View Post
    this is the author : motoccnl . You could sent him a pm
    well no reply so far. the sidebox works but i wishthe product page would also.

  6. #26
    Join Date
    Mar 2010
    Posts
    8
    Plugin Contributions
    1

    Default Re: Problems with Recently Viewed Items addon

    Quote Originally Posted by Design75 View Post
    this is the author : motoccnl . You could sent him a pm
    I m not the author of this module. I just added the possibility to show it on a products page. I already updated it a while ago on the zencart site.

    To define 'FILENAME_RECENT_PRODUCTS_MODULE' do the following:

    Go to: includes/filenames.php

    and ad the following line:

    define('FILENAME_RECENT_PRODUCTS_MODULE','recent_products.php');

    This way it should work.

  7. #27
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Problems with Recently Viewed Items addon

    Sorry

  8. #28
    Join Date
    Jul 2009
    Posts
    127
    Plugin Contributions
    0

    Default Re: Problems with Recently Viewed Items addon

    Can a sort order be put on the side box so that the most recently viewed item shows at the top of the list? If so can any one assist me, thank you.

  9. #29
    Join Date
    Aug 2009
    Posts
    210
    Plugin Contributions
    1

    Default Re: Problems with Recently Viewed Items addon

    Quote Originally Posted by novastar View Post
    Can a sort order be put on the side box so that the most recently viewed item shows at the top of the list? If so can any one assist me, thank you.
    You can set the sort order in admin, tools -> layout boxes controller.

    I have built a number of zen cart stores and have downloaded the recently viewed products mod a number of times before. It seems that whenever the column the recently viewed sidebox appears in must be active on the product_info page otherwise the sidebox will not register the visit to that page. Strange..

  10. #30
    Join Date
    Jun 2010
    Location
    London
    Posts
    39
    Plugin Contributions
    0

    Default Re: Problems with Recently Viewed Items addon

    Hi . I have installed the recently viewed module and it shows the recently viewed item in sidebox but I would like to have it underneath the product info page.. I have added the following code in my tpl_product_info_display.php page but it does not show anything

    <!--bof recent products module-->
    <?php require($template->get_template_dir ('tpl_modules_recent_products.php',DIR_WS_TEMPLATE, $current_page_base,'templates') . '/tpl_modules_recent_products.php'); ?>
    <!--eof recent products module-->

    Any suggestion would be so appreciated...

    Any Idea Please

 

 
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Recently Viewed Items v2.3 - Possible Bug
    By marcopolo in forum Addon Sideboxes
    Replies: 0
    Last Post: 16 Oct 2015, 08:42 PM
  2. Recently Viewed Items - Customers Getting lost :o(
    By philip937 in forum Addon Sideboxes
    Replies: 2
    Last Post: 9 Sep 2012, 03:41 PM
  3. v139h Recently Viewed Items Centerbox fixed? (1.3.9h)
    By Hell Guapo in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 19 Jun 2012, 12:01 AM
  4. Can't see my 'Recently Viewed Items' in products page with Tabbed Pro installed
    By vinnyna in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 14 Dec 2011, 12:25 PM
  5. Replies: 6
    Last Post: 2 Dec 2011, 03:06 PM

Posting Permissions

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