Do not update Shopify product with empty product description

Closes #13963
This commit is contained in:
Cédric Krier
2025-04-04 00:37:39 +02:00
parent fff5663ae1
commit d169592a30
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -1,3 +1,4 @@
* Do not update empty product description
* Remove support for Python 3.8
* Add support for Python 3.13
+2 -1
View File
@@ -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})