Jump to content
Sign in to follow this  
spooks

Product Listing Enhancements, Thumbnails & Manufacturer Headings

Recommended Posts

As I said, the problem is due to poor coding in that contib, I have no intention to re-code this to work arround bad coding elsewhere.

 

Personnally if I knew I had some poor code on a site I would want rid.

 

Use oscThumb instead http://addons.oscommerce.com/info/5491 that one works

 

Installed it and it works great! Really neat :-)

 

But now I have another problem, when I use the "Show both buy now and details button" only one of them shows. Is it a known problem or did I do something wrong? I've tried changing size of the boxes, sizes of the buttons..

Share this post


Link to post
Share on other sites

have u uploaded the included buttons?

 

which dont show?

 

is product priced with stock/


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.

Share this post


Link to post
Share on other sites
have u uploaded the included buttons?

 

which dont show?

 

is product priced with stock/

My mistake, didn't know there was a button_details_small, it's working now :) It looks good and works great!

 

Is there some way to use this contribution with the featured products contribution?

Share this post


Link to post
Share on other sites
Have u looked through the included text file?

 

All you want is set in admin

 

you can change the included button_details.gif and button_details_small.gif as u like

 

others used are button_in_cart.gif and button_buy_now.gif

 

Hi Sam,

 

Yes sorry, I worked through most of it - was obviously having blonde moment. I have it all working fine now - apart from I do not know how to get a description below the image, or how to move the price and name below the image - is this possible? I think if I can install short description - which you refer to a couple of times (struggling with that due to heavily modified site) then that would give me a description - but how can I dictate where it is placed?

 

Thanks

Share this post


Link to post
Share on other sites

the order of all displayed fields is set in admin according to the value u set (standard osC)

 

ie image = 1 name = 2 etc

 

the short description will always appear immediatly below name


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.

Share this post


Link to post
Share on other sites

Hi Everyone,

 

First thanks for this great contrib and for this topic wich is very useful.

I'm french so sorry for my english.

 

My site is in frech too so i want to notify that as other users, I had troubles with "product listing" options in admin configuration. It just shows the first ten lines all the other option like style or image width wasn't there. But thanks to this topic I find a solution pasting database content directly in phpmyadmin and new lines appear (in duplicate :blink: ... but it seems to works !).

 

But I still have another problem : thumbnails display it doesn't show any products but when i choose list display everythings fine ! The strange fact is thumbnails display works for new products ... but doesn't for product listing.

 

 

I have many contrid ( morepics, easy graphical border, image magic, lightbox) but as it work for new products i guess they are not source of the problem.

I not really used to php programming not enought to find a way...

 

I hope you understand me, and someone can help...

 

thanks a lot. :D

Share this post


Link to post
Share on other sites

never seen that, what do u have set to display?


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.

Share this post


Link to post
Share on other sites

Thaks for your quick answer

 

In admin product listing i put thumbnails as "product listing style" in both (because every option is duplicate here...)

This is a link to my website (in fact its a website i make for a friend) click here.

I would like to try to re install but the backup from admin didn't work and my last save of the DB from phpmyadmin is too older. If i have no other choise i will use this one. I keep on searching solutions.

 

Thanks for your help.

Share this post


Link to post
Share on other sites

Bonjour,

La contribution est vraiment super, merci. Mon anglais trop mauvais... sorry..

 

J'aimerai ajouter la possibilité de voir l'image de product_info lorsque je passe

en Mouse over sur la liste..

 

Le script de "http://www.walterzorn.com/tooltip/tooltip_e.htm#download"

fonctionne bien, mais je n'arrive pas à l'insérer correctement dans "Product_listing.php"...

(vers la ligne 287). Pouvez-vous m'aider ??

Par avance Merci !

Share this post


Link to post
Share on other sites
Bonjour,

La contribution est vraiment super, merci. Mon anglais trop mauvais... sorry..

 

J'aimerai ajouter la possibilité de voir l'image de product_info lorsque je passe

en Mouse over sur la liste..

 

Le script de "http://www.walterzorn.com/tooltip/tooltip_e.htm#download"

fonctionne bien, mais je n'arrive pas à l'insérer correctement dans "Product_listing.php"...

(vers la ligne 287). Pouvez-vous m'aider ??

Par avance Merci !

 

Vraiment désolé pour ce post très approximatif...

Entre temps j'ai trouvé la solution que je cherchais.

A savoir: dans product_listing, sur l'évenement "OnMouseOver"

voir une image plus grande (exemple la photo de product_info).

 

Merci quand même et désolé encore pour le dérangement ! ;)

Share this post


Link to post
Share on other sites

For the non french speakers he is asking about a tool tip type larger image on mouse over

 

The solution he used is javascript, I always avoid script where possible & in this case there is a fairly simple css solution, I will put it up if anyone has a need.


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.

Share this post


Link to post
Share on other sites

I tried it and it worked.

My question, how to put buy now and details icons in the same box with the product thumbnail?

 

Thanks

Edited by mileage

Share this post


Link to post
Share on other sites

If u select grid mode u get that, or is that no good for u?


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.

Share this post


Link to post
Share on other sites
If u select grid mode u get that, or is that no good for u?

 

Currently, I'm using thumbnail listing style, mainly because look clean and attractive.

I've tried looking at the code, but I'm kinda stump.

 

 

thanks

Share this post


Link to post
Share on other sites

change thumbnail button position.

ok, pretty easy change,

 

in product_listing.php find (337)

 

$display .= $borderend . $button;

 

change to:

 

$display .= $button . $borderend;

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.

Share this post


Link to post
Share on other sites
change thumbnail button position.

ok, pretty easy change,

 

in product_listing.php find (337)

 

$display .= $borderend . $button;

 

change to:

 

$display .= $button . $borderend;

 

ah...that was easy....

worked perfectly.

 

I added <br>to make it better

$borderend = (!$grid ? '</td></tr></table><br>' : '');

 

Thank You

Share this post


Link to post
Share on other sites

Hi Sam,

 

I have a small problem which may or may not be linked to this contribution. With the BUY NOW and DETAILS buttons, somebody has just made me aware that the BUY NOW button, in terms of adding the product straight to the shopping cart, doesn't actually work. Instead it just takes the visitor to the same page as the DETAILS button does.

 

However, interestingly, on one category, clicking the BUY NOW button takes the visitor to a YOUR SHOPPING CART IS EMPTY page. Even more interestingly, I have a mirror site running in case the main site goes down for some reason, and on that one, for just the one category that give the empty shopping cart message on the live site, the item is correctly added to the shopping basket straight away. This mirror site is created by copying all catalog files to a different server, and using a backed-up database of the live site, so should effectively be identical.

 

Like I say, this may or may not be linked to this contribution.

 

Regards,

 

Jonathan

 

Edit: One thing I just checked. On both sites, if I log-in, and then move around the site, and then go back to the homepage, I am showing as a GUEST again, and find that I need to log-in again to proceed to checkout. Something else wrong perhaps.

Share this post


Link to post
Share on other sites

The BUY NOW method used on this is exactly the same as the original file, this problem occurs due to changes by other contribs, most commonly seo ones.

 

The BUY NOW action is performed by application_top through the $_GET, some seo cause loss of $_GET hence problem. Also look for any changes that have been made to application_top that could interfere with this.

 

You could add to application_top:

 

   if (PHP_VERSION >= 4.1) $HTTP_GET_VARS =& $_GET;

 

just b4 the

 

// set the HTTP GET parameters manually if search_engine_friendly_urls is enabled

 

Your logged out issue is due to bad on site linking, see http://forums.oscommerce.com/index.php?showtopic=330479


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.

Share this post


Link to post
Share on other sites

Oh dear. Not looking good then. The only add-on that affected application_top.php since installing your contribution was Ultimate Seo Urls v2.7 (23 Mar 2009) coupled with 2008_03_02_SID_KILLER_2.0__505_1. The code you suggested adding to my application_top.php unfortunately didn't make any difference. Still weird that there is one category on my site that acts differently to all the others with the empty cart message.

 

Code changes to application_top.php when installing SID and SEO:

 

 

// Ultimate SEO URLs v2.1
 if ((!defined(SEO_ENABLED)) || (SEO_ENABLED == 'true')) {
   include_once(DIR_WS_CLASSES . 'seo.class.php');
   if ( !is_object($seo_urls) ){
     $seo_urls = new SEO_URL($languages_id);
   }
 }

 

  
 //////////////////////////////////////////////////////////////
if ( ($HTTP_GET_VARS['currency']) ) {
  tep_session_register('kill_sid');
  $kill_sid=false;
 }
if (basename($_SERVER['HTTP_REFERER']) == 'allprods.php' ) $kill_sid = true;
if ( ( !tep_session_is_registered('customer_id') ) && ( $cart->count_contents()==0 ) && (!tep_session_is_registered('kill_sid') ) ) $kill_sid = true;
if ((basename($PHP_SELF) == FILENAME_LOGIN) && ($HTTP_GET_VARS['action'] == 'process') ) $kill_sid = false;
if (basename($PHP_SELF) == FILENAME_CREATE_ACCOUNT_PROCESS) $kill_sid = false;
// Uncomment line bellow to disable SID Killer
// $kill_sid = false; 
//////////////////////////////////////////////////////////////

 

  
 require_once(DIR_WS_CLASSES . 'preventDuplicates.php');
 $preventDuplicates = new preventDuplicates();

 

As for my log-in problems, as mentioned above, I have installed SID KILLER. I have checked my configure.php file, too, and nothing seems awry in terms of cookies.

 

Thanks for replying, Sam.

Share this post


Link to post
Share on other sites

Something interesting I have just noticed. If I click the DETAILS button, I am taken to the Product page, and no osCsid code is present in the url. However, if I click the BUY NOW button for the same product, the url contains an osCsid number.

Share this post


Link to post
Share on other sites

This contrib uses tep_href_link for all links, that function will only add the sid to the url if it is required, so it may not appear, however if your seeing 1 with & 1 without its your seo messing with the links causing the issue.

 

YOUR ISSUE IS NOT WITH THIS


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.

Share this post


Link to post
Share on other sites
YOUR ISSUE IS NOT WITH THIS

Thank you, Sam. That is what I needed to establish.

Share this post


Link to post
Share on other sites
how do i install this?

 

follow the instructions included in the package


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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×