Thread: Snaf

Page 3 of 30 FirstFirst 1234513 ... LastLast
Results 21 to 30 of 298
  1. #21
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Snaf

    can you post a URL to the site? that would be extremely useful.

  2. #22
    Join Date
    Oct 2011
    Location
    Toronto Canada
    Posts
    67
    Plugin Contributions
    0

    Default Re: Snaf

    http://sexpriseher.com/lladro/index....e=products_all

    and I am trying to get it to look similar to this one:
    vir gin iaha yw ard .com/occasion/new-baby/[/URL]

    (but only the position of the image, name, price - info & buy now buttons - not colours etc)

    Thanks so much
    Last edited by DrByte; 7 Jun 2012 at 04:21 PM. Reason: Obfuscated URL as requested

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

    Default Re: Snaf

    OK. Well that is really a styling issue rather than functionality. You can start by centering the images in the blocks with something like:

    Code:
    .centerBoxContentsProducts .listingProductImage {
    display:block;
    margin:0 auto;
    }
    Everything else that you are trying to achieve should be attainable with css only. It may turn out to be easier to put a container around the prices and that would be do-able in product_listing.php but you should be able to achieve at least most of what you want through css.

    One of the tricks in this kind of situation is to get rid of all the <br/> s in the way. They just make layout kind of hard. You could start with:

    Code:
    .centerBoxContentsProducts br{
    display:none;
    }
    
    .productPriceDiscount{
    float:right;
    clear:none;
    font-size:14px
    }
    
    .centerBoxContentsProducts .productSpecialPrice
    {
    float:left;
    font-size:20px;
    }
    
    .centerBoxContentsProducts{
    font-size:20px;
    }
    That should get you going.

  4. #24
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Snaf

    Trying to troubleshoot an issue I have with the new products page and I tried uninstalling SNAF this and got an error:

    [01-Apr-2012 14:58:38] PHP Warning: require(includes/init_includes/init_snaf.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home2/mysite/public_html/myclient/includes/autoload_func.php on line 48
    [01-Apr-2012 14:58:38] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/init_includes/init_snaf.php' (include_path='.:/usr/lib64/php:/usr/lib/php') in /home2/mysite/public_html/myclient/includes/autoload_func.php on line 48
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  5. #25
    Join Date
    Oct 2011
    Location
    Toronto Canada
    Posts
    67
    Plugin Contributions
    0

    Default Re: Snaf

    Thank you so very much Nick! That was a great help, I was a bit dumb in finding the correct css classes to edit. I am alot further on now and greatly appreciate those first steps to get me started.

  6. #26
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Snaf

    Quote Originally Posted by DivaVocals View Post
    Trying to troubleshoot an issue I have with the new products page and I tried uninstalling SNAF this and got an error:
    So in addition to the afore mentioned uninstall error, I confirmed that my issue with the new products listing may be related to SNAF.

    See this page: http://clientmybeautyaddiction(dot)overthehillweb(dot)com/index.php?main_page=products_new

    This is a vanilla site with onlyt the Ashley Pink template installed..

    When there are no new products to show it looks as if a language file is missing, but I uploaded everything in the SNAF package..

    (note: this worked before installing SNAF)

    Help!!
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  7. #27
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Snaf

    Confirmed that the seemingly missing language file might be coming from SNAF.

    When I set to Use Product Listing Format for New Products to "True", the language constant appears as if there is a missing language file.

    When I set Use Product Listing Format for New Products to "False", the text "More new products will be added soon. Please check back later." is displayed..

    Quote Originally Posted by DivaVocals View Post
    So in addition to the afore mentioned uninstall error, I confirmed that my issue with the new products listing may be related to SNAF.

    See this page: http://clientmybeautyaddiction(dot)overthehillweb(dot)com/index.php?main_page=products_new

    This is a vanilla site with onlyt the Ashley Pink template installed..

    When there are no new products to show it looks as if a language file is missing, but I uploaded everything in the SNAF package..

    (note: this worked before installing SNAF)

    Help!!
    Last edited by DivaVocals; 3 Apr 2012 at 07:15 AM.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

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

    Default Re: Snaf

    Darn. Yes an error on my part. The language file that product_listing uses is not loaded because this is not a product listing page. Need to have a bit of a think about that.

    But until then try this in tpl_products_new_default.php

    Code:
    <?php
    
    if (!defined('TEXT_NO_PRODUCTS')) {
    $category_depth = 'products';
    include('includes/languages/english/index.php');
    }
    
    require($template->get_template_dir('tpl_modules_product_listing.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_product_listing.php');
    it is right down at the bottom of the file. I am sure you will find it . let me know how that works. I am without a test server at the moment. Or rather they are all full up with stuff :-)

    If that works then I'll just have to adapt it to accommodate languages.

  9. #29
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Snaf

    Eureka!!! That did the trick!!! You are the BEST!!!

    Quote Originally Posted by niccol View Post
    Darn. Yes an error on my part. The language file that product_listing uses is not loaded because this is not a product listing page. Need to have a bit of a think about that.

    But until then try this in tpl_products_new_default.php

    Code:
    <?php
    
    if (!defined('TEXT_NO_PRODUCTS')) {
    $category_depth = 'products';
    include('includes/languages/english/index.php');
    }
    
    require($template->get_template_dir('tpl_modules_product_listing.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_product_listing.php');
    it is right down at the bottom of the file. I am sure you will find it . let me know how that works. I am without a test server at the moment. Or rather they are all full up with stuff :-)

    If that works then I'll just have to adapt it to accommodate languages.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  10. #30
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Snaf

    Also did you see the post regarding the uninstall error I got when I attempted to uninstall SNAF???

    (eventually it didn't matter than I couldn't uninstall SNAF.. I opted for taking the drastic route of killing my store and starting over -- still thought you'd want to know about the error though..)

    Quote Originally Posted by niccol View Post
    Darn. Yes an error on my part. The language file that product_listing uses is not loaded because this is not a product listing page. Need to have a bit of a think about that.

    But until then try this in tpl_products_new_default.php

    Code:
    <?php
    
    if (!defined('TEXT_NO_PRODUCTS')) {
    $category_depth = 'products';
    include('includes/languages/english/index.php');
    }
    
    require($template->get_template_dir('tpl_modules_product_listing.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_product_listing.php');
    it is right down at the bottom of the file. I am sure you will find it . let me know how that works. I am without a test server at the moment. Or rather they are all full up with stuff :-)

    If that works then I'll just have to adapt it to accommodate languages.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

 

 
Page 3 of 30 FirstFirst 1234513 ... LastLast

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

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR