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!
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.
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,
############# :blink: STOPPED TO THINK :unsure: ###############
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)
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 :-)
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).
Re: description insted of "more info" & space between products images
Thanks to Ahmad the problem has been solved :-)
Again - I really appreciate the help!!
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