What I'm trying to say is if the product quantity is 0, the the description must read: <p>This product is not in stock with us and will need to be ordered for you. Please contact us before ordering to check if stock is available.</p> and then place the product's description, which is .html_entity_decode($product['description']) . It has to have .html_entity_decode($product['description']) as it needs to decode the htnl for the feed system.
This is my code so far with the values:
Code: Select all
if (($product['quantity']) == '0') {
$product['description'] = . echo "This is a product." .html_entity_decode($product['description'] . ;
}