d1m007 / gshoppingflux

PrestaShop Google Shopping Flux Module
100 stars 61 forks source link

description type field fallback #99

Open Joduai opened 3 years ago

Joduai commented 3 years ago

Hi I've run into a problem while trying to optimize a bit my friend's online store. Basically this module allows to take description from: long product desc field, short one and meta tag But when a particular product doesn't have long or short description (depends on product type) the field is empty and g.merchant yells about lack of description.

Would you consider adding a fallback option that fills description using other field if chosen one is empty for such product? For example: I set the option to use long description. Some products might have this field not filled at all. But we still have short description filled, thus when long desc is empty for such product then the short desc is taken as a fallback.