You are here:  » When %EAN% is missing


When %EAN% is missing

Submitted by sydney880 on Sun, 2017-11-19 15:26 in

Hi,

For a feed, I have added a filter to add " - %EAN%" to the end of each product name which works well. But for a few of the products in the feed the EAN number is missing so the product name gets displayed like "Product Name - %EAN%"

Is there a way for this not to display if the variable is empty?

Thanks

Submitted by support on Mon, 2017-11-20 09:15

Hello Sydney,

Easiest thing to do would be to remove it with a Search and Replace filter in sequence after the Text After filter, using search:

 - %EAN%

(note leading space)

...and leave replace blank to remove...

Cheers,
David.
--
PriceTapestry.com