Hi David
I have modified a PT installation (version 11/09A) to match my wordpress template and have adjusted the various scripts to modify the product page because it is unlikely I'll ever have the same product from 2 or more merchants - hence the price comparison aspect is redundant.
However, there are two 'banner' headings remaining and I can't figure out which script is calling these onto the page?
Here's an example:
{link saved}
The two headings I would like to remove are:
Main Heading: "Price search results for Autograph Long Sleeve Panelled Cocoon Coat"
and
Heading below image: "Autograph Long Sleeve Panelled Cocoon Coat Prices"
Hope that makes sense?
Cheers
Darren
Thanks David
Sorry for the confusion - the first one works a treat but for the second one I meant the other H2 just above the table heading.
I think I've sussed it by removing the first line in prices.php
<?php
print $mainProduct["name"];
?>
It seems to work OK?
Thanks again and all the best for the new year :)
Darren
Looks good - HNY to you too!
Cheers,
David.
--
PriceTapestry.com
Hi Darren,
They're from different files - the first is created by html/banner.php, but rather than change that file, instead edit products.php and look for the following code at around line 107:
require("html/banner.php");
...and either comment out or delete that line.
The second (the main heading for a product page) is within html/product.php, at line 11 in the distribution:
<h3><a href='<?php print tapestry_buyURL($mainProduct); ?>' <?php print javascript_statusBar(translate("go to")." ".$mainProduct["merchant"]); ?>><?php print $mainProduct["name"]; ?></a></h3>
Hope this helps!
Cheers,
David.
--
PriceTapestry.com