Hi
On product page can be possible to fetch title,description and Title from particular Feed only .
Example :
Feed 1 Feed 2 Feed 3 (get title,images and Description from this feed : whatever price minimum or not) feed 4 feed 5
Hi,
Yes you can do this!
In html/product.php (I know you are using a customised file but you will find the same line) look for this code at line 2:
<?php $mainProduct = $product["products"][0]; ?>
...and REPLACE with:
<?php $mainProduct = $product["products"][0]; foreach($product["products"] as $v) { if ($v["filename"] == "Feed 3") { $mainProduct["name"] = $v["name"]; $mainProduct["image_url"] = $v["image_url"]; $mainProduct["description"] = $v["description"]; } } ?>
(change Feed 3 to the filename of the feed that you want to take the details from)
Cheers, David. -- PriceTapestry.com
©2006-2025 IAAI Software | Contact Us | Privacy Policy
Hi,
Yes you can do this!
In html/product.php (I know you are using a customised file but you will find the same line) look for this code at line 2:
<?php $mainProduct = $product["products"][0]; ?>
...and REPLACE with:
<?php
$mainProduct = $product["products"][0];
foreach($product["products"] as $v)
{
if ($v["filename"] == "Feed 3")
{
$mainProduct["name"] = $v["name"];
$mainProduct["image_url"] = $v["image_url"];
$mainProduct["description"] = $v["description"];
}
}
?>
(change Feed 3 to the filename of the feed that you want to take the details from)
Cheers,
David.
--
PriceTapestry.com