Jump to content


Corporate Sponsors


Latest News: (loading..)

MattReid

Member Since 20 Jan 2010
Offline Last Active Feb 20 2012, 15:35
-----

Posts I've Made

In Topic: Derive category cPath from product ID ?

26 January 2012, 22:38

:mellow: Blimey, that easy.

I'll retire to work out why that function already existed. Thanks from Cornwall burt!

In Topic: Derive category cPath from product ID ?

26 January 2012, 20:06

Ah, I've spotted the database table products_to_categories. So I want to change this:


<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products['products_id']) . '">


into this:


&product_category_id = tep_db_query( $query )


<a href="' . tep_href_link(FILENAME_DEFAULT, 'cPath=' . $product_category_id) . '">


So all I'm asking is how to define $query, ie: how to find the product's category_id from the table products_to_categories.

In Topic: Derive category cPath from product ID ?

26 January 2012, 15:29

The product listing in question is only on the Home page (catalogue Top). My client wanted the Featured Products add-on there, with one product from each category, selectable from Admin, but he wants them to link to the category rather than the product



I'm just not good enough at php to derive the 101 from the A.

In Topic: Product Listing Enhancements, Thumbnails & Manufacturer Headings

14 August 2011, 11:07

View PostEIF, on 06 May 2010, 17:44, 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.

In Topic: Pure CSS Image Swap On Hover For osC Buttons

14 August 2011, 10:54

Hi. Did anyone ever work out how to resolve the conflict between this add-on and the thumbnail view in Product Listing Enhancements?

So that the 'Buy Now' and 'Details' buttons under each thumbnail can remain level in all browsers after Pure CSS Image Swap is added?