Thread: recently viewed

Results 1 to 10 of 84

Hybrid View

  1. #1
    Join Date
    Jul 2008
    Posts
    155
    Plugin Contributions
    0

    Default Re: recently viewed

    Btw, there is a line break under the first product of the best seller side box. It looks weird. Do you know how I can get rid of it? Or how I can have it under every product, but not just the first product?

    too many questions, thanks...

  2. #2
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: recently viewed

    Quote Originally Posted by musicfreer View Post
    Btw, there is a line break under the first product of the best seller side box. It looks weird. Do you know how I can get rid of it? Or how I can have it under every product, but not just the first product?

    too many questions, thanks...

    That's there because you did not follow the instructions that have been posted in the thread for bestsellers. Apply the changes in that thread and everything will work fine.

  3. #3
    Join Date
    Jul 2008
    Posts
    155
    Plugin Contributions
    0

    Default Re: recently viewed

    thanks, actually I did try to paste the codes on the readme file to the css stylesheet. But still it is not working. The border still exists. I will try more! Thanks a lot for your time. I better do not border you too much! Thanks again!

  4. #4
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: recently viewed

    Quote Originally Posted by musicfreer View Post
    thanks, actually I did try to paste the codes on the readme file to the css stylesheet. But still it is not working. The border still exists. I will try more! Thanks a lot for your time. I better do not border you too much! Thanks again!
    I am not sure that we are talking about the same thing. If you go to the other thread, you will notice that this issue was discussed and there is a new file released to fix it as well as the code pasted.

  5. #5
    Join Date
    Jul 2008
    Posts
    155
    Plugin Contributions
    0

    Default Re: recently viewed

    Quote Originally Posted by BlessIsaacola View Post
    I am not sure that we are talking about the same thing. If you go to the other thread, you will notice that this issue was discussed and there is a new file released to fix it as well as the code pasted.
    Thanks again for your continuous support! After reading all threads and your codes, I finally added the dot line to both recently viewed mod and best seller thumbnail mod.

    Just my coding is a little weird, the padding codes in the td class doesn't seem to work, I have to add another class at div level to make the padding works. Really no idea. Anyway, as long as it is working, I am happy with that. For your info, hereunder is my codes and tpl:

    PHP Code:
    <?php
    /**
     * Side Box Template
     *
     * @package templateSystem
     * @copyright Copyright 2003-2005 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: tpl_best_sellers.php 2982 2006-02-07 07:56:41Z birdbrain $
     */
      
    $content '';
      
    $content .= '<div id="' str_replace('_''-'$box_id 'Content') . '" class="sideBoxContent">' "\n";
      
    $content .= '<div >' "\n";
      
    $content .= '<table cellpadding=0 cellspacing=0>' "\n";
      foreach (
    $_SESSION['recent_products'] as $recent_product) {
        
    $link zen_href_link(zen_get_info_page($recent_product), 'products_id=' $recent_product);
        
    $content .= '<tr><td  class="recent-products-border"><div class="recent-products-div"><a href="' .  $link '">' zen_get_products_image($recent_productSMALL_IMAGE_WIDTH/2SMALL_IMAGE_HEIGHT/2) . '</a></div></td><td class="recent-products-border"><div class="recent-products-div"><a href="' $link '">' zen_get_products_name($recent_product$_SESSION['languages_id']) . '</a></div><div class="recent-products-price">' zen_get_products_display_price($recent_product) . '</div></td>' "\n" 
                     
    '</tr>';
      }
      
    $content .= '</table>' "\n";
      
    $content .= '</div>' "\n";
      
    $content .= '</div>';
    ?>

    Code:
    .recent-products-border {
    	border-bottom: 1px dotted Silver;
    	font-size: 0.9em;
    }
    
    .recent-products-div
    {
    padding-top: 3px;
    padding-right: 0px;
    padding-bottom: 3px;
    padding-left: 3px;
    }    
    
    .recent-products-price
    {
    text-align: right;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 3px;
    padding-left: 0px;
    }
    Please let me know if you have any comment about it. Thanks again!

    My site again:
    http://www.locomolife.com/store/

  6. #6

    Default Re: recently viewed

    I wonder if the recently viewed mod can be combined with the cross sell mod to create a recommended products mod?
    Rich People scream, Wealthy people whisper

    www.cooltechcentral.com

  7. #7

    Default Re: recently viewed

    I am also wondering if this mod could be turned into a center box.
    Rich People scream, Wealthy people whisper

    www.cooltechcentral.com

 

 

Similar Threads

  1. v151 recently viewed products
    By 100asa in forum Addon Sideboxes
    Replies: 2
    Last Post: 3 Dec 2013, 04:30 PM
  2. Recently Viewed indicator while shopping?
    By vinnyna in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 16 Dec 2011, 02:24 PM
  3. Recently viewed sidebox
    By sjk1000 in forum Addon Sideboxes
    Replies: 13
    Last Post: 27 Dec 2009, 08:16 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