Jump to content



Latest News: (loading..)

* * * * * 5 votes

Product Listing Enhancements, Thumbnails & Manufacturer Headings


  • Please log in to reply
1890 replies to this topic

#1861   CurtisLee

CurtisLee
  • Members
  • 7 posts
  • Real Name:Lee Foster

Posted 21 June 2011 - 07:30 AM

First off great work.

Here's my problem though, I almost have it all working how I want to but have noticed that in the attributes drop down on the product listing page it will only show a + price and not the total cost. I have it working correctly on my product info page.

Can any one suggest the code to use as the code used on my product info page doesnt work on the listing page.

Thanks in advance

#1862   CurtisLee

CurtisLee
  • Members
  • 7 posts
  • Real Name:Lee Foster

Posted 21 June 2011 - 09:56 AM

Have just seen this in the documents -

Price / Quantity Attributes

If a product has a zero price then the POA text will be displayed instead of zero and no add to cart (details button is shown instead) or quantity box will appear for it. If you use purely attributes for your pricing (not the best idea IMHO) then you need to modify the code to allow for that.

This would work for me too but I dont know what code i would need to modify.

HELP!

#1863   CurtisLee

CurtisLee
  • Members
  • 7 posts
  • Real Name:Lee Foster

Posted 21 June 2011 - 01:53 PM

i'd also like to have it show a light box of the image when you click on it instead of taking you to the product info page.

Any help on this would be much appreciated.

#1864   MattReid

MattReid
  • Members
  • 80 posts
  • Real Name:Matt Reid

Posted 14 August 2011 - 11:07 AM

View PostEIF, on 06 May 2010 - 05:44 PM, said:

I installed the contribution "pure css button image swap". When I restore my backup, the Details button levels with the Buy Now. This contribution messed the thing up.

When I delete the _over image, the Details and Buy Now buttons level again.

This contribution uses the following code in html_output.php. Does someone what to change to correct this problem?

> html_output.php from Pure CSS Button Image Swap <


Has this ever been looked at? The amount the thumbnail buttons are knocked out of place is different on different browsers, eek.

#1865   fan4chevy

fan4chevy
  • Members
  • 367 posts
  • Real Name:Charles

Posted 02 September 2011 - 06:29 AM

I used this in my 2.2 but now upgrading to 2.3. Does this work for the 2.3 or do you have a contrib for 2.3?

Thanks

#1866   dchenderson

dchenderson
  • Members
  • 1 posts
  • Real Name:Danielle Henderson

Posted 12 September 2011 - 03:27 PM

My apologies if this question has already been answered, but I can't seem to find the help I need.
Everything is working fine on my site except the products_new.  The lightbox image is not displaying correctly.
My site is goodiesbox.com and it is the what's new link if you need to see what I am talking about.  Please note though that my site does contain romantic accessories, so do not look if you would find the content offensive.
Any help would be appreciated!

#1867   a2zfashions

a2zfashions
  • Members
  • 44 posts
  • Real Name:a2zfashions
  • Gender:Not Telling

Posted 29 October 2011 - 12:56 PM

Does this add-on work for OSCommerce version 2.3.1?

Thanks in advance,

#1868   colageneral

colageneral
  • Members
  • 19 posts
  • Real Name:Imraan

Posted 17 November 2011 - 12:25 PM

Hi

Can anyone assist me. I am getting this error when trying to import the .sql

SQL query:
{ \ rtf1 \ ansi \ ansicpg1252 \ deff0 \ deflang1031{ \ fonttbl{ \ f0 \ fswiss \ fcharset0 Arial;
MySQL said: [img]http://mysql.looknofurther.co.za/themes/pmahomme/img/b_help.png[/img]
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '{\rtf1\ansi\ansicpg1252\deff0\deflang1031{\fonttbl{\f0\fswiss\fcharset0 Arial' at line 1

#1869   Gothiceveryday

Gothiceveryday
  • Members
  • 12 posts
  • Real Name:Patricia Terres Fernandez
  • Gender:Female

Posted 28 February 2012 - 08:46 PM

I want to stick the price in the box because when the description or the image is to large, it goes under the line.

Anyone knows how to fix it? I have attached and image with the issue.

Cheers!

Attached Files



#1870   Gothiceveryday

Gothiceveryday
  • Members
  • 12 posts
  • Real Name:Patricia Terres Fernandez
  • Gender:Female

Posted 28 February 2012 - 08:47 PM

View Posta2zfashions, on 29 October 2011 - 12:56 PM, said:

Does this add-on work for OSCommerce version 2.3.1?

Thanks in advance,

Yes, for me is working good in my oscommerce 2.3.1 gothic shop.

Edited by Gothiceveryday, 28 February 2012 - 08:48 PM.


#1871   longhorn1999

longhorn1999
  • Members
  • 334 posts
  • Real Name:Nick
  • Gender:Male
  • Location:Texas

Posted 20 March 2012 - 08:33 AM

Hi Spooks,

Welcome back to the forum.

There are is one thing that's been bouncing around SEO blogs in the last week that relates directly to this contribution: pagination.

http://searchengineland.com/implementing-pagination-attributes-correctly-for-google-114970



Is there any easy way to add rel="next" and rel="prev" to includes/functions/product_listing.php?

#1872   spooks

spooks
  • Members
  • 7,017 posts
  • Real Name:Sam
  • Gender:Male
  • Location:UK

Posted 20 March 2012 - 04:40 PM

@longhorn1999

This is not something that's specific to this contribution & the code involved does not appear in it, its the split_page_results.php class (in includes/classes) and looking at the version from 2.3.1 the changes are easy:

Line 82.83:

// previous button - not displayed on first page
	  if ($this->current_page_number > 1) $display_links_string .= '<a href="' . tep_href_link(basename($PHP_SELF), $parameters . $this->page_name . '=' . ($this->current_page_number - 1), $request_type) . '" class="pageResults" title=" ' . PREVNEXT_TITLE_PREVIOUS_PAGE . ' "><u>' . PREVNEXT_BUTTON_PREV . '</u></a>&nbsp;&nbsp;';

becomes

// previous button - not displayed on first page
	  if ($this->current_page_number > 1) $display_links_string .= '<a href="' . tep_href_link(basename($PHP_SELF), $parameters . $this->page_name . '=' . ($this->current_page_number - 1), $request_type) . '" class="pageResults" rel="prev" title=" ' . PREVNEXT_TITLE_PREVIOUS_PAGE . ' "><u>' . PREVNEXT_BUTTON_PREV . '</u></a>&nbsp;&nbsp;';

line 100:

		  $display_links_string .= '&nbsp;<a href="' . tep_href_link(basename($PHP_SELF), $parameters . $this->page_name . '=' . $jump_to_page, $request_type) . '" class="pageResults" title=" ' . sprintf(PREVNEXT_TITLE_PAGE_NO, $jump_to_page) . ' "><u>' . $jump_to_page . '</u></a>&nbsp;';

becomes:

		  $display_links_string .= '&nbsp;<a href="' . tep_href_link(basename($PHP_SELF), $parameters . $this->page_name . '=' . $jump_to_page, $request_type) . '" class="pageResults" ' . ($jump_to_page == $this->current_page_number-1 ? ' rel="prev"' : ($jump_to_page == $this->current_page_number+1 ? ' rel="next"' : '')) . ' title=" ' . sprintf(PREVNEXT_TITLE_PAGE_NO, $jump_to_page) . ' "><u>' . $jump_to_page . '</u></a>&nbsp;';


line 107,108:

// next button
	  if (($this->current_page_number < $this->number_of_pages) && ($this->number_of_pages != 1)) $display_links_string .= '&nbsp;<a href="' . tep_href_link(basename($PHP_SELF), $parameters . 'page=' . ($this->current_page_number + 1), $request_type) . '" class="pageResults" title=" ' . PREVNEXT_TITLE_NEXT_PAGE . ' "><u>' . PREVNEXT_BUTTON_NEXT . '</u></a>&nbsp;';

becomes:

// next button
	  if (($this->current_page_number < $this->number_of_pages) && ($this->number_of_pages != 1)) $display_links_string .= '&nbsp;<a href="' . tep_href_link(basename($PHP_SELF), $parameters . 'page=' . ($this->current_page_number + 1), $request_type) . '" class="pageResults" rel="next" title=" ' . PREVNEXT_TITLE_NEXT_PAGE . ' "><u>' . PREVNEXT_BUTTON_NEXT . '</u></a>&nbsp;';


Hopefully I didn't miss anything ;)
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.

#1873   longhorn1999

longhorn1999
  • Members
  • 334 posts
  • Real Name:Nick
  • Gender:Male
  • Location:Texas

Posted 21 March 2012 - 06:40 AM

View Postspooks, on 20 March 2012 - 04:40 PM, said:

@longhorn1999

This is not something that's specific to this contribution & the code involved does not appear in it, its the split_page_results.php class (in includes/classes) and looking at the version from 2.3.1 the changes are easy:

Line 82.83:

// previous button - not displayed on first page
	  if ($this->current_page_number > 1) $display_links_string .= '<a href="' . tep_href_link(basename($PHP_SELF), $parameters . $this->page_name . '=' . ($this->current_page_number - 1), $request_type) . '" class="pageResults" title=" ' . PREVNEXT_TITLE_PREVIOUS_PAGE . ' "><u>' . PREVNEXT_BUTTON_PREV . '</u></a>&nbsp;&nbsp;';

becomes

// previous button - not displayed on first page
	  if ($this->current_page_number > 1) $display_links_string .= '<a href="' . tep_href_link(basename($PHP_SELF), $parameters . $this->page_name . '=' . ($this->current_page_number - 1), $request_type) . '" class="pageResults" rel="prev" title=" ' . PREVNEXT_TITLE_PREVIOUS_PAGE . ' "><u>' . PREVNEXT_BUTTON_PREV . '</u></a>&nbsp;&nbsp;';

line 100:

		  $display_links_string .= '&nbsp;<a href="' . tep_href_link(basename($PHP_SELF), $parameters . $this->page_name . '=' . $jump_to_page, $request_type) . '" class="pageResults" title=" ' . sprintf(PREVNEXT_TITLE_PAGE_NO, $jump_to_page) . ' "><u>' . $jump_to_page . '</u></a>&nbsp;';

becomes:

		  $display_links_string .= '&nbsp;<a href="' . tep_href_link(basename($PHP_SELF), $parameters . $this->page_name . '=' . $jump_to_page, $request_type) . '" class="pageResults" ' . ($jump_to_page == $this->current_page_number-1 ? ' rel="prev"' : ($jump_to_page == $this->current_page_number+1 ? ' rel="next"' : '')) . ' title=" ' . sprintf(PREVNEXT_TITLE_PAGE_NO, $jump_to_page) . ' "><u>' . $jump_to_page . '</u></a>&nbsp;';


line 107,108:

// next button
	  if (($this->current_page_number < $this->number_of_pages) && ($this->number_of_pages != 1)) $display_links_string .= '&nbsp;<a href="' . tep_href_link(basename($PHP_SELF), $parameters . 'page=' . ($this->current_page_number + 1), $request_type) . '" class="pageResults" title=" ' . PREVNEXT_TITLE_NEXT_PAGE . ' "><u>' . PREVNEXT_BUTTON_NEXT . '</u></a>&nbsp;';

becomes:

// next button
	  if (($this->current_page_number < $this->number_of_pages) && ($this->number_of_pages != 1)) $display_links_string .= '&nbsp;<a href="' . tep_href_link(basename($PHP_SELF), $parameters . 'page=' . ($this->current_page_number + 1), $request_type) . '" class="pageResults" rel="next" title=" ' . PREVNEXT_TITLE_NEXT_PAGE . ' "><u>' . PREVNEXT_BUTTON_NEXT . '</u></a>&nbsp;';


Hopefully I didn't miss anything ;)

Thanks Sam!

#1874   al3ks

al3ks
  • Members
  • 288 posts
  • Real Name:Aleksander
  • Gender:Male
  • Location:UK

Posted 21 March 2012 - 09:15 PM

Hi everyone,
I have installed this contribution, but i have a slight problem. I want to change the amont of boxes displayed and teh size of them but there is no controls in the admin panel to do it.

Anyone knows how to do this?
Find this post helpful? Click the 'Like this' button. :)

#1875   spooks

spooks
  • Members
  • 7,017 posts
  • Real Name:Sam
  • Gender:Male
  • Location:UK

Posted 21 March 2012 - 09:34 PM

Its hard to tell what your not doing, please say what display mode you have selected.

Have you read the section on usage in the docs, things like 'Product Listing Per Row'
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.

#1876   al3ks

al3ks
  • Members
  • 288 posts
  • Real Name:Aleksander
  • Gender:Male
  • Location:UK

Posted 21 March 2012 - 09:50 PM

I haven't selected anything yet. I've just completed installation following the installation.html (included in the package). And I don't know how to configurate it and make teh changes I want. It seems there is no place to set it up in admin panel.

After installation the products boxes look like this (quite messy):
Attached File  Untitled-1.jpg   123.88K   13 downloads

I want to customize it. I know I can play with CSS but that won't change everything.

Where can I find the docs section?

Edited by al3ks, 21 March 2012 - 09:51 PM.

Find this post helpful? Click the 'Like this' button. :)

#1877   spooks

spooks
  • Members
  • 7,017 posts
  • Real Name:Sam
  • Gender:Male
  • Location:UK

Posted 21 March 2012 - 10:08 PM

Within the package there is a file called Product Listing Enhancements, Thumbnails & Manufacturer Headings.html its in the same place you found Installation.html (which also links to the first) I can't see how you missed it!

open that, it has all the info you should need.

PS Admin settings appear under 'Product Listing' did you look there?


Looking at your image you have line feed chars within the product  descriptions, thats not normal, you will need to apply the nl2br function on them.
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.

#1878   al3ks

al3ks
  • Members
  • 288 posts
  • Real Name:Aleksander
  • Gender:Male
  • Location:UK

Posted 21 March 2012 - 10:40 PM

Ok, Thanks for the help. I've manged to change a lot of stuff I wanted. There is just two things I cannot figure out, I'd be really grateful if you can help me out.

How can I make the products appear in ideal squares (e.g. 125x125px)

Attached File  Untitled2.jpg   118.93K   16 downloads

And how can I specify how many products per page I want?

(I cannot find it in Product Listing options in admin, and tried css)

Edited by al3ks, 21 March 2012 - 10:41 PM.

Find this post helpful? Click the 'Like this' button. :)

#1879   spooks

spooks
  • Members
  • 7,017 posts
  • Real Name:Sam
  • Gender:Male
  • Location:UK

Posted 21 March 2012 - 10:53 PM

@al3ks

Quote


how can I specify how many products per page I want?

That's a standard osC var and it does say in the doc, look for 'search results'

If your needing a set listing box size you may have issues as the content of each product box will vary by content for that.

You could set product box sizes to suite your final size and use css to prevent overflow so long as you don't care about cut offs.
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.

#1880   al3ks

al3ks
  • Members
  • 288 posts
  • Real Name:Aleksander
  • Gender:Male
  • Location:UK

Posted 22 March 2012 - 01:40 AM

View Postspooks, on 21 March 2012 - 10:53 PM, said:

You could set product box sizes to suite your final size...

But how can I set the size?
Find this post helpful? Click the 'Like this' button. :)