Do not update Shopify product with empty product description
Closes #13963
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
* Do not update empty product description
|
||||
* Remove support for Python 3.8
|
||||
* Add support for Python 3.13
|
||||
|
||||
|
||||
@@ -106,7 +106,8 @@ class Template(IdentifiersMixin, metaclass=PoolMeta):
|
||||
if product is None:
|
||||
product = shopify.Product()
|
||||
product.title = self.name
|
||||
product.body_html = self.web_shop_description
|
||||
if self.web_shop_description:
|
||||
product.body_html = self.web_shop_description
|
||||
options = []
|
||||
for attribute in self.shopify_attributes:
|
||||
options.append({'name': attribute.string})
|
||||
|
||||
Reference in New Issue
Block a user