The idea of the datafeeds configuration is that you can map the different names from the
feedsinto consistent
database fields of the Selectx
So consider the shipping cost in the feeds that might be 'fromprice' 'shipping' 'shippingcost' or whatever.
For each feed map it to the field (for example) 'Select7' and on the front end you can always access the shipping costs using $item
So first step is to make a plan on how to map for example for fashion:
Select1 - Gender
Select2 - Type
Select3 - Sub Type
Select7 - Shipping costs
Select8 - Color
Select9 - Brand
if you can't map a field from the feed to the database leave it blank.
Whether to add the 'shipping' costs as a Select field or a List depends on your purpose. with a List the value is always attached to the description
list:
this is the description
using a Select field you can display the value anywhere in your layout.
Code:
$product_price=$item['Prijs'];
$product_shipping=$item['Select7'];
if ( $product_price > 0 ) {
echo '<p class="price">';
echo '<span class="price">'.
money_format('%!.2n', $product_price).'</span></p>';
if ( $product_shipping > 0 ) {
echo '<span class="ship">Shipping: '.
money_format('%!.2n', $product_price).'</span></p>';
}
echo '</p>';
}
( removed some duplicate posts from you, no offence)