Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Product Thumbnail Listing


spooks

Recommended Posts

This contribution has much changed and as thumbnails is now only one part I felt it should be a new contribution.

 

New contribution: Product Listing Enhancements, Thumbnails & Manufacturer Headings is at http://addons.oscommerce.com/info/6051

 

Forum thread started at : http://www.oscommerce.com/forums/index.php?showtopic=307010

 

The setup file will update existing installs.

 

 

Have fun.

 

;)

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

  • Replies 53
  • Created
  • Last Reply

Top Posters In This Topic

Thanks for your reply, Sam.

I tried https://www.mywebsite.com/catalog/admin/pro...bnail_setup.php, but it ends up a blank page.

I'm sure the product_thumbnail_setup.php file is under /catalog/admin/ directory, and I've logged into Oscommerce Admin page before running the setup.

 

Did I miss any steps?

 

Thanks again!

 

Angela

 

 

 

Lindsayang had this, it sounds like your trying www.mysite.com/catalog/admin/product_thumbnail_setup.https

 

It should be https://www.mysite.com/catalog/admin/produc...bnail_setup.php

 

and of course replace mysite.com and catalog appropriatly

Link to comment
Share on other sites

Perhaps your getting an error but have error displays disabled.

 

You could try the new version at:

Product Listing Enhancements, Thumbnails & Manufacturer Headings

http://addons.oscommerce.com/info/6051

 

The setup is now more vociferous.

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Hi, definitely a great contribution, I had it up and running and a littlebit tuned in seconds!

 

One question though: is there any option or additional setting to give the height of a product box a fixed height? Even with the box height defined, each and every box in the product list now has it's own height, mainly determined by the pictures and their difference in size. Picture sizes might always be slightly different so what I'm looking for is to give each and every product box the exact same size which has of course a much better look 'n feel

Link to comment
Share on other sites

The box is created using a table where you set width & height in admin, however these are minimum values, if your content is larger than available size the table will be streched, your best option is to set values that wont be exceeded by your content.

 

It may be possible to find ways to have fixed sizes in certain browsers with specific doc definitions, I know of no way that will work globally though.

 

;)

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Hello Friend,

 

I'm having a problem because it is not creating the frame lines of the produce. what can be?

Sorry my english very bad

 

 

Have you added the css entries and refreshed your browser cache?

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Have you added the css entries and refreshed your browser cache?

 

 

installed great but got this error when i went to my product list

 

1054 - Unknown column 'pd.short_desc' in 'field list'

 

select p.products_image, pd.products_name, p.products_image, p.products_image, pd.short_desc, p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from products_description pd, products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id left join specials s on p.products_id = s.products_id, products_to_categories p2c where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '1' and p2c.categories_id = '27' order by pd.products_name limit 0, 20

 

[TEP STOP]

 

 

im running current OS and STS

Link to comment
Share on other sites

installed great but got this error when i went to my product list

 

1054 - Unknown column 'pd.short_desc' in 'field list'

 

select p.products_image, pd.products_name, p.products_image, p.products_image, pd.short_desc, p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from products_description pd, products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id left join specials s on p.products_id = s.products_id, products_to_categories p2c where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '1' and p2c.categories_id = '27' order by pd.products_name limit 0, 20

 

[TEP STOP]

 

 

im running current OS and STS

 

 

i fixed it by taking out what was told to be included in the index.php page....weird.

Link to comment
Share on other sites

hey this is great, just what i was looking for

 

two quetions

 

1. it seems it list all the products in a section intstead of breaking them into a new page after x amount of product listings

 

2. how can i get rid of the border around the product listing, tried css did not work.

 

 

http://hoboarona.com/index.php?cPath=22_27 check out what i mean

 

 

thanks!

Link to comment
Share on other sites

hey this is great, just what i was looking for

 

two quetions

 

1. it seems it list all the products in a section intstead of breaking them into a new page after x amount of product listings

 

2. how can i get rid of the border around the product listing, tried css did not work.

 

 

http://hoboarona.com/index.php?cPath=22_27 check out what i mean

 

 

thanks!

 

Re your ealier problem, the instructions do say only add if you have short description mod.

 

If you update to the new version at Product Listing Enhancements, Thumbnails & Manufacturer Headings

http://addons.oscommerce.com/info/6051 that will resolve your page issue. The new setup program there will update your existing one.

 

A new contrib was created as its much changed, will still do the old stuff too though.

 

Your borders problem has been delt with in the support thread of the new @ http://www.oscommerce.com/forums/index.php?showtopic=307010

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Re your ealier problem, the instructions do say only add if you have short description mod.

 

If you update to the new version at Product Listing Enhancements, Thumbnails & Manufacturer Headings

http://addons.oscommerce.com/info/6051 that will resolve your page issue. The new setup program there will update your existing one.

 

A new contrib was created as its much changed, will still do the old stuff too though.

 

Your borders problem has been delt with in the support thread of the new @ http://www.oscommerce.com/forums/index.php?showtopic=307010

 

 

thanks sam

Link to comment
Share on other sites

  • 2 weeks later...

Keep getting error: Parse error: parse error, unexpected T_LOGICAL_OR in /home/content/p/o/r/portsofart/html/buyart/catalog/index.php on line 199

 

Looks like this:

 

case 'PRODUCT_LIST_WEIGHT':

$select_column_list .= 'p.products_weight, ';

break;

}

}

 

$select_column_list .= 'p.products_image, ';

or if you have the short description mod add:

$select_column_list .= 'p.products_image, pd.short_desc, ';

 

// show the products of a specified manufacturer

if (isset($HTTP_GET_VARS['manufacturers_id'])) {

if (isset($HTTP_GET_VARS['filter_id']) && tep_not_null($HTTP_GET_VARS['filter_id'])) {

// We are asked to show only a specific category

 

 

Please Help!

 

Nevermind figured it out!

Edited by jarvas99
Link to comment
Share on other sites

in the product listing...some images seem long , while some are short....can i make them look evenly?

any idea where to change?

I have tried the max value, image...product listing etc,,, in admin...but still does not work

:(

 

any help?

Thanks.

Link to comment
Share on other sites

in the product listing...some images seem long , while some are short....can i make them look evenly?

any idea where to change?

I have tried the max value, image...product listing etc,,, in admin...but still does not work

:(

 

any help?

Thanks.

 

 

Only the width of the image is defined to prevent distorting the image by modifying the width/height proportions, if you dont care about distortion you can set the height as well:

 

find:

 

$image, $products['products_name'], PRODUCT_IMAGE_WIDTH, '')

 

change to

 

 

$image, $products['products_name'], PRODUCT_IMAGE_WIDTH, 'height_value_here')

 

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Is there a demo or screenshot?

 

in the package.

 

There a updated version at Product Listing Enhancements, Thumbnails & Manufacturer Headings http://addons.oscommerce.com/info/6051

Edited by spooks

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Only the width of the image is defined to prevent distorting the image by modifying the width/height proportions, if you dont care about distortion you can set the height as well:

 

find:

 

$image, $products['products_name'], PRODUCT_IMAGE_WIDTH, '')

 

change to

 

 

$image, $products['products_name'], PRODUCT_IMAGE_WIDTH, 'height_value_here')

 

 

which file is that?

product_info.php?

 

Thanks so much.

Link to comment
Share on other sites

link to your site would definitely help!

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Link to comment
Share on other sites

  • 2 weeks later...

Could do, why do you want to write the mod??

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

This contrib has much changed so has become Product Listing Enhancements, Thumbnails & Manufacturer Headings

with many new features:

 

Group Product Listing By Manufacturer with a manufacturer short description. The old admin controls apply along with some new ones.

 

The thumbnails part displays products with thumbnail images in a grid layout, you define how many boxes per line plus image & box sizes. It shows the product image in a box with product name, price, short description (if you have that) & buy now or details button. This also supports Additional Images (http://addons.oscommerce.com/info/1032) If you have this it will select the medium size image if it exists. Thumbnail also now has a pure 'grid' mode.

 

You can select block mode display in list/manufacturer listings similar to the 'new products' display.

You can also apply the thumbnail display to the new_products module & products_new page. NOTE: These files have an exrta date function, original will just list product to set limit, this adds a max age for product (default is 60days) to change edit the commented line.

 

As some of the listing styles remove the heading (you can select to remove in other modes too) where a user would select sort mode (if they realised, its not obvious) I`ve add a drop down to select sort order, that appears at the base of the product display, it will list according to what you have set in admin. Also added a drop down for user to select number of products shown per page.

 

The customer can switch between thumbnails & manufacturer if you set default to either provided you give the option. If you change default you must select a new category to reset your display.

 

If your store does'nt have manufacturers or your listing via search, the manufacturer mode will revert to list mode automatically.

 

There is now a pull down for sort order and a pull down for max results per page.

 

This updated version is available at: http://addons.oscommerce.com/info/6051

Forum thread at : http://www.oscommerce.com/forums/index.php?showtopic=307010

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

  • 1 month later...

Hi, I installed this promising looking contribution, but it put thumbnails over 600px wide on my category listing page, so I have uninstalled it, by undoing all the additions to the relevant files. Unfortunately, there is now a "Details" button on my subcategory listing pages, which does nothing, which I don't know how to get rid of. How do I remove the database entries?

 

My site is here, in case you want to see the situation for yourself.

Edited by Davefromcornwall
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...