Product Listing Enhancements, Thumbnails & Manufacturer Headings
#1861
Posted 21 June 2011 - 07:30 AM
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
Posted 21 June 2011 - 09:56 AM
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
Posted 21 June 2011 - 01:53 PM
Any help on this would be much appreciated.
#1864
Posted 14 August 2011 - 11:07 AM
EIF, on 06 May 2010 - 05:44 PM, said:
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
Posted 02 September 2011 - 06:29 AM
Thanks
#1866
Posted 12 September 2011 - 03:27 PM
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
Posted 29 October 2011 - 12:56 PM
Thanks in advance,
#1868
Posted 17 November 2011 - 12:25 PM
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
Posted 28 February 2012 - 08:46 PM
Anyone knows how to fix it? I have attached and image with the issue.
Cheers!
Attached Files
#1870
Posted 28 February 2012 - 08:47 PM
a2zfashions, on 29 October 2011 - 12:56 PM, said:
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
Posted 20 March 2012 - 08:33 AM
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
Posted 20 March 2012 - 04:40 PM
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> ';
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> ';
line 100:
$display_links_string .= ' <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> ';
becomes:
$display_links_string .= ' <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> ';
line 107,108:
// next button if (($this->current_page_number < $this->number_of_pages) && ($this->number_of_pages != 1)) $display_links_string .= ' <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> ';
becomes:
// next button if (($this->current_page_number < $this->number_of_pages) && ($this->number_of_pages != 1)) $display_links_string .= ' <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> ';
Hopefully I didn't miss anything
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
Posted 21 March 2012 - 06:40 AM
spooks, on 20 March 2012 - 04:40 PM, said:
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> ';
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> ';
line 100:
$display_links_string .= ' <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> ';
becomes:
$display_links_string .= ' <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> ';
line 107,108:
// next button if (($this->current_page_number < $this->number_of_pages) && ($this->number_of_pages != 1)) $display_links_string .= ' <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> ';
becomes:
// next button if (($this->current_page_number < $this->number_of_pages) && ($this->number_of_pages != 1)) $display_links_string .= ' <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> ';
Hopefully I didn't miss anything
Thanks Sam!
#1874
Posted 21 March 2012 - 09:15 PM
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?
#1875
Posted 21 March 2012 - 09:34 PM
Have you read the section on usage in the docs, things like 'Product Listing Per Row'
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
Posted 21 March 2012 - 09:50 PM
After installation the products boxes look like this (quite messy):
Untitled-1.jpg 123.88K
13 downloadsI 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.
#1877
Posted 21 March 2012 - 10:08 PM
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.
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
Posted 21 March 2012 - 10:40 PM
How can I make the products appear in ideal squares (e.g. 125x125px)
Untitled2.jpg 118.93K
16 downloadsAnd 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.
#1879
Posted 21 March 2012 - 10:53 PM
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.
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.










