onmymac
01-25-2005, 01:19 PM
I am using the AWS code from this web site, thank you. I have it running and operational. Took me a while to figure some things out but now it seems to operate well, along with cache system.
Please, I have a couple of questions, hope there is assistance available.
I would like to replace the standard <title></title> with the name of the product that is returned in the product.php script. How can I do this or is it possible, it is just a variable right. I've tried a couple of things but result is blank.
Also there is much more information on amazon about particular products. Can i just create the variables based on that information to expand it?
There is info like Features, Related, Accessories or Product Description
From the Manufacturer.
Where do i dig in to find and display this information.
ie.
This describes a variable which returns product name
elseif($d_ar[$j]['tag'] == 'ProductName') {$ProductName = $d_ar[$j]['value'];}
So if there is a variable renamed like this
elseif($d_ar[$j]['tag'] == 'Department') {$Department = $d_ar[$j]['value'];}
Would this return the Amazon Department name? I tried it in product.php does not work. I included the display portion down in html section like this <h4><?=$Department?></h4>
If I do this kind of variable assignment do I do this in every file or just the product.php file.
I'm not too worried about those little stars but I found code for them up here on this site... so where do i place that code? Can the stars show in product.php and browse.php?
Any guidance appreciated.
regards
onmymac
Please, I have a couple of questions, hope there is assistance available.
I would like to replace the standard <title></title> with the name of the product that is returned in the product.php script. How can I do this or is it possible, it is just a variable right. I've tried a couple of things but result is blank.
Also there is much more information on amazon about particular products. Can i just create the variables based on that information to expand it?
There is info like Features, Related, Accessories or Product Description
From the Manufacturer.
Where do i dig in to find and display this information.
ie.
This describes a variable which returns product name
elseif($d_ar[$j]['tag'] == 'ProductName') {$ProductName = $d_ar[$j]['value'];}
So if there is a variable renamed like this
elseif($d_ar[$j]['tag'] == 'Department') {$Department = $d_ar[$j]['value'];}
Would this return the Amazon Department name? I tried it in product.php does not work. I included the display portion down in html section like this <h4><?=$Department?></h4>
If I do this kind of variable assignment do I do this in every file or just the product.php file.
I'm not too worried about those little stars but I found code for them up here on this site... so where do i place that code? Can the stars show in product.php and browse.php?
Any guidance appreciated.
regards
onmymac