Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2005
    Posts
    37
    Plugin Contributions
    0

    Default description insted of "more info" & space between products images

    hello,
    I have 2 questions:

    link:
    www.scrap2gether.com

    1. In my New & All products listings I have the products image and on its right there are few detaikls with "more info".
    Can I display the products description instead of the "more info" thing?

    2. On a seperate category listing (and manufacturer listing) - there is no space between products images. How can that be fixed?

    I appreciate any help!

  2. #2
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    1,029
    Plugin Contributions
    5

    Default Re: description insted of "more info" & space between products images

    1) I'm not to sure if you would have to hack files to achieve that... I didn't see any switch in Admin, but I could also be blind. I'll leave this for someone else.

    2) You can add a Selector into the stylesheet that will fix that up;
    Code:
    .productListing-data {
                 padding: 0.5em;
                 border-bottom: 1px solid #cacaca;
                 }
    That will space out the listings and add a separator line. If you prefer without the line, then omit the border-bottom declaration.

  3. #3
    Join Date
    Jan 2006
    Location
    Toronto, Ontario, Canada
    Posts
    183
    Plugin Contributions
    3

    Default Re: description insted of "more info" & space between products images

    Quote Originally Posted by shmints
    1. In my New & All products listings I have the products image and on its right there are few detaikls with "more info".
    Can I display the products description instead of the "more info" thing?
    What version of ZC are you running ? One example of a default 1.3.5 all listing:
    http://www.ave nv iew.com/avenview/index.php?main_page=products_all (take out the spaces between www and .com)

    The files you need to edit are:
    /includes/templates/template_default/templates/tpl_modules_products_new
    /includes/templates/template_default/templates/tpl_modules_products_all

    I strongly suggest you copy these files to the override folder:
    /includes/templates/YOUR_TEMPLATE/templates/

    In the files (they are basically the same), look for where you have the price

    Add the following where you want the description to appear. Note that the 350 controls the number of characters to display before truncating and putting a "more":

    Code:
          if (PRODUCT_ALL_LIST_DESCRIPTION != '0') {
            $disp_text = zen_get_products_description($products_all->fields['products_id']);
            $disp_text = zen_clean_html($disp_text);
    
            $display_products_description = stripslashes(zen_trunc_string($disp_text, 350, '<a href="' . zen_href_link(zen_get_info_page($products_all->fields['products_id']), 'products_id=' . $products_all->fields['products_id']) . '"> ' . MORE_INFO_TEXT . '</a>'));
          } else {
            $display_products_description = '';
          }
    I'm not sure where the "more" was created,

    ############# STOPPED TO THINK ###############

    ignore everything above this line.

    Go to your admin, navigate to the product (any one for now), edit it, and add some text to the description box.

    The problem is you dont have any descriptions.

    However, that said, it will likely display 150 characters and the "more...". If you want to increase that, then you can follow the instructions above and .... well, it will make sense :)

    That all said, if you really want to hack the page, you can go all the way... take a look at:
    http://www.etc h art.ca/index.php?main_page=products_all (remove the spaces in URL)
    Last edited by virtualahmad; 27 Sep 2006 at 06:19 PM.
    Ahmad Rahman
    TRUST IT | web site design and development
    mobile: 416.828.0224 | email: [email protected]
    www.trustit.ca

    For IT solutions how you want IT, when you want IT, TRUST IT.

  4. #4
    Join Date
    Jun 2005
    Posts
    37
    Plugin Contributions
    0

    Default Re: description insted of "more info" & space between products images

    sketchy - thank you! you solced problem #2

    virtualahmad - I think I wasn't clear enough with my qustion - I apologize.
    I meant to ask how to move the description to be shown beside the image and not under the image (some products have descriptions which appears below the image).

    problem #1 still looking for an answer.... LOL
    any help is welcome :-)

  5. #5
    Join Date
    Jan 2006
    Location
    Toronto, Ontario, Canada
    Posts
    183
    Plugin Contributions
    3

    Default Re: description insted of "more info" & space between products images

    Quote Originally Posted by shmints
    ...some products have descriptions which appears below the image).
    Can you give an example ? Also, can you post the code you have in the all product page (as per the path i gave before above).
    Ahmad Rahman
    TRUST IT | web site design and development
    mobile: 416.828.0224 | email: [email protected]
    www.trustit.ca

    For IT solutions how you want IT, when you want IT, TRUST IT.

  6. #6
    Join Date
    Jun 2005
    Posts
    37
    Plugin Contributions
    0

    Default Re: description insted of "more info" & space between products images

    Thanks to Ahmad the problem has been solved :-)

    Again - I really appreciate the help!!

  7. #7
    Join Date
    Apr 2009
    Location
    Eskisehir, Turkey
    Posts
    22
    Plugin Contributions
    0

    Default Re: description insted of "more info" & space between products images

    I have a similar problem. I set Product Listing>>Display Product Description to zero. Product description is now disappeared (this is what I wanted). Besides this, I want "more info" link for the product description, but it doesn't show up. How can I make it appear? Is there any admin setting for this?
    my store address is: www.camtasarim.com
    A beginner

 

 

Similar Threads

  1. v1.2.x Some products "buy now" others "more info" can you help?
    By luke_pickering in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 3 Sep 2014, 05:47 PM
  2. increase space between drop down menu and "displaying products..."?
    By Ms_X in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 30 Nov 2010, 02:21 PM
  3. REMOVE "more info" from Productlisting and reduce space between price & drescription
    By hooai12 in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 4 Jun 2010, 05:25 PM
  4. Removing white space between "Welcome to MYSTORE" and New Products Title
    By chal2les in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 29 Mar 2010, 07:00 PM
  5. Showing "More Info" & "Buy Now" on Product Listing
    By litepockets in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 20 Jul 2009, 05:23 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