Results 1 to 10 of 809

Hybrid View

  1. #1
    Join Date
    Dec 2012
    Posts
    607
    Plugin Contributions
    0

    Default Re: Dynamic Filter [Support Thread]

    Quote Originally Posted by Kevin205 View Post
    Is there a way to control the display of prices in the filter,
    instead of
    Name:  Capture5.GIF
Views: 446
Size:  1.8 KB

    to the following,
    $25 -- $50
    $51 -- $75
    $76 -- $100
    $100 and over
    Quote Originally Posted by Design75 View Post
    Not that I know of. It would be useful :)
    Also keep in mind that the price used/shown in the filter is the one without tax/vat.
    Has anyone resolved or addressed this issue?
    Using Zen Cart 1.5.1

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

    Default Re: Dynamic Filter [Support Thread]

    Quote Originally Posted by Kevin205 View Post
    Has anyone resolved or addressed this issue?
    I think I solved the tax problem

    In includes/templates/YOUR_TEMPLATE/sideboxes/tpl_dynamic_filter.php find

    PHP Code:
                if ($end $max$text $currency_symbol round($start $conversion_rate) . ' -- ' $currency_symbol round($end $conversion_rate);
                else 
    $text $currency_symbol round($start $conversion_rate) . ' and over'
    and replace with
    PHP Code:
        if ($end $max)
        {
          
    $text $currency_symbol round((zen_add_tax($start$products_tax)) * $conversion_rate) . ' -- ' $currency_symbol round((zen_add_tax($end$products_tax)) * $conversion_rate);
        }
        else
        {
          
    $text $currency_symbol round((zen_add_tax($start$products_tax)) * $conversion_rate) . ' and over';
        } 
    It works for me, but some further testing is needed, before releasing an update for this module

    If this works, the next step is to replace the hard-coded text for language defines, to make this mod multilingual

 

 

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 22
    Last Post: 26 Jan 2026, 06:47 AM
  2. Empty Dynamic Filter
    By LadyoftheCave in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 6 Jun 2016, 12:47 PM
  3. v150 Dynamic filter
    By Dinoleix in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 13 Aug 2013, 10:23 AM
  4. v150 Dynamic filter - All pages
    By Okkwebmedia in forum Addon Sideboxes
    Replies: 0
    Last Post: 8 Jul 2013, 08:52 AM
  5. v138a Dynamic Filter
    By SoftCorpse in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 18 Jun 2012, 01:32 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