Zen Cart Logo
Forums / All Other Contributions/Addons / Short Description show on featured products

Short Description show on featured products

Locked

Views: 2,815

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
11 Jan 2007, 8:25 PM
#1
namsingh avatar

namsingh

Zen Follower

Join Date:
Sep 2006
Location:
Leeds, UK
Posts:
165
Plugin Contributions:
0

Short Description show on featured products

Has anyone managed to display the short description on the index main page like it shows for New Products??

12 Jan 2007, 5:30 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Short Description show on featured products

Could you be more specific? A brief peice of the products_description shows on both the Product Listing and New Products when enabled in the Configuration settings ...

12 Jan 2007, 9:13 AM
#3
namsingh avatar

namsingh

Zen Follower

Join Date:
Sep 2006
Location:
Leeds, UK
Posts:
165
Plugin Contributions:
0

Re: Short Description show on featured products

Ok, on the main Page, Index page of the website. Short Description shows fine for New Products. So you see New Products Center Box, Product name, image, Short description and price.

The code for displaying the same information for featured products and specials center box is not included.

12 Jan 2007, 4:06 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Short Description show on featured products

Have you an URL that we could perhaps peek at to see what you are seeing? :smile:

12 Jan 2007, 4:14 PM
#5
namsingh avatar

namsingh

Zen Follower

Join Date:
Sep 2006
Location:
Leeds, UK
Posts:
165
Plugin Contributions:
0

Re: Short Description show on featured products

www.lionblade.com

If you look at the first page. The New products have all the Short Description text. I would like to include it on the featured products at the top or "Hot Picks" as I have called it:D

12 Jan 2007, 4:19 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Short Description show on featured products

That has been customized to include that ...

You might look in the file:
/includes/modules/new_products.php

Or, check for the override which should be used for this:
/includes/modules/your_template_dir/new_products.php

And see what has been added for that ...

12 Jan 2007, 6:18 PM
#7
tbrides avatar

tbrides

Zen Follower

Join Date:
Oct 2006
Posts:
198
Plugin Contributions:
0

Re: Short Description show on featured products

i've managed to do it.
There's a module for adding the field short description to the products table.
Then I edited the module new products and featured products to add this in.

12 Jan 2007, 9:29 PM
#8
namsingh avatar

namsingh

Zen Follower

Join Date:
Sep 2006
Location:
Leeds, UK
Posts:
165
Plugin Contributions:
0

Re: Short Description show on featured products

Yeah!! Did it!!

Replace lines 53-57 of file includes/modules/featured.php

with this code

$featured_products->fields['products_name'] = zen_get_products_name($featured_products->fields['products_id']);
$featured_products->fields['products_short_desc'] = zen_get_products_short_desc($featured_products->fields['products_id']);

$list_box_contents[$row][$col] = array('params' =>'class="centerBoxContentsFeatured centeredContent back"' . ' ' . 'style="width:' . $col_width . '%;"',
'text' => (($featured_products->fields['products_image'] == '' and PRODUCTS_IMAGE_NO_IMAGE_STATUS == 0) ? '' : '<a href="' . zen_href_link(zen_get_info_page($featured_products->fields['products_id']), 'products_id=' . $featured_products->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $featured_products->fields['products_image'], $featured_products->fields['products_name'], IMAGE_FEATURED_PRODUCTS_LISTING_WIDTH, IMAGE_FEATURED_PRODUCTS_LISTING_HEIGHT) . '</a><br />') . '<a href="' . zen_href_link(zen_get_info_page($featured_products->fields['products_id']), 'products_id=' . $featured_products->fields['products_id']) . '">' . $featured_products->fields['products_name'] . '</a><br />' . $featured_products->fields['products_short_desc'] . '<br />' .'</a><br />' . $products_price);
13 Jan 2007, 3:18 PM
#9
namsingh avatar

namsingh

Zen Follower

Join Date:
Sep 2006
Location:
Leeds, UK
Posts:
165
Plugin Contributions:
0

Re: Short Description show on featured products

One other little problem relating to this. I cannot get the text ta align next to the image???

I have tried hacking the code but it just stay's at the bottom. I know I need to align the image to the left and the text will go around it. Anyone shed some light where I should be looking?? It's in the image call somewhere

14 Jan 2007, 6:26 PM
#10
tbrides avatar

tbrides

Zen Follower

Join Date:
Oct 2006
Posts:
198
Plugin Contributions:
0

Re: Short Description show on featured products

I downloaded this module.


Then following this tutorial

to get my short descriptions.
This way you can have customised short descriptions

14 Jan 2007, 8:48 PM
#11
namsingh avatar

namsingh

Zen Follower

Join Date:
Sep 2006
Location:
Leeds, UK
Posts:
165
Plugin Contributions:
0

Re: Short Description show on featured products

tbrides:

I downloaded this module.

Then following this tutorial

to get my short descriptions.
This way you can have customised short descriptions

WOW, thank you SOOOOOOOOOOO Much, I've been trying to do this for months!!! You will see the results on my main page now, looks amazing!!! Just how I wanted it. Thank you:lol::lol:

I even got a Buy Now button configured on the main index page. Two birds with one stone there

15 Jan 2007, 12:52 PM
#12
tbrides avatar

tbrides

Zen Follower

Join Date:
Oct 2006
Posts:
198
Plugin Contributions:
0

Re: Short Description show on featured products

glad to be of assistance.
is that your own store? Do you deliver to Ireland?

15 Jan 2007, 1:31 PM
#13
namsingh avatar

namsingh

Zen Follower

Join Date:
Sep 2006
Location:
Leeds, UK
Posts:
165
Plugin Contributions:
0

Re: Short Description show on featured products

tbrides:

glad to be of assistance.
is that your own store? Do you deliver to Ireland?

hi, I am involved in the running of the store yes, please use the contact us or ask product question feature on the site, Thanks