Hello ,
Could help me by giving some thread that could help me because i m a bit lost...
I generate my feeds myself ( with a php script ) because i work with seller that dont have xml or csv feed.
My feeds look like :
shop name | id product | URL product | price | OPTION 1 | OPTION 2 | OPTION 3
I have understood how setup basic stuff like this and it work good :
----------------------------------------------------------------------------
Stockist--------Catalogue Product Name--Price
Shop name1------id product--------------price----Visit Store ( URL product )
Shop name2------id product--------------price----Visit Store ( URL product )
I would have OPTION1 OPTION2 and OPTION 3 Like this :
----------------------------------------------------------------------------------------------------------------------------
Stockist--------Catalogue Product Name---------OPTION1--OPTION2---OPTION3--------------Price
Shop name1------id product----------------------text1----text2-----text3---------------price-----Visit Store ( URL product )
Shop name2------id product----------------------text1----text2-----text3---------------price-----Visit Store ( URL product )
Thx for giving me the good thread to read and some informations for helping me :)
Maybe that one http://www.pricetapestry.com/node/3094 ? I m not sure because of this :
So to display the keywords after the description field on the product page, look for the following code on line 13 of html/product.php:
<?php
print $mainProduct["description"];
?>
...and REPLACE with:
<?php
print $mainProduct["description"];
?>
<?php
print $mainProduct["keywords"];
?>
after the description field on the product page and how in the price comparison field ?
That must be a newbie question sorry ...
Hello David ,
Sorry do disturb you again but i have a question and i can't find the answer on the forum.
It s about 0.00 prices.
I would like have 0.00 prices in my database ( pt_products => price ) but i want hide the 0.00 prices in the price comparison
Stockist--------Catalogue Product Name---------OPTION1--OPTION2---OPTION3--------------Price
Shop name1------id product----------------------text1----text2-----text3---------------0€-----Visit Store (HIDE)
Shop name2------id product----------------------text1----text2-----text3---------------50€-----Visit Store (show)
When i search in the forum u give solutions for dont import 0.00 prices but for differents reasons i need to import 0.00 prices but i dont want show them :/
Could help me plz ?
Thx.
Hello Greg,
In html/prices.php you'll find this code where the price is displayed:
<?php print $config_currencyHTML.$product["price"]; ?>
...so if you want to display "FREE" if price is 0.00, then REPLACE that line with:
<?php print ($product["price"]!="0.00"?$config_currencyHTML.$product["price"]:"FREE"); ?>
Cheers,
David.
--
PriceTapestry.com
Thx for the quick answer.
I dont want display "free" i want display nothing :
Actually i have this :
Stockist--------Catalogue Product Name---------OPTION1--OPTION2---OPTION3--------------Price
Shop name1------id product----------------------text1----text2-----text3---------------0.00-----Visit Store ( URL product )
Shop name2------id product----------------------text1----text2-----text3---------------50€-----Visit Store ( URL product )
And i want see only that ( skip the line with the 0.00 price )
Stockist--------Catalogue Product Name---------OPTION1--OPTION2---OPTION3--------------Price
Shop name2------id product----------------------text1----text2-----text3---------------50€-----Visit Store ( URL product )
Thx a lot !
Hello Greg,
Ah, I understand! In html/prices.php then look for this code at line 9:
<?php foreach($prices["products"] as $product): ?>
...and REPLACE with:
<?php foreach($prices["products"] as $product): ?>
<?php if ($product["price"]=="0.00") continue; ?>
Cheers,
David.
--
PriceTapestry.com
It work like a charm.
I m really fan of your support.
Thx a lot.
Hello Greg,
http://www.pricetapestry.com/node/3094 is the right place to start, and you need to follow the instructions for each of your new fields option1, option2, option3. Then you will be able to register those fields on Feed Registration Step 2 and import them.
To display them in the Price Comparison table, it is actually html/prices.php that you need to edit. To make the headings, look for the following code at line 5:
<th align='left'><?php print translate("Catalogue Product Name"); ?></th>
...and REPLACE with:
<th align='left'><?php print translate("Catalogue Product Name"); ?></th>
<th align='left'>Option 1</th>
<th align='left'>Option 2</th>
<th align='left'>Option 3</th>
And to display the values, look for the following code at line 12:
<td><?php print $product["original_name"]; ?></td>
...and REPLACE with:
<td><?php print $product["original_name"]; ?></td>
<td><?php print $product["option1"]; ?></td>
<td><?php print $product["option2"]; ?></td>
<td><?php print $product["option3"]; ?></td>
Hope this helps!
Cheers,
David.
--
PriceTapestry.com