Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 28
  1. #11
    Join Date
    Dec 2010
    Posts
    45
    Plugin Contributions
    1

    Default Re: Best Seller's Scrolling Images - support thread

    Hi Melir...

    Find the exact following string:
    . zen_get_products_display_price($bestsellers_list[$i]['id'])

    and remove it.


    It should work


    (It will be in the file: tpl_best_sellers.php)


    Please try it and report back

  2. #12
    Join Date
    Dec 2010
    Posts
    45
    Plugin Contributions
    1

    Default Re: Best Seller's Scrolling Images - support thread

    You can remove even more.

    You can remove the following string:
    <div align=left>' . zen_get_products_display_price($bestsellers_list[$i]['id']) . '</div>


    instead of the previous string I sent you

  3. #13
    Join Date
    Dec 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: Best Seller's Scrolling Images - support thread

    Thanks chaiavi for your quick reply. I've tried it and works wonderful.

    My bestsellers are set to max 5, is this why after is finishes scrolling it becomes blank for a few seconds till it starts again scrolling?

    Also is it possible to add a separator between the bestseller box products? i found a tread with the solution but only showing to me after first product.

    link: http://www.zen-cart.com/forum/showthread.php?t=111763

  4. #14
    Join Date
    Dec 2010
    Posts
    45
    Plugin Contributions
    1

    Default Re: Best Seller's Scrolling Images - support thread

    Add the following tag:
    <hr>

    before the closing "}"


    Where is it located?


    Search for:
    }
    $content .= '</table></div>' . "\n";


    right before these lines add the tag I mentioned: <hr>



    Please report back

    Thanks

  5. #15
    Join Date
    Dec 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: Best Seller's Scrolling Images - support thread

    Sorry but the <HR> didn't work and the whole sidebox disappeared

    i added like this:

    zen_trunc_string($bestsellers_list[$i]['name'], BEST_SELLERS_TRUNCATE, BEST_SELLERS_TRUNCATE_MORE) . '</a><BR></td></tr>' . "\n";
    <hr>
    }
    $content .= '</table></div>' . "\n";

  6. #16
    Join Date
    Dec 2010
    Posts
    45
    Plugin Contributions
    1

    Default Re: Best Seller's Scrolling Images - support thread

    tRY ADDING IT RIGHT AFTER THE:

    </tr>

  7. #17
    Join Date
    Dec 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: Best Seller's Scrolling Images - support thread

    Tried new solution but can't manage to make it work, but this mod is great anyway.

    I also have another bestseller mod called "best sellers page" that's just a page to my bestsellers, i want to add this to your bestsellers scrolling sidebox with an 'more" link into the box heading, (because the scrolling shows only 5 products, i need customers to be able to search all bestsellers) how can this be done?

    תודה רבה

  8. #18
    Join Date
    Dec 2010
    Posts
    45
    Plugin Contributions
    1

    Default Re: Best Seller's Scrolling Images - support thread

    Original code:
    for ($i = 1; $i <= $total; $i++) {
    $imgLink = DIR_WS_IMAGES . $bestsellers_list[$i]['image'];
    if ($i == 2) {$content .= '';}
    $content .= '<tr><td valign=top><a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . zen_image($imgLink, zen_trunc_string($bestsellers_list[$i]['name']), SMALL_IMAGE_WIDTH/2, SMALL_IMAGE_HEIGHT/2) . '</a></td><td valign=top><a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . zen_trunc_string($bestsellers_list[$i]['name'], BEST_SELLERS_TRUNCATE, BEST_SELLERS_TRUNCATE_MORE) . '</a><BR><div align=left>' . zen_get_products_display_price($bestsellers_list[$i]['id']) . '</div></td></tr>' . "\n";
    }
    $content .= '</table></div>' . "\n";




    Altered code:
    for ($i = 1; $i <= $total; $i++) {
    $imgLink = DIR_WS_IMAGES . $bestsellers_list[$i]['image'];
    if ($i == 2) {$content .= '';}
    $content .= '<tr><td valign=top><a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . zen_image($imgLink, zen_trunc_string($bestsellers_list[$i]['name']), SMALL_IMAGE_WIDTH/2, SMALL_IMAGE_HEIGHT/2) . '</a></td><td valign=top><a href="' . zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) . '">' . zen_trunc_string($bestsellers_list[$i]['name'], BEST_SELLERS_TRUNCATE, BEST_SELLERS_TRUNCATE_MORE) . '</a><BR><div align=left>' . zen_get_products_display_price($bestsellers_list[$i]['id']) . '</div><hr></td></tr>' . "\n";
    }
    $content .= '</table></div>' . "<a href=http://example.com>More Bestsellers...</a>\n";


    I have bolded out the changed code.

    לילה טוב

  9. #19
    Join Date
    Dec 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: Best Seller's Scrolling Images - support thread

    Thanks so much chaiav it works like a charm.

    Love you...

  10. #20
    Join Date
    Dec 2010
    Posts
    45
    Plugin Contributions
    1

    Default Re: Best Seller's Scrolling Images - support thread

    My pleasure.


    Hope to see you in my Israeli support site:
    Israel Zen Cart support site



    Did the separating line also work?

    What is the link to your site?


    Avi Hayun

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. BackUp ZC [Support Thread]
    By skipwater in forum All Other Contributions/Addons
    Replies: 222
    Last Post: 14 May 2013, 08:48 PM
  2. IE8 Problem With Scrolling Best Seller Sidebox
    By atl2rva in forum Addon Sideboxes
    Replies: 2
    Last Post: 2 Sep 2010, 09:28 PM
  3. Scrolling Featured Sidebox support thread
    By misty in forum Addon Sideboxes
    Replies: 86
    Last Post: 28 May 2010, 05:14 PM
  4. PO Box Ban [support thread]
    By Steven300 in forum Addon Shipping Modules
    Replies: 23
    Last Post: 28 Oct 2009, 11:58 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
  •