**Project Description: Automating Shopify Products with ChatGPT**

**Objective:**
We aim to develop a Python script that leverages ChatGPT and Google Translate to automatically update product information in Shopify. This script should ensure that product titles, descriptions, tags, categories, and all relevant metafields are correctly and consistently filled based on the product images and descriptions.

**Features:**

**Generate Product Titles:**

– ChatGPT should generate product titles following this structure:
  – Product Type: What the item is.
  – Style or Collection: Especially if it’s part of a collection.
  – Key Features: Color, material, special characteristics.
  – Season or Occasion: For example, "Summer Dress – Bohemian Blue – Light Cotton – Ideal for the Beach."
– These titles should be generated based on the product image and description.

**Fill in Metafields:**

– **MPN and Item Group ID:** These must be unique for each product but should match each other within the same product. Example:
  – For Product A: If the MPN is "AA11," the Item Group ID should also be "AA11."
  – For Product B: If the MPN is "AA13," the Item Group ID should also be "AA13."
  – Each product combination (MPN and Item Group ID) must be unique, but the values must match within the same product.
– **Pattern:** ChatGPT should determine the pattern on the product based on the image. If no pattern can be detected, it should automatically be set to "Plain."
– **Material:** ChatGPT should identify and fill in the material of the product. If the material cannot be identified, "Cotton" should automatically be filled in.
– **Product Highlights:** ChatGPT should generate multiple highlights based on the product description, e.g., "Highly acclaimed for its exceptional durability and stylish design, making it a favorite choice among discerning clients."
– **Gender:** ChatGPT should determine whether the product is for men, women, or unisex by reading the description and image.
– **Age Group:** This field should be filled in with "adult" for every product.
– All metafields should be filled in English.

**Generate Tags:**

– ChatGPT should generate at least 5 tags for each product based on the product information and image.

**Assign Categories:**

– ChatGPT should determine which category the product falls into by analyzing the product image and description, and place the product in the appropriate Shopify category.

**Translation to Danish:**

– Google Translate should be used to translate the generated product titles, descriptions, and tags into Danish. The translations must be accurate and contextually correct.

**Validation and Review:**

– After all data is filled in, ChatGPT should perform a final check to ensure that all fields are correctly filled in and that there are no errors.

**Technical Requirements:**

– **Shopify API:** The script must have access to the Shopify API to retrieve and update products.
– **ChatGPT API:** Use the ChatGPT API for generating titles, descriptions, tags, and for determining categories, patterns, and other metafields.
– **Google Translate API:** For translating titles, descriptions, and tags into Danish.

**Important:**

– The script must be robust and error-resistant. There should be clear error messages and logic to handle issues such as API limits or incomplete data.
– It should be easy to extend or modify the script for future updates or changes in product requirements.

Budget: $250

Posted On: August 14, 2024 20:13 UTC
Category: Full Stack Development
Skills:AI Bot, Python, API

Country: Netherlands

click to apply

Powered by WPeMatico