Add another buy link at the top of the description.
Submitted by mally on Sat, 2007-12-01 19:47 in Price Tapestry
At the minute some of my item descriptions are over a page. Is there a way of showing the buy it button for the cheapest deal at the top of the description, aswell as at the bottom?
No problem - it just needs a bit of copying & pasting in html/product.php. In that file, you will find the following code for displaying the description:
Immediate after that code, you will see the section of HTML that displays the "Best Price", enclosed within TABLE tags. Simply take a copy of this code, and paste it in above the description display code as shown above. That will give you 2 copies of the "Best Price" display on the page...
Hi Mally,
No problem - it just needs a bit of copying & pasting in html/product.php. In that file, you will find the following code for displaying the description:
<?php if ($mainProduct["description"]): ?>
<p><?php print $mainProduct["description"]; ?></p>
<?php endif; ?>
Immediate after that code, you will see the section of HTML that displays the "Best Price", enclosed within TABLE tags. Simply take a copy of this code, and paste it in above the description display code as shown above. That will give you 2 copies of the "Best Price" display on the page...
Cheers,
David.