Thread: Snaf

Results 1 to 10 of 298

Hybrid View

  1. #1
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Snaf

    That goes down as a 'bug'.

    Ha ha! Which is just another way of saying I made a mistake. The code does not take account of the price range at all.

    Give me a moment.

  2. #2
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Snaf

    That is going to take a short while to re-do the sql statements. I will look at it as soon as I can.

    Nick

  3. #3
    Join Date
    Jan 2013
    Posts
    7
    Plugin Contributions
    0

    Default Re: Snaf

    Don't worry ... we can wait

    Quote Originally Posted by niccol View Post
    That is going to take a short while to re-do the sql statements. I will look at it as soon as I can.

    Nick

  4. #4
    Join Date
    Sep 2008
    Location
    DownUnder, overlooking South Pole.
    Posts
    984
    Plugin Contributions
    6

    Default Re: Snaf

    Suggestion

    If you do not want the Product Listing Filter dropdown to show when you have less than or an equal number of products to display
    than your Admin > Configuration > Product Listing > Product Listing - Columns Per Row setting, if set greater than 1,
    and when Use Product Listing Filter for "WHATEVER Products" in SNAF is set to True -

    In \includes\modules\YourTemplate\product_listing.php
    change Lines 313-318 (SNAF 1-2)

    Code:
    if($show_product_listing_filter)
    {
    require($template->get_template_dir('/tpl_snaf_display_order.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_snaf_display_order.php');
    }
    to

    Code:
    if($show_product_listing_filter and $listing_split->number_of_rows > 1)
    {
    require($template->get_template_dir('/tpl_snaf_display_order.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_snaf_display_order.php');
    }

  5. #5
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Snaf

    @dw
    Thanks for that.

    @Gurrumino
    OK. My brain is melting. Try the attached version of includes/modules/pages/specials/main_template_vars.php. I think that that should do it for you. But you have definitely become a beta-tester, whether you like it or not, so please back up your original version of that file before overwriting it. It works fine on my test server but ...

    Oh, and let me know how you get on.
    Attached Files Attached Files

  6. #6
    Join Date
    Jan 2013
    Posts
    7
    Plugin Contributions
    0

    Default Re: Snaf

    Ohhhhhhhhhh!! so far so good!
    diffidently is working now.

    I will keep and eye on this to see if everything is OK on the store side.

    I appreciate you help!

    Quote Originally Posted by niccol View Post
    @Gurrumino
    OK. My brain is melting. Try the attached version of includes/modules/pages/specials/main_template_vars.php. I think that that should do it for you. But you have definitely become a beta-tester, whether you like it or not, so please back up your original version of that file before overwriting it. It works fine on my test server but ...

    Oh, and let me know how you get on.

  7. #7
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Snaf

    Please do let me know if you find any problems. If not then that change will get included in the next version :-)

 

 

Similar Threads

  1. SNAF and Set number dropdown not working
    By DeeL in forum General Questions
    Replies: 0
    Last Post: 2 Apr 2013, 02:03 AM
  2. styling the row layout while using snaf
    By bn17311 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Dec 2012, 07:44 PM
  3. SNAF not working with aBagon red template??
    By Johnnycopilot in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 3 Apr 2012, 08:15 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