You are here:  » Merge Reviews in Products

Support Forum



Merge Reviews in Products

Submitted by chrisst1 on Thu, 2012-02-16 15:02 in

Hi David

I've been trying to combine reviews and products on one page, do you have an unmodified copy of a merged page you could email me?

Thanks

Chris

Submitted by support on Thu, 2012-02-16 15:23

Hello Chris,

Sure - i've just posted a mod to the more downloads page based on the latest distribution files from 12/10A/B.

.zip contains

products.php
includes/tapestry.php

Existing links to "Review This Product" etc. now link to an on-page anchor link #reviews which is output immediately prior to require("html/ratings.php");

Cheers,
David.
--
PriceTapestry.com

Submitted by chrisst1 on Thu, 2012-02-16 15:59

Thanks David

Will download and have a look.

Chris

Submitted by chrisst1 on Fri, 2012-02-17 11:07

Morning David

All worked fine however in IE9 the related products (set to 3) seems to produce 3 populated related and 1 blank as can be seen here

{link saved}

Tested in Firefox and older Explorer and it works correctly.

Any ideas

Chris

Submitted by support on Fri, 2012-02-17 11:40

Hi Chris,

Is this only since uploading the merged version? The HTML looks fine (at least as far as only containing 3 related product sections)... unfortunately I don't have IE9 available today as i'm working mobile at the moment - could you perhaps grab a screenshot showing the layout problem and I'll check it out...

Cheers,
David.
--
PriceTapestry.com

Submitted by chrisst1 on Fri, 2012-02-17 12:03

Sent you email David

Submitted by chrisst1 on Fri, 2012-02-17 14:59

Hi David

All fixed. The line below in product.php needed a closing </a>

print "<a name='#reviews' />";require("html/ratings.php");

to

print "<a name='#reviews'></a>";require("html/ratings.php");

Chris

Submitted by support on Fri, 2012-02-17 15:27

Thanks Chris - yes probably safest to use the separate closing tag rather than XHTML shorthand version - will update in the download.

Cheers,
David.
--
PriceTapestry.com