in catalog/models/products.py [0:0]
def get_reqd_headings_list(self):
# get list of fields for syncing
headings = [
"id",
"title",
"description",
"rich_text_description",
"availability",
"condition",
"price",
"brand",
"visibility",
"inventory",
"link",
"image_link",
]
# only add to this heading list when it exists
if self.google_product_category != "":
headings.append("google_product_category")
if self.product_group: headings.append("item_group_id")
if self.color: headings.append("color")
if self.gender: headings.append("gender")
if self.material: headings.append("material")
if self.pattern: headings.append("pattern")
if self.size: headings.append("size")
return headings